aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-08-13 22:50:19 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-15 17:19:05 +0200
commitf28a2a50946d67d2bab8e96abc29169b0241ff93 (patch)
treec0f1b84af481a5d5002b2cf25e1bff58065b12a5 /target/linux
parent4e066f1f0bfe6d733c904b406e269764b204e4b8 (diff)
downloadupstream-f28a2a50946d67d2bab8e96abc29169b0241ff93.tar.gz
upstream-f28a2a50946d67d2bab8e96abc29169b0241ff93.tar.bz2
upstream-f28a2a50946d67d2bab8e96abc29169b0241ff93.zip
x86: Activate CONFIG_PCIEASPM
This activates PCI Express ASPM control in Linux. Without this option it is completely controlled by the BIOS, now Linux will take over and apply some workarounds if needed. Fixes: #13248 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit ff71035751bf440401b4bbc32e0b61ba11178234)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/64/config-5.155
-rw-r--r--target/linux/x86/generic/config-5.155
-rw-r--r--target/linux/x86/legacy/config-5.155
3 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
index d1ada5c2f5..c3beedab8b 100644
--- a/target/linux/x86/64/config-5.15
+++ b/target/linux/x86/64/config-5.15
@@ -356,6 +356,11 @@ CONFIG_PATA_VIA=y
CONFIG_PCC=y
# CONFIG_PCENGINES_APU2 is not set
CONFIG_PCIEAER=y
+CONFIG_PCIEASPM=y
+CONFIG_PCIEASPM_DEFAULT=y
+# CONFIG_PCIEASPM_PERFORMANCE is not set
+# CONFIG_PCIEASPM_POWERSAVE is not set
+# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCIE_PME=y
CONFIG_PCI_HYPERV=y
diff --git a/target/linux/x86/generic/config-5.15 b/target/linux/x86/generic/config-5.15
index 5fda82dd29..96f5b0718b 100644
--- a/target/linux/x86/generic/config-5.15
+++ b/target/linux/x86/generic/config-5.15
@@ -309,6 +309,11 @@ CONFIG_PATA_TIMINGS=y
CONFIG_PATA_VIA=y
# CONFIG_PCENGINES_APU2 is not set
CONFIG_PCIEAER=y
+CONFIG_PCIEASPM=y
+CONFIG_PCIEASPM_DEFAULT=y
+# CONFIG_PCIEASPM_PERFORMANCE is not set
+# CONFIG_PCIEASPM_POWERSAVE is not set
+# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCIE_PME=y
CONFIG_PCI_MMCONFIG=y
diff --git a/target/linux/x86/legacy/config-5.15 b/target/linux/x86/legacy/config-5.15
index a75ce40ab4..de5cd4488f 100644
--- a/target/linux/x86/legacy/config-5.15
+++ b/target/linux/x86/legacy/config-5.15
@@ -185,6 +185,11 @@ CONFIG_PATA_SIS=y
CONFIG_PATA_TIMINGS=y
CONFIG_PATA_VIA=y
CONFIG_PCIEAER=y
+CONFIG_PCIEASPM=y
+CONFIG_PCIEASPM_DEFAULT=y
+# CONFIG_PCIEASPM_PERFORMANCE is not set
+# CONFIG_PCIEASPM_POWERSAVE is not set
+# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCWATCHDOG is not set