mb/amd/birman/port_descriptors_phoenix.c: Disable ASPM
Disable ASPM on ethernet, sd card, wwan, wlan, and ssd0 PCI devices.
This reduces kernel error logs such as:
[ 15.172613] r8169 0000:01:00.0: PCIe Bus Error: severity=Corrected,
type=Data Link Layer, (Transmitter ID)
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Change-Id: I7b1605f18a91ed20bfc6ab70547c415e0278d290
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74970
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
diff --git a/src/mainboard/amd/birman/port_descriptors_phoenix.c b/src/mainboard/amd/birman/port_descriptors_phoenix.c
index ffd5e3a..8ab7417 100644
--- a/src/mainboard/amd/birman/port_descriptors_phoenix.c
+++ b/src/mainboard/amd/birman/port_descriptors_phoenix.c
@@ -74,7 +74,7 @@
.function_number = 3, \
.link_speed_capability = GEN3, \
.turn_off_unused_lanes = true, \
- .link_aspm = ASPM_L1, \
+ .link_aspm = ASPM_DISABLED, \
.link_hotplug = HOTPLUG_DISABLED, \
.clk_req = CLK_REQ6, \
}
@@ -88,7 +88,7 @@
.function_number = 1, \
.link_speed_capability = GEN3, \
.turn_off_unused_lanes = true, \
- .link_aspm = ASPM_L1, \
+ .link_aspm = ASPM_DISABLED, \
.link_hotplug = HOTPLUG_DISABLED, \
.clk_req = CLK_REQ5, \
}
@@ -102,7 +102,7 @@
.function_number = 2, \
.link_speed_capability = GEN3, \
.turn_off_unused_lanes = true, \
- .link_aspm = ASPM_L1, \
+ .link_aspm = ASPM_DISABLED, \
.link_hotplug = HOTPLUG_DISABLED, \
.clk_req = CLK_REQ4, \
}
@@ -116,7 +116,7 @@
.function_number = 3, \
.link_speed_capability = GEN3, \
.turn_off_unused_lanes = true, \
- .link_aspm = ASPM_L1, \
+ .link_aspm = ASPM_DISABLED, \
.link_hotplug = HOTPLUG_DISABLED, \
.clk_req = CLK_REQ3, \
}
@@ -130,7 +130,7 @@
.function_number = 4, \
.link_speed_capability = GEN3, \
.turn_off_unused_lanes = true, \
- .link_aspm = ASPM_L1, \
+ .link_aspm = ASPM_DISABLED, \
.link_hotplug = HOTPLUG_DISABLED, \
.clk_req = CLK_REQ2, \
}