You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SoundWire] Kernel Oops on machine/codec driver remove #3531
Describe the bug
I was attempting to configure the sound card on my Dell XPS 9700 as the mic was not working (speakers work). This resulted in a kernel call trace which I submitted a bug against[1] against my distro.
I distilled the developer's test case so blame me for non-intuitive cruft. There are two conditions which cause the oops - see below.
Just in case, I have captured separately the call trace for each condition.
@looney-loon Can you try and remove the parent PCI device first to see if this helps? this is what we do in our remove/insert tests. I am not sure if we've ever tested removing the machine driver this way.
Can you try and remove the parent PCI device first to see if this helps? this is what we do in our remove/insert tests. I am not sure if we've ever tested removing the machine driver this way.
Activity
plbossart commentedon Mar 21, 2022
@looney-loon Can you try and remove the parent PCI device first to see if this helps? this is what we do in our remove/insert tests. I am not sure if we've ever tested removing the machine driver this way.
plbossart commentedon Mar 21, 2022
For reference, these are the scripts we use:
https://github.com/thesofproject/sof-test/blob/main/tools/kmod/sof_remove.sh
https://github.com/thesofproject/sof-test/blob/main/tools/kmod/sof_insert.sh
soundwire: bus_type: reset pointers on remove and shutdown
soundwire: bus_type: reset pointers on remove and shutdown
plbossart commentedon Mar 22, 2022
I can reproduce the problem, see tentative fix at 8274036 PR #3534
[-]Oops > trying to configure audio[/-][+][SoundWire] Kernel Oops on machine/codec driver remove[/+]pablos-here commentedon Mar 22, 2022
Hi Pierre-Louis,
I just tested the commands above and it works. I'll update the SUSE bug.
Glad the issue netted something productive on your end.
Let me know if you'd like me to close the issue or whether your workflow handles it.
Merci beaucoup!
soundwire: bus_type: reset pointers on remove and shutdown
soundwire: use driver callbacks directly with proper locking
soundwire: use driver callbacks directly with proper locking
soundwire: use driver callbacks directly with proper locking
soundwire: use driver callbacks directly with proper locking
100 remaining items
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks
soundwire: revisit driver bind/unbind and callbacks