CHROMIUM: drivers: net: add module param for control of ASPM disable
ASPM has been disabled in this driver by default as its been
implicated in stability issues on at least one platform. This CL adds
a module parameter to allow control of ASPM disable. The default
value is disabled to match the current upstream functionality.
BUG=chrome-os-partner:6691
TEST=manual,
1. Test default
- boot kernel on platform w/ r8169
- lspci -vvv -s <device> | grep -i aspm
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency
L0 unlimited, L1 <64us
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain-
CommClk+
- Note, 'ASPM L1 Enabled'
2. Test Disabling ASPM
- echo "options r8169 aspm_disable=1" > /etc/modprobe.d/r8169.conf
- re-boot
- lspci -vvv -s <device> | grep -i aspm
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency
L0 unlimited, L1 <64us
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
CommClk+
- Note, 'ASPM Disabled'
Change-Id: Iae399c08a917fcc7421cb63fb34e9cebca4ab296
Signed-off-by: Todd Broch <tbroch@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/11551