Bug 2080694

Summary: Kernel 5.17.4 and below cause soft-brick with Ryzen 5700U based laptops
Product: [Fedora] Fedora Reporter: Steven Haigh <netwiz>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 36CC: acaringi, adscvr, airlied, alciregi, awilliam, bskeggs, hdegoede, hpa, jarodwilson, jforbes, jglisse, jonathan, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, robatino, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: kernel-5.17.5-300.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-02 19:43:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1953785    

Description Steven Haigh 2022-05-01 02:03:43 UTC
Kernel version 5.17.5 fixes some major issues with Ryzen 5700U based laptops that cause them to be soft-bricked when shutting down or suspending.

The tl;dr version is that the kernel causes a faulty initialisation with the GPIO controller on the platform that handles events like the power button press, lid open / close and suspend / resume triggers.

In the worst case, this means that booting a F36 Live ISO with a kernel lower than 5.17.5 has the possibility to soft-brick the laptop after shutdown. The user would not need to actually install Fedora, just boot from the ISO.

To avoid this, please ensure that any install media produces has *AT LEAST* kernel version 5.17.5 - which I have personally tested and can confirm the problem is resolved.

My discovery of the issue:
https://gitlab.freedesktop.org/drm/amd/-/issues/1995

Fix:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.17.y&id=d3f54679c6560e4e95f835107098395028ee360c

Comment 1 Fedora Blocker Bugs Application 2022-05-01 02:22:26 UTC
Proposed as a Blocker and Freeze Exception for 36-final by Fedora user crcinau using the blocker tracking app because:

 If the install media or live ISOs ship with a kernel version below 5.17.5, then laptops based on Ryzen 5700U CPUs will soft-brick on power down or suspend.

More details in the bug report.

Comment 2 Adam Williamson 2022-05-01 06:14:58 UTC
Justin, do you have anything to note here ahead of blocker review on Monday? Thanks!

Comment 3 Adam Williamson 2022-05-02 15:50:45 UTC
+8 in https://pagure.io/fedora-qa/blocker-review/issue/798 , marking accepted.

Comment 4 Fedora Update System 2022-05-02 17:43:55 UTC
FEDORA-2022-d37373c604 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d37373c604

Comment 5 Fedora Update System 2022-05-02 19:43:39 UTC
FEDORA-2022-d37373c604 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.