Bug 214365

Summary: kernel hang at resuming from s2idle on AMD Barcelo CRB with SATA attached
Product: Platform Specific/Hardware Reporter: You-Sheng Yang (vicamo)
Component: x86-64Assignee: platform_x86_64 (platform_x86_64)
Status: RESOLVED MOVED    
Severity: normal CC: luhaosheng, mario.limonciello, yihunglin
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: v5.14-rc1 Subsystem:
Regression: No Bisected commit-id:
Attachments: journal.crb-celadon-barcelo.5.14.0-mainline-a3fa7a101dcf
journal.crb-celadon-barcelo.5.14.2-051402-generic
journal.crb-celadon-barcelo.5.14.0-051400rc2-generic
journal.crb-celadon-barcelo.5.13.0-051300-generic

Description You-Sheng Yang 2021-09-10 05:59:50 UTC
Created attachment 298729 [details]
journal.crb-celadon-barcelo.5.14.0-mainline-a3fa7a101dcf

On AMD Barcelo CRB platform, BIOS RLD-1005B_AB 06/30/2021, starting from v5.14-rc1 kernel that put system to deep sleep than v5.13, cannot wake from s2idle, fan spinning, debug LED EEFC0300, BLK LED blinking. This, as long as one sata device is attached, no matter it was boot from sata or nvme root partition, it will all be affected.
Comment 1 You-Sheng Yang 2021-09-10 06:00:24 UTC
Created attachment 298731 [details]
journal.crb-celadon-barcelo.5.14.2-051402-generic
Comment 2 You-Sheng Yang 2021-09-10 06:00:50 UTC
Created attachment 298733 [details]
journal.crb-celadon-barcelo.5.14.0-051400rc2-generic
Comment 3 You-Sheng Yang 2021-09-10 06:01:12 UTC
Created attachment 298735 [details]
journal.crb-celadon-barcelo.5.13.0-051300-generic
Comment 4 Mario Limonciello (AMD) 2021-09-10 12:15:06 UTC
How are you attempting waking?  You may try applying https://lore.kernel.org/linux-gpio/9c3a0ce4-efbc-e5b7-c51c-317b89ca8d52@amd.com/T/#t to help.
Comment 5 You-Sheng Yang 2021-09-12 06:08:30 UTC
Hi, I have a 2.4G wireless usb keyboard connected, and tried to wake up with a single keystroke.

Applied that atop of v5.14, but it didn't work for me.
Comment 6 Mario Limonciello (AMD) 2021-09-13 16:36:28 UTC
So this works with NVME connected, and once you connect NVME + SATA s2idle fails?

Please file a ticket with AMD internal system for further help with CRB.
Comment 7 Hao-Sheng 2021-09-14 06:20:19 UTC
Hi Mario, we have submitted EXT-57754 on AMD JIRA.
Comment 8 Mario Limonciello (AMD) 2021-09-14 20:55:55 UTC
Thanks, please close it on kernel bugzilla and discussion will continue there.