regressions.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* regression: Null pointer exception on resume from S3 with i2c DesignWare driver
@ 2022-05-05  9:52 Thorsten Leemhuis
  2022-05-06  8:44 ` Jarkko Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Leemhuis @ 2022-05-05  9:52 UTC (permalink / raw)
  To: Jarkko Nikula; +Cc: Samuel Clark, linux-i2c, regressions, LKML

Hi, this is your Linux kernel regression tracker.

I noticed a regression report in bugzilla.kernel.org that afaics nobody
acted upon since it was reported about a week ago, that's why I decided
to forward it to the lists and all people that seemed to be relevant. To
quote from https://bugzilla.kernel.org/show_bug.cgi?id=215907 :

> 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@smile.fi.intel.com/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@gmail.com>
#regzbot title: i2c: designware: Null pointer exception on resume from S3
#regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=215907

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I deal with a lot of
reports and sometimes miss something important when writing mails like
this. If that's the case here, don't hesitate to tell me in a public
reply, it's in everyone's interest to set the public record straight.

-- 
Additional information about regzbot:

If you want to know more about regzbot, check out its web-interface, the
getting start guide, and the references documentation:

https://linux-regtracking.leemhuis.info/regzbot/
https://gitlab.com/knurd42/regzbot/-/blob/main/docs/getting_started.md
https://gitlab.com/knurd42/regzbot/-/blob/main/docs/reference.md

The last two documents will explain how you can interact with regzbot
yourself if your want to.

Hint for reporters: when reporting a regression it's in your interest to
CC the regression list and tell regzbot about the issue, as that ensures
the regression makes it onto the radar of the Linux kernel's regression
tracker -- that's in your interest, as it ensures your report won't fall
through the cracks unnoticed.

Hint for developers: you normally don't need to care about regzbot once
it's involved. Fix the issue as you normally would, just remember to
include 'Link:' tag in the patch descriptions pointing to all reports
about the issue. This has been expected from developers even before
regzbot showed up for reasons explained in
'Documentation/process/submitting-patches.rst' and
'Documentation/process/5.Posting.rst'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: regression: Null pointer exception on resume from S3 with i2c DesignWare driver
  2022-05-05  9:52 regression: Null pointer exception on resume from S3 with i2c DesignWare driver Thorsten Leemhuis
@ 2022-05-06  8:44 ` Jarkko Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Nikula @ 2022-05-06  8:44 UTC (permalink / raw)
  To: Thorsten Leemhuis; +Cc: Samuel Clark, linux-i2c, regressions, LKML

Hi

On 5/5/22 12:52, Thorsten Leemhuis wrote:
>> 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@smile.fi.intel.com/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@gmail.com>
> #regzbot title: i2c: designware: Null pointer exception on resume from S3
> #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=215907
> 
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.

Looks like there are suspend/resume issues with i2c-designware on some 
Gigabyte motherboards. I commented in the bugzilla if Samuel can attach 
the ACPI dump there.

Jarkko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-06  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05  9:52 regression: Null pointer exception on resume from S3 with i2c DesignWare driver Thorsten Leemhuis
2022-05-06  8:44 ` Jarkko Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).