[Intel-gfx] [PATCH] Revert "ALSA: hda - Drop unsol event handler for Intel HDMI codecs"

Takashi Iwai tiwai at suse.de
Thu Aug 15 19:42:14 UTC 2019


On Thu, 15 Aug 2019 20:15:51 +0200,
Chris Wilson wrote:
> 
> In the recent snd merge of
> 
> ddf7cb83b0f4 ALSA: hda: Unexport a few more stuff
> 53eff75e5f4d ALSA: hda: Drop export of snd_hdac_bus_add/remove_device()
> ee5f85d9290f ALSA: hda: Add codec on bus address table lately
> f2dbe87c5ac1 ALSA: hda - Drop unsol event handler for Intel HDMI codecs
> 
> module unload dies on all a couple of machines with
> 
> <1> [281.912684] BUG: kernel NULL pointer dereference, address: 0000000000000000
> <1> [281.912697] #PF: supervisor read access in kernel mode
> <1> [281.912703] #PF: error_code(0x0000) - not-present page
> <6> [281.912709] PGD 0 P4D 0
> <4> [281.912714] Oops: 0000 [#1] PREEMPT SMP PTI
> <4> [281.912721] CPU: 3 PID: 2842 Comm: i915_module_loa Tainted: G     U            5.3.0-rc4-CI-CI_DRM_6712+ #1
> <4> [281.912730] Hardware name: Hewlett-Packard HP EliteBook 8440p/172A, BIOS 68CCU Ver. F.24 09/13/2013
> <4> [281.912744] RIP: 0010:__list_del_entry_valid+0x25/0x90
> <4> [281.912751] Code: c3 0f 1f 40 00 48 8b 07 48 b9 00 01 00 00 00 00 ad de 48 8b 57 08 48 39 c8 74 26 48 b9 22 01 00 00 00 00 ad de 48 39 ca 74 2e <48> 8b 32 48 39 fe 75 3a 48 8b 50 08 48 39 f2 75 48 b8 01 00 00 00
> <4> [281.912767] RSP: 0018:ffffc9000072bca8 EFLAGS: 00010217
> <4> [281.912774] RAX: 0000000000000000 RBX: ffff88812f8933f8 RCX: dead000000000122
> <4> [281.912782] RDX: 0000000000000000 RSI: ffff88812f8933f8 RDI: ffff88812f8938a8
> <4> [281.912789] RBP: ffff88812e7ce7e8 R08: 0000000000000000 R09: 0000000000000000
> <4> [281.912796] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88812f8938a8
> <4> [281.912803] R13: ffff88812c8722a8 R14: ffffc9000072bf08 R15: ffff888129761df8
> <4> [281.912811] FS:  00007fb4913a9e40(0000) GS:ffff888133b80000(0000) knlGS:0000000000000000
> <4> [281.912819] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> <4> [281.912826] CR2: 0000000000000000 CR3: 000000012867a000 CR4: 00000000000006e0
> <4> [281.912833] Call Trace:
> <4> [281.912844]  snd_hdac_bus_remove_device+0x2e/0xb0 [snd_hda_core]
> <4> [281.912854]  snd_hdac_device_exit+0x31/0x60 [snd_hda_core]
> <4> [281.912866]  snd_hda_codec_dev_release+0x24/0x50 [snd_hda_codec]
> <4> [281.912876]  device_release+0x22/0x80
> <4> [281.912883]  kobject_put+0x86/0x1b0
> <4> [281.912891]  snd_hda_codec_dev_free+0x5c/0x60 [snd_hda_codec]
> <4> [281.912899]  __snd_device_free+0x4a/0x80
> <4> [281.912904]  snd_device_free_all+0x36/0x90
> <4> [281.912911]  release_card_device+0x14/0x60
> <4> [281.912917]  device_release+0x22/0x80
> <4> [281.912923]  kobject_put+0x86/0x1b0
> <4> [281.912928]  snd_card_free+0x60/0x90
> <4> [281.912939]  pci_device_remove+0x36/0xb0
> <4> [281.912946]  device_release_driver_internal+0xd3/0x1b0
> <4> [281.912953]  unbind_store+0xc3/0x120
> <4> [281.912962]  kernfs_fop_write+0x104/0x190
> <4> [281.912971]  vfs_write+0xbd/0x1d0
> <4> [281.912977]  ksys_write+0x8f/0xe0
> <4> [281.912984]  do_syscall_64+0x55/0x1c0
> 
> Cc: Takashi Iwai <tiwai at suse.de>

Gah, that's a breakage by the commit ee5f85d9290f ("ALSA: hda: Add
codec on bus address table lately").  Please revert it in your tree,
I'll do it same on sound git tree now.


thanks,

Takashi


More information about the Intel-gfx mailing list