From 3bcb7619b470959c49b45c822126de91bc7edc04 Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Fri, 5 May 2023 13:36:39 -0400 Subject: [PATCH] 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 Change-Id: I7b1605f18a91ed20bfc6ab70547c415e0278d290 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74970 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/mainboard/amd/birman/port_descriptors_phoenix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mainboard/amd/birman/port_descriptors_phoenix.c b/src/mainboard/amd/birman/port_descriptors_phoenix.c index ffd5e3a3d2..8ab7417d2a 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, \ }