* Resend: Regression in 5467801f1fcbd
[not found] <34212129-bb2e-46d4-4536-28f11b1c61ca@living180.net>
@ 2022-04-25 19:18 ` Daniel Harding
2022-04-25 19:33 ` Shreeya Patel
2022-04-25 20:09 ` Linus Walleij
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Harding @ 2022-04-25 19:18 UTC (permalink / raw)
To: linus.walleij, brgl, shreeya.patel; +Cc: linux-gpio, stable, andy.shevchenko
[Apologies for the original HTML email]
The commit "Restrict usage of GPIO chip irq members before
initialization" breaks suspend on a Dell Inspiron 5515 laptop in a very
severe way. Suspending with this commit present causes the machine to
lock up hard. The only way to recover is to disconnect mains power,
open up the case, disconnect the battery, and hold down the power
button. Bisecting pointed to 2c1fa3614795e2b24da1ba95de0b27b8f6ea4537
in 5.16.20. Testing with the source commit,
5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320 confirmed that it was the one
that introduced the problem. Unfortunately, this commit was backported
to multiple stable kernels: 5.17.3, 5.16.20, 5.15.34, and 5.10.111.
I have not yet done any debugging to determine exactly why this commit
causing things to break, but am happy to try out any fixes over the next
couple of days until I put my laptop back together properly.
Regards,
Daniel Harding
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Resend: Regression in 5467801f1fcbd
2022-04-25 19:18 ` Resend: Regression in 5467801f1fcbd Daniel Harding
@ 2022-04-25 19:33 ` Shreeya Patel
0 siblings, 0 replies; 4+ messages in thread
From: Shreeya Patel @ 2022-04-25 19:33 UTC (permalink / raw)
To: Daniel Harding
Cc: linux-gpio, stable, andy.shevchenko, Mario Limonciello,
Collabora Kernel ML, brgl, linus.walleij
On 26/04/22 00:48, Daniel Harding wrote:
> [Apologies for the original HTML email]
>
> The commit "Restrict usage of GPIO chip irq members before
> initialization" breaks suspend on a Dell Inspiron 5515 laptop in a
> very severe way. Suspending with this commit present causes the
> machine to lock up hard. The only way to recover is to disconnect
> mains power, open up the case, disconnect the battery, and hold down
> the power button. Bisecting pointed to
> 2c1fa3614795e2b24da1ba95de0b27b8f6ea4537 in 5.16.20. Testing with the
> source commit, 5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320 confirmed that
> it was the one that introduced the problem. Unfortunately, this commit
> was backported to multiple stable kernels: 5.17.3, 5.16.20, 5.15.34,
> and 5.10.111.
>
> I have not yet done any debugging to determine exactly why this commit
> causing things to break, but am happy to try out any fixes over the
> next couple of days until I put my laptop back together properly.
>
Hi Daniel,
FYI, The fix for the bug has already been sent by Mario and it has been
picked up by Linus.
https://lore.kernel.org/lkml/20220422131452.20757-2-mario.limonciello@amd.com/
Thanks,
Shreeya Patel
> Regards,
>
> Daniel Harding
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Regression in 5467801f1fcbd
[not found] <34212129-bb2e-46d4-4536-28f11b1c61ca@living180.net>
2022-04-25 19:18 ` Resend: Regression in 5467801f1fcbd Daniel Harding
@ 2022-04-25 20:09 ` Linus Walleij
2022-04-26 6:24 ` Daniel Harding
1 sibling, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2022-04-25 20:09 UTC (permalink / raw)
To: Daniel Harding; +Cc: brgl, shreeya.patel, linux-gpio, stable, andy.shevchenko
Hi Daniel,
On Mon, Apr 25, 2022 at 9:00 PM Daniel Harding <dharding@living180.net> wrote:
> The commit "Restrict usage of GPIO chip irq members before initialization" breaks suspend on a
> Dell Inspiron 5515 laptop in a very severe way.
Does this commit, which is already upstream in Torvald's tree, solve the issue?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpio?id=06fb4ecfeac7e00d6704fa5ed19299f2fefb3cc9
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Regression in 5467801f1fcbd
2022-04-25 20:09 ` Linus Walleij
@ 2022-04-26 6:24 ` Daniel Harding
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Harding @ 2022-04-26 6:24 UTC (permalink / raw)
To: Linus Walleij; +Cc: brgl, shreeya.patel, linux-gpio, stable, andy.shevchenko
On 4/25/22 23:09, Linus Walleij wrote:
> Hi Daniel,
>
> On Mon, Apr 25, 2022 at 9:00 PM Daniel Harding <dharding@living180.net> wrote:
>
>> The commit "Restrict usage of GPIO chip irq members before initialization" breaks suspend on a
>> Dell Inspiron 5515 laptop in a very severe way.
> Does this commit, which is already upstream in Torvald's tree, solve the issue?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpio?id=06fb4ecfeac7e00d6704fa5ed19299f2fefb3cc9
Yes, cherry-picking that commit on top of 5467801f1fcbd fixes the issue
for me. Thank so much for the quick response from you and Shreeya!
Regards,
Daniel Harding
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-26 6:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <34212129-bb2e-46d4-4536-28f11b1c61ca@living180.net>
2022-04-25 19:18 ` Resend: Regression in 5467801f1fcbd Daniel Harding
2022-04-25 19:33 ` Shreeya Patel
2022-04-25 20:09 ` Linus Walleij
2022-04-26 6:24 ` Daniel Harding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.