Bug 205871 - Issues with GL9750 after reboot from Windows 10. Ok with clean boot.
Summary: Issues with GL9750 after reboot from Windows 10. Ok with clean boot.
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: MMC/SD (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_mmc-sd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 10:48 UTC by Grzegorz Kowal
Modified: 2021-09-28 13:08 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.4.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg after reboot from Windows 10 (79.44 KB, text/plain)
2019-12-16 10:48 UTC, Grzegorz Kowal
Details
dmesg after clean boot (71.68 KB, text/plain)
2019-12-16 10:49 UTC, Grzegorz Kowal
Details
top output (15.84 KB, text/plain)
2019-12-16 10:50 UTC, Grzegorz Kowal
Details
lspci after reboot from Windows 10 (3.27 KB, text/plain)
2019-12-16 11:28 UTC, Grzegorz Kowal
Details
lspci after clean boot (3.27 KB, text/plain)
2019-12-16 11:29 UTC, Grzegorz Kowal
Details
Fix for the restart from Windows 10 issue (1.71 KB, patch)
2020-05-04 13:46 UTC, Grzegorz Kowal
Details | Diff

Description Grzegorz Kowal 2019-12-16 10:48:44 UTC
Created attachment 286307 [details]
dmesg after reboot from Windows 10

I am on Lenovo Thinkpad T495. Since kernel version 5.4.1 I am getting strange issues related to MMC/SDHCI after direct reboot from Microsoft Windows 10, which are manifested by slow system response, a few kernel workers using 100% of CPU, and plenty of SDHCI register dumps in dmesg. If the laptop is powered off first, and then booted to Linux, no problems occur.

I am attaching dmesg after reboot from Windows and after clean boot. Also top of the hungry processes is attached.
Comment 1 Grzegorz Kowal 2019-12-16 10:49:14 UTC
Created attachment 286309 [details]
dmesg after clean boot
Comment 2 Grzegorz Kowal 2019-12-16 10:50:24 UTC
Created attachment 286311 [details]
top output
Comment 3 Grzegorz Kowal 2019-12-16 11:28:18 UTC
Created attachment 286313 [details]
lspci after reboot from Windows 10
Comment 4 Grzegorz Kowal 2019-12-16 11:29:16 UTC
Created attachment 286315 [details]
lspci after clean boot

Added lspci -s 05:00.0 -vvvv after reboot from Windows 10 and after clean boot to Linux.
Comment 5 Grzegorz Kowal 2020-05-04 13:45:09 UTC
I've contacted Ben Chuang, the author of Genesys Logic GL975x, and after some investigation he provided a patch to solve the problem. I am attaching this patch. Hopefully, it'll land in stable branch soon.
Comment 6 Grzegorz Kowal 2020-05-04 13:46:42 UTC
Created attachment 288897 [details]
Fix for the restart from Windows 10 issue

Note You need to log in before you can comment on or make changes to this bug.