linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
@ 2023-09-25 10:55 Thorsten Leemhuis
  2023-09-25 13:25 ` Mario Limonciello
  0 siblings, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2023-09-25 10:55 UTC (permalink / raw)
  To: Mario Limonciello; +Cc: Linux PM, LKML, Linux kernel regressions list

Hi Mario! Did you by chance hear anything about lock-ups on resume with
mainline affecting AMD systems? I'm asking, as s2idle stopped working
for me with 6.6-rc on my Thinkpad T14 G1 (AMD). I'm as of now not sure
exactly when the problem started, as 6.6-rc1 didn't boot for me due to
another regression fixed for -rc2. But 6.6-rc2 was affected and -rc3
still is. Haven't found time for a bisection yet and will unlikely to be
so in the next two or three days, that's why I thought "ask Mario, with
a bit of luck he might be aware of a problem or even a fix".

FWIW, I ran your amd_s2idle.py script, but the machine seems to lock up
hard on resume, so I guess it's not much or help.

https://www.leemhuis.info/files/misc/s2idle_report-6.5.4-2023-09-25.txt
https://www.leemhuis.info/files/misc/s2idle_report-6.6_rc3-2023-09-25.txt

Dmesg for 6.6-rc3 (with a USB-C dock, but problem happens without it, too):
https://www.leemhuis.info/files/misc/dmesg-6.6_rc3

Ciao, Thorsten

#regzbot introduced v6.5..v6.6-rc2

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

* Re: s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
  2023-09-25 10:55 s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD) Thorsten Leemhuis
@ 2023-09-25 13:25 ` Mario Limonciello
  2023-09-25 13:45   ` Thorsten Leemhuis
  0 siblings, 1 reply; 7+ messages in thread
From: Mario Limonciello @ 2023-09-25 13:25 UTC (permalink / raw)
  To: Thorsten Leemhuis; +Cc: Linux PM, LKML, Linux kernel regressions list

On 9/25/2023 05:55, Thorsten Leemhuis wrote:
> Hi Mario! Did you by chance hear anything about lock-ups on resume with
> mainline affecting AMD systems? I'm asking, as s2idle stopped working
> for me with 6.6-rc on my Thinkpad T14 G1 (AMD). 

You're the first report I've heard of this.  I've personally done s2idle 
on 6.6-rc1 + patch to fix the UCSI issue and 6.6-rc2 on a newer model 
(Lenovo Z13).

I haven't checked 6.6-rc3.

> I'm as of now not sure
> exactly when the problem started, as 6.6-rc1 didn't boot for me due to
> another regression fixed for -rc2. But 6.6-rc2 was affected and -rc3
> still is. Haven't found time for a bisection yet and will unlikely to be
> so in the next two or three days, that's why I thought "ask Mario, with
> a bit of luck he might be aware of a problem or even a fix".
> 

For any bisect steps that are failing to boot, I suggest you either 
compile without UCSI support (it shouldn't be critical) or apply

f26a679ed799 ("usb: typec: ucsi: Fix NULL pointer dereference")

> FWIW, I ran your amd_s2idle.py script, but the machine seems to lock up
> hard on resume, so I guess it's not much or help.
> 
> https://www.leemhuis.info/files/misc/s2idle_report-6.5.4-2023-09-25.txt
> https://www.leemhuis.info/files/misc/s2idle_report-6.6_rc3-2023-09-25.txt
> 

Yeah not too much useful stuff here unfortunately.  Can you check 
/var/lib/systemd/pstore to see if you got a traceback for whatever 
caused the problem?

> Dmesg for 6.6-rc3 (with a USB-C dock, but problem happens without it, too):
> https://www.leemhuis.info/files/misc/dmesg-6.6_rc3
> 
> Ciao, Thorsten
> 
> #regzbot introduced v6.5..v6.6-rc2

Being G1, can you try "amdgpu.mcbp=0" on kernel command line?


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

* Re: s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
  2023-09-25 13:25 ` Mario Limonciello
@ 2023-09-25 13:45   ` Thorsten Leemhuis
  2023-09-25 17:44     ` Mario Limonciello
  0 siblings, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2023-09-25 13:45 UTC (permalink / raw)
  To: Mario Limonciello; +Cc: Linux PM, LKML, Linux kernel regressions list

