Upstream kernel commit 5467801f1fcbdc46bc7298a84dbf3ca1ff2a7320 causes a severe regression on certain laptop models. When the affected systems are suspended, they essentially become bricked. On my laptop, a Dell Inspiron 5515, the only way to recover was to open up the case, disconnect the internal battery, and hold down the power button. The broken commit was backported to the following stable trees: 5.17.3 (also present in 5.17.4) 5.16.20 5.15.34 5.10.111 LKML discussion: https://lore.kernel.org/lkml/20220422131452.20757-1-mario.limonciello@amd.com/ The fix has been applied to mainline by Linus, but it is not yet in any stable releases: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/gpio?id=06fb4ecfeac7e00d6704fa5ed19299f2fefb3cc9 I don't know how prevalent the affected systems are, but because of the severity of the problem for the ones that are affected, I wonder if it would be worth masking the affected kernel versions (or possibly rev-bumping them with the patch that fixes the issue).
I'll mask them, just please give me a minute to verify affected versions.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87fdd7cc78bcd96670f5c8953b6e0b842240dab commit f87fdd7cc78bcd96670f5c8953b6e0b842240dab Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-04-26 06:54:37 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-04-26 06:55:23 +0000 package.mask: Mask buggy kernel releases Bug: https://bugs.gentoo.org/840942 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
Just a note that the fix commit is already queued up for the next stable release train, which should arrive sometime this week.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2da102e4554eefb4d7879554ed287c163f1e056 commit b2da102e4554eefb4d7879554ed287c163f1e056 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-04-26 11:58:45 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-04-26 11:58:45 +0000 package.mask: Mask kernel releases impacted by bug Bug: https://bugs.gentoo.org/840942 Signed-off-by: Mike Pagano <mpagano@gentoo.org> profiles/package.mask | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d36e63a59eb26e3608dbe85a627a1942614d5ef commit 7d36e63a59eb26e3608dbe85a627a1942614d5ef Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-04-26 12:33:53 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-04-26 12:33:53 +0000 sys-kernel/gentoo-sources: gpio regression fix gpio: Request interrupts after IRQ is initialized Bug: https://bugs.gentoo.org/840942 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources/gentoo-sources-5.17.4-r1.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c34c59b4944bb4152c0db6347dbbb65ed12fa7 commit 81c34c59b4944bb4152c0db6347dbbb65ed12fa7 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-04-26 12:33:37 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-04-26 12:33:37 +0000 sys-kernel/gentoo-sources: gpio regression fix gpio: Request interrupts after IRQ is initialized Bug: https://bugs.gentoo.org/840942 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources-5.15.35-r1.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa4514738e6278ad9da54a716eb65ffe1386814 commit dfa4514738e6278ad9da54a716eb65ffe1386814 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-04-26 12:32:27 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-04-26 12:32:27 +0000 sys-kernel/gentoo-sources: gpio regression fix gpio: Request interrupts after IRQ is initialized Bug: https://bugs.gentoo.org/840942 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/gentoo-sources/Manifest | 3 +++ .../gentoo-sources-5.10.112-r1.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 31 insertions(+)
I've pushed revbumps for sys-kernel/gentoo-kernel* and removed broken versions. Let's wait for upstream release with (unsupported) sys-kernel/vanilla-kernel, and then close the bug.
(In reply to Michał Górny from comment #6) > I've pushed revbumps for sys-kernel/gentoo-kernel* and removed broken > versions. Let's wait for upstream release with (unsupported) > sys-kernel/vanilla-kernel, and then close the bug. Did commit 81c34c59b actually fix this for 5.15.35? The contents of genpatches-5.15-39 are same as those of genpatches-5.15-38.
(In reply to Jouni Kosonen from comment #7) > (In reply to Michał Górny from comment #6) > > I've pushed revbumps for sys-kernel/gentoo-kernel* and removed broken > > versions. Let's wait for upstream release with (unsupported) > > sys-kernel/vanilla-kernel, and then close the bug. > > Did commit 81c34c59b actually fix this for 5.15.35? The contents of > genpatches-5.15-39 are same as those of genpatches-5.15-38. Sorry for the noise, just saw the #2800 in genpatches-5.15-39.base .
All kernels bumped and buggy versions removed.