Thanks for sharing the bug. The reason why it occurs after v5.11 is that the i2c-designware support for Alder Lake -S came to v5.12 and issue is hiding before it.Running Manjaro on a Gigabyte B660M DS3H DDR4 with custom 5.17 kernel. Confirmed on other distributions and kernels back to 5.12; issue is not present on most recent 5.11 kernel. dmesg traceback points to i2c DesignWare driver, specifically drivers/i2c/busses/i2c-designware-master.c:369. It seems the msgs struct passed in to i2c_dw_xfer_msg is null.
Similar issue seems to be reported here: https://lore.kernel.org/lkml/YY5BRrE8bLyvd3PB@xxxxxxxxxxxxxxxxxx/t/
lspci output: https://pastebin.com/MwFM2VBJ
dmesg from crashed kernel: https://pastebin.com/t6GsHjkq
kernel config: https://pastebin.com/awrSve5u
Could somebody take a look into this? Or was this discussed somewhere
else already? Or even fixed?
Anyway, to get this tracked:
#regzbot introduced: v5.11..v5.12
#regzbot from: Samuel Clark <slc2015@xxxxxxxxx>
#regzbot title: i2c: designware: Null pointer exception on resume from S3
#regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=215907