Bug 736916

Summary: wrong default for ASPM
Product: Red Hat Enterprise Linux 6 Reporter: dietmar
Component: kernelAssignee: John Feeney <jfeeney>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: arozansk
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-23 14:27:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dietmar 2011-09-09 05:17:18 UTC
Description of problem:

Current kernel seems to ignore BIOS settings for ASPM

Here is a patch to fix the behaviour:

--- linux-2.6-2.6.32/drivers/pci/pcie/aspm.c.org        2011-09-09 06:51:53.000000000 +0200
+++ linux-2.6-2.6.32/drivers/pci/pcie/aspm.c    2011-09-09 06:52:09.000000000 +0200
@@ -75,7 +75,7 @@
 #define POLICY_DEFAULT 0       /* BIOS default setting */
 #define POLICY_PERFORMANCE 1   /* high performance */
 #define POLICY_POWERSAVE 2     /* high power saving */
-static int aspm_policy = POLICY_POWERSAVE;
+static int aspm_policy = POLICY_DEFAULT;
 static const char *policy_str[] = {
        [POLICY_DEFAULT] = "default",
        [POLICY_PERFORMANCE] = "performance",

Comment 2 Matthew Garrett 2011-09-23 14:27:20 UTC
No, this is a conscious decision.