snd_intel_dsp_driver_probe page fault on linux 6.2

Bug #2039747 reported by Birgit Edel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-hwe-6.2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Workaround snd_intel_dspcfg.dsp_driver=1 allows sound output, did not investigate further.

Saw some upstream work mentioning "DSPless" mode that sounds like this might become relevant on 6.5 again.
Recent 6.5 report where DSP detect worked, but sound did not: LP: #2039320

Note that kvm_intel was loaded, also:
/sys/class/firmware-attributes/thinklmi/attributes/KernelDMAProtection/current_value:Enable
/sys/class/firmware-attributes/thinklmi/attributes/MicrophoneAccess/current_value:Disable
/sys/class/firmware-attributes/thinklmi/attributes/IntegratedAudioAccess/current_value:Enable
/sys/class/firmware-attributes/thinklmi/attributes/SGXControl/current_value:Disable

(in case some tool refuses parsing the dmesg cutout: I left the inserted "rmi4_smbus" message untouched)

DMAR: IOMMU enabled
SMT: disabled
microcode: Microcode Update Driver: v2.2.
[..]
snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
BUG: unable to handle page fault for address: ffffa412796b5325
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 100000067 P4D 100000067 PUD 0
Oops: 0000 [#1] PREEMPT SMP NOPTI
CPU: 1 PID: 698 Comm: systemd-udevd Not tainted 6.2.0-36-generic #37~22.04.1-Ubuntu
Hardware name: LENOVO 20S00005GE/20S00005GE, BIOS N2XET39W (1.29 ) 07/25/2023
RIP: 0010:intel_nhlt_has_endpoint_type+0x2a/0x60 [snd_intel_dspcfg]
Code: 0f 1f 44 00 00 55 48 89 e5 48 85 ff 74 35 48 8d 47 25 0f b6 7f 24 85 ff 74 29 31 d2 eb 0c 8b 08 83 c2 01 48 01 c8 39 fa 74 19 <40> 38 70 04 75 ee b8 01 00 00 00 5d>
RSP: 0018:ffffa41200b778e0 EFLAGS: 00010297
RAX: ffffa412796b5321 RBX: ffff889c8187d810 RCX: 00000000796802fc
RDX: 0000000000000001 RSI: 0000000000000002 RDI: 00000000000000a7
RBP: ffffa41200b778e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffa41200035000
R13: 00000000000002c8 R14: ffff889c819530d0 R15: ffffffffc137c4b0
FS: 00007f3ddea9d8c0(0000) GS:ffff889fce480000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffa412796b5325 CR3: 0000000103d1e003 CR4: 00000000003706e0
Call Trace:
 <TASK>
 ? show_regs+0x72/0x90
 ? __die+0x25/0x80
 ? page_fault_oops+0x79/0x190
 ? search_exception_tables+0x67/0x80
 ? kernelmode_fixup_or_oops+0xb2/0x140
 ? __bad_area_nosemaphore+0x1a5/0x2e0
 ? bad_area_nosemaphore+0x16/0x30
 ? do_kern_addr_fault+0x7b/0xa0
 ? exc_page_fault+0x10f/0x1b0
 ? asm_exc_page_fault+0x27/0x30
 ? intel_nhlt_has_endpoint_type+0x2a/0x60 [snd_intel_dspcfg]
 snd_intel_dsp_driver_probe.part.0+0x232/0x2a0 [snd_intel_dspcfg]
 snd_intel_dsp_driver_probe+0x38/0x70 [snd_intel_dspcfg]
 azx_probe+0x22d/0x4e0 [snd_hda_intel]
 local_pci_probe+0x48/0xb0
 pci_call_probe+0x55/0x190
 pci_device_probe+0x84/0x120
 really_probe+0x1ea/0x450
__driver_probe_device+0x8a/0x190
 driver_probe_device+0x23/0xd0
 __driver_attach+0x10f/0x220
 ? __pfx___driver_attach+0x10/0x10
 bus_for_each_dev+0x80/0xe0
 driver_attach+0x1e/0x30
 bus_add_driver+0x152/0x250
 driver_register+0x83/0x160
 ? __pfx_init_module+0x10/0x10 [snd_hda_intel]
 __pci_register_driver+0x68/0x80
 azx_driver_init+0x23/0xff0 [snd_hda_intel]
 do_one_initcall+0x46/0x240
 ? kmalloc_trace+0x2a/0xb0
 do_init_module+0x52/0x240
 load_module+0xb96/0xd60
 ? kernel_read_file+0x25c/0x2b0
 __do_sys_finit_module+0xcc/0x150
 ? __do_sys_finit_module+0xcc/0x150
 __x64_sys_finit_module+0x18/0x30
 do_syscall_64+0x59/0x90
 ? exit_to_user_mode_prepare+0x3b/0xd0
 ? syscall_exit_to_user_mode+0x38/0x60
 ? do_syscall_64+0x69/0x90
 ? exit_to_user_mode_prepare+0x3b/0xd0
 ? syscall_exit_to_user_mode+0x38/0x60
 ? do_syscall_64+0x69/0x90
 ? do_syscall_64+0x69/0x90
 ? do_syscall_64+0x69/0x90
 ? do_syscall_64+0x69/0x90
 entry_SYSCALL_64_after_hwframe+0x73/0xdd
RIP: 0033:0x7f3dde91ea7d
Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d>
RSP: 002b:00007ffe1ebf2a98 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
RAX: ffffffffffffffda RBX: 00005654c0d70fe0 RCX: 00007f3dde91ea7d
RDX: 0000000000000000 RSI: 00007f3ddeb5c441 RDI: 0000000000000013
RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000002
R10: 0000000000000013 R11: 0000000000000246 R12: 00007f3ddeb5c441
R13: 00005654c0c26000 R14: 0000000000000068 R15: 00005654c0d65bb0
 </TASK>
Modules linked in: snd_hda_intel(+) input_leds snd_intel_dspcfg rapl(+) snd_seq_midi rmi_smbus(+) rmi_core libarc4 snd_intel_sdw_acpi intel_cstate videobuf2_vmalloc snd_>
rmi4_smbus 0-002c: registering SMbus-connected sensor
mtd mc nvram ee1004 snd_seq processor_thermal_rapl mei_me cfg80211 intel_rapl_common snd_seq_device mei intel_pch_thermal intel_soc_dts_iosf snd_timer snd soundcore int>
 rtsx_pci typec_ucsi xhci_pci_renesas video typec wmi pinctrl_cannonlake
CR2: ffffa412796b5325
---[ end trace 0000000000000000 ]---
RIP: 0010:intel_nhlt_has_endpoint_type+0x2a/0x60 [snd_intel_dspcfg]
Code: 0f 1f 44 00 00 55 48 89 e5 48 85 ff 74 35 48 8d 47 25 0f b6 7f 24 85 ff 74 29 31 d2 eb 0c 8b 08 83 c2 01 48 01 c8 39 fa 74 19 <40> 38 70 04 75 ee b8 01 00 00 00 5d>
RSP: 0018:ffffa41200b778e0 EFLAGS: 00010297
RAX: ffffa412796b5321 RBX: ffff889c8187d810 RCX: 00000000796802fc
RDX: 0000000000000001 RSI: 0000000000000002 RDI: 00000000000000a7
RBP: ffffa41200b778e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffa41200035000
R13: 00000000000002c8 R14: ffff889c819530d0 R15: ffffffffc137c4b0
FS: 00007f3ddea9d8c0(0000) GS:ffff889fce480000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffa412796b5325 CR3: 0000000103d1e003 CR4: 00000000003706e0
note: systemd-udevd[698] exited with irqs disabled

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-6.2.0-36-generic 6.2.0-36.37~22.04.1
ProcVersionSignature: Ubuntu 6.2.0-36.37~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Oct 19 01:16:08 2023
InstallationDate: Installed on 2023-08-31 (48 days ago)
InstallationMedia: Ubuntu-Server 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230810)
ProcEnviron:
 LANGUAGE=en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_DK.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-6.2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Birgit Edel (biredel) wrote :
Birgit Edel (biredel)
description: updated
description: updated
affects: linux-signed-hwe-6.2 (Ubuntu) → linux-hwe-6.2 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.