Commit be7caf6
PCI: Avoid putting some root ports into D3 on TUXEDO Sirius Gen1
stable inclusion
from stable-6.6.78
commit 8852e056e297df1d8635ee7504e780d3184e45d0
category: bugfix
issue: #IC2PN8
CVE: NA
Signed-off-by: zyf1116 <[email protected]>
---------------------------------------
commit b1049f2d68693c80a576c4578d96774a68df2bad upstream.
commit 9d26d3a ("PCI: Put PCIe ports into D3 during suspend") sets the
policy that all PCIe ports are allowed to use D3. When the system is
suspended if the port is not power manageable by the platform and won't be
used for wakeup via a PME this sets up the policy for these ports to go
into D3hot.
This policy generally makes sense from an OSPM perspective but it leads to
problems with wakeup from suspend on the TUXEDO Sirius 16 Gen 1 with a
specific old BIOS. This manifests as a system hang.
On the affected Device + BIOS combination, add a quirk for the root port of
the problematic controller to ensure that these root ports are not put into
D3hot at suspend.
This patch is based on
https://lore.kernel.org/linux-pci/[email protected]
but with the added condition both in the documentation and in the code to
apply only to the TUXEDO Sirius 16 Gen 1 with a specific old BIOS and only
the affected root ports.
Fixes: 9d26d3a ("PCI: Put PCIe ports into D3 during suspend")
Suggested-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Co-developed-by: Georg Gottleuber <[email protected]>
Signed-off-by: Georg Gottleuber <[email protected]>
Signed-off-by: Werner Sembach <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Cc: <[email protected]> # 6.1+
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: zyf1116 <[email protected]>1 parent b40a7bb commit be7caf6
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1010 | 1010 | | |
1011 | 1011 | | |
1012 | 1012 | | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1013 | 1043 | | |
0 commit comments