On 25.09.23 15:25, Mario Limonciello wrote:
> On 9/25/2023 05:55, Thorsten Leemhuis wrote:
>> Hi Mario! Did you by chance hear anything about lock-ups on resume with
>> mainline affecting AMD systems? I'm asking, as s2idle stopped working
>> for me with 6.6-rc on my Thinkpad T14 G1 (AMD). 
> You're the first report I've heard of this.

Thx for taking the time and replying.

> Yeah not too much useful stuff here unfortunately.  Can you check
> /var/lib/systemd/pstore to see if you got a traceback for whatever
> caused the problem?

Sadly nothing there.

>> Dmesg for 6.6-rc3 (with a USB-C dock, but problem happens without it,
>> too):
>> https://www.leemhuis.info/files/misc/dmesg-6.6_rc3
> 
> Being G1, can you try "amdgpu.mcbp=0" on kernel command line?

Just tried it, but didn't help.

Guess it bisection time then...

Thx again for your reply. Ciao, Thorsten

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

* Re: s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
  2023-09-25 13:45   ` Thorsten Leemhuis
@ 2023-09-25 17:44     ` Mario Limonciello
  2023-09-27  8:55       ` Linux regression tracking (Thorsten Leemhuis)
  2023-09-27  8:57       ` Thorsten Leemhuis
  0 siblings, 2 replies; 7+ messages in thread
From: Mario Limonciello @ 2023-09-25 17:44 UTC (permalink / raw)
  To: Thorsten Leemhuis; +Cc: Linux PM, LKML, Linux kernel regressions list

On 9/25/2023 08:45, Thorsten Leemhuis wrote:
> On 25.09.23 15:25, Mario Limonciello wrote:
>> On 9/25/2023 05:55, Thorsten Leemhuis wrote:
>>> Hi Mario! Did you by chance hear anything about lock-ups on resume with
>>> mainline affecting AMD systems? I'm asking, as s2idle stopped working
>>> for me with 6.6-rc on my Thinkpad T14 G1 (AMD).
>> You're the first report I've heard of this.
> 
> Thx for taking the time and replying.
> 
>> Yeah not too much useful stuff here unfortunately.  Can you check
>> /var/lib/systemd/pstore to see if you got a traceback for whatever
>> caused the problem?
> 
> Sadly nothing there.
> 
>>> Dmesg for 6.6-rc3 (with a USB-C dock, but problem happens without it,
>>> too):
>>> https://www.leemhuis.info/files/misc/dmesg-6.6_rc3
>>
>> Being G1, can you try "amdgpu.mcbp=0" on kernel command line?
> 
> Just tried it, but didn't help.
> 
> Guess it bisection time then...
> 
> Thx again for your reply. Ciao, Thorsten

FWIW your email prompted me to double check the two other Lenovo systems 
I have on hand at my desk:
* P14s Gen 1
* L14 Gen2a

One of them had a Ubuntu userspace (20.04 IIRC) and the other a Fedora 
38.  I built 6.6-rc3 and couldn't reproduce any issues with s2idle.

So yes; bisect is the next step, thanks.

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

