[Intel-gfx] [PATCH] ALSA: hda: fix general protection fault in azx_runtime_idle

Kai Vehmanen kai.vehmanen at linux.intel.com
Wed Nov 10 22:15:40 UTC 2021


Hey,

On Wed, 10 Nov 2021, Takashi Iwai wrote:

> On Wed, 10 Nov 2021 22:03:07 +0100, Kai Vehmanen wrote:
> > Fix a corner case between PCI device driver remove callback and
> > runtime PM idle callback.
[...]
> > Some non-persistent direct links showing the bug trigger on
> > different platforms with linux-next 20211109:
> >  - https://intel-gfx-ci.01.org/tree/linux-next/next-20211109/fi-tgl-1115g4/igt@i915_module_load@reload.html
> >  - https://intel-gfx-ci.01.org/tree/linux-next/next-20211109/fi-jsl-1/igt@i915_module_load@reload.html
> > 
> > Notably with 20211110 linux-next, the bug does not trigger:
> >  - https://intel-gfx-ci.01.org/tree/linux-next/next-20211110/fi-tgl-1115g4/igt@i915_module_load@reload.html
> 
> Is this the case with CONFIG_DEBUG_KOBJECT_RELEASE?
> This would be the only logical explanation I can think of for now.

hmm, that doesn't seem to be used. Here's a link to kconfig used in the 
failing CI run:
https://intel-gfx-ci.01.org/tree/linux-next/next-20211109/kconfig.txt

It's still a bit odd, especially given Scott just reported the other HDA 
related regression in 5.15 today. The two issues don't seem to be related 
though, although both are fixed by clearing drvdata (but in different 
places of hda_intel.c).

I'll try to run some more tests tomorrow. The fix should be good in any 
case, but it would be interesting to understand better what change made 
this more (?) likely to hit than before. This is not a new test and the 
problem happens on fairly old platforms, so something has changed.

Br, Kai


More information about the Intel-gfx mailing list