* Re: s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
  2023-09-25 17:44     ` Mario Limonciello
@ 2023-09-27  8:55       ` Linux regression tracking (Thorsten Leemhuis)
  2023-09-27  8:57       ` Thorsten Leemhuis
  1 sibling, 0 replies; 7+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2023-09-27  8:55 UTC (permalink / raw)
  To: Mario Limonciello; +Cc: Linux PM, LKML, Linux kernel regressions list

On 25.09.23 19:44, Mario Limonciello wrote:
> On 9/25/2023 08:45, Thorsten Leemhuis wrote:
>> On 25.09.23 15:25, Mario Limonciello wrote:
>>> On 9/25/2023 05:55, Thorsten Leemhuis wrote:
>>>> Hi Mario! Did you by chance hear anything about lock-ups on resume with
>>>> mainline affecting AMD systems? I'm asking, as s2idle stopped working
>>>> for me with 6.6-rc on my Thinkpad T14 G1 (AMD).
>>> You're the first report I've heard of this.
>> Thx for taking the time and replying.
> [...]
> FWIW your email prompted me to double check the two other Lenovo systems
> I have on hand at my desk:
> * P14s Gen 1
> * L14 Gen2a
> 
> One of them had a Ubuntu userspace (20.04 IIRC) and the other a Fedora
> 38.  I built 6.6-rc3 and couldn't reproduce any issues with s2idle.
> 
> So yes; bisect is the next step, thanks.

Thx again for your work. Turns out it was



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

* Re: s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
  2023-09-25 17:44     ` Mario Limonciello
  2023-09-27  8:55       ` Linux regression tracking (Thorsten Leemhuis)
@ 2023-09-27  8:57       ` Thorsten Leemhuis
  2023-09-27 13:13         ` Mario Limonciello
  1 sibling, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2023-09-27  8:57 UTC (permalink / raw)
  To: Mario Limonciello; +Cc: Linux PM, LKML, Linux kernel regressions list

[one more time, please ignore the previous message]

On 25.09.23 19:44, Mario Limonciello wrote:
> On 9/25/2023 08:45, Thorsten Leemhuis wrote:
>> On 25.09.23 15:25, Mario Limonciello wrote:
>>> On 9/25/2023 05:55, Thorsten Leemhuis wrote:
>>>> Hi Mario! Did you by chance hear anything about lock-ups on resume with
>>>> mainline affecting AMD systems? I'm asking, as s2idle stopped working
>>>> for me with 6.6-rc on my Thinkpad T14 G1 (AMD).
>>> You're the first report I've heard of this.
>> Thx for taking the time and replying.
> [...]
> FWIW your email prompted me to double check the two other Lenovo systems
> I have on hand at my desk:
> * P14s Gen 1
> * L14 Gen2a
> 
> One of them had a Ubuntu userspace (20.04 IIRC) and the other a Fedora
> 38.  I built 6.6-rc3 and couldn't reproduce any issues with s2idle.
> 
> So yes; bisect is the next step, thanks.

Thx again for your work.

FWIW, turned out the problem is caused by 92e24e0e57f72e ("Input:
psmouse - add delay when deactivating for SMBus mode"). Guess it's a
timing issue. Reported it in a new thread:

#regzbot dup-of:
https://lore.kernel.org/regressions/ca0109fa-c64b-43c1-a651-75b294d750a1@leemhuis.info/

Ciao, Thorsten





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

* Re: s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD)
  2023-09-27  8:57       ` Thorsten Leemhuis
@ 2023-09-27 13:13         ` Mario Limonciello
  0 siblings, 0 replies; 7+ messages in thread
From: Mario Limonciello @ 2023-09-27 13:13 UTC (permalink / raw)
  To: Linux regressions mailing list; +Cc: Linux PM, LKML

On 9/27/2023 03:57, Thorsten Leemhuis wrote:
> [one more time, please ignore the previous message]
> 
> On 25.09.23 19:44, Mario Limonciello wrote:
>> On 9/25/2023 08:45, Thorsten Leemhuis wrote:
>>> On 25.09.23 15:25, Mario Limonciello wrote:
>>>> On 9/25/2023 05:55, Thorsten Leemhuis wrote:
>>>>> Hi Mario! Did you by chance hear anything about lock-ups on resume with
>>>>> mainline affecting AMD systems? I'm asking, as s2idle stopped working
>>>>> for me with 6.6-rc on my Thinkpad T14 G1 (AMD).
>>>> You're the first report I've heard of this.
>>> Thx for taking the time and replying.
>> [...]
>> FWIW your email prompted me to double check the two other Lenovo systems
>> I have on hand at my desk:
>> * P14s Gen 1
>> * L14 Gen2a
>>
>> One of them had a Ubuntu userspace (20.04 IIRC) and the other a Fedora
>> 38.  I built 6.6-rc3 and couldn't reproduce any issues with s2idle.
>>
>> So yes; bisect is the next step, thanks.
> 
> Thx again for your work.
> 
> FWIW, turned out the problem is caused by 92e24e0e57f72e ("Input:
> psmouse - add delay when deactivating for SMBus mode"). Guess it's a
> timing issue. Reported it in a new thread:
> 
> #regzbot dup-of:
> https://lore.kernel.org/regressions/ca0109fa-c64b-43c1-a651-75b294d750a1@leemhuis.info/
> 
> Ciao, Thorsten
> 
> 
> 
> 

Sounds good, thanks for letting me know.

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

end of thread, other threads:[~2023-09-27 13:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25 10:55 s2idle stopped working with 6.6-rc on Thinkpad T14 G1 (AMD) Thorsten Leemhuis
2023-09-25 13:25 ` Mario Limonciello
2023-09-25 13:45   ` Thorsten Leemhuis
2023-09-25 17:44     ` Mario Limonciello
2023-09-27  8:55       ` Linux regression tracking (Thorsten Leemhuis)
2023-09-27  8:57       ` Thorsten Leemhuis
2023-09-27 13:13         ` Mario Limonciello

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).