Code: Select all
$ dmesg | grep -i aspm
[ 10.447480] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 11.348638] ath: phy0: ASPM enabled: 0x42i found a similar query on an ubuntu forum
so i installed sys-apps/fwts
Code: Select all
$ sudo fwts aspm
Running 1 tests, results appended to results.log
Test: PCIe ASPM test.
PCIe ASPM ACPI test.
PCIe ASPM registers test. 2 passed, 1 failed, 3 warnings
double free on 0xb761a00c
double free on 0xb761900c
double free on 0xb761800c
double free on 0xb761700c
double free on 0xb761600c
double free on 0xb761500c
double free on 0xb761400cCode: Select all
$ cat results.log
Results generated by fwts: Version V17.02.00 (2017-02-16 02:00:35).
Some of this work - Copyright (c) 1999 - 2017, Intel Corp. All rights reserved.
Some of this work - Copyright (c) 2010 - 2017, Canonical.
Some of this work - Copyright (c) 2016 - 2017, IBM.
This test run on 08/04/17 at 14:09:44 on host Linux josephg 4.9.16-gentoo-josephg
#13 SMP Fri Apr 7 00:19:42 BST 2017 i686.
Command: "fwts aspm".
Running tests: aspm.
aspm: PCIe ASPM test.
--------------------------------------------------------------------------------
Test 1 of 2: PCIe ASPM ACPI test.
PCIe ASPM is controlled by Linux kernel.
Test 2 of 2: PCIe ASPM registers test.
PASSED: Test 2, PCIe ASPM setting matched was matched.
WARNING: Test 2, RP 0000h:00h:1Ch.01h L0s not enabled.
ADVICE: The ASPM L0s low power Link state is optimized for short entry and exit
latencies, while providing substantial power savings. Disabling L0s of a PCIe
device may increase power consumption, and will impact the battery life of a
mobile system.
PASSED: Test 2, PCIe ASPM setting matched was matched.
WARNING: Test 2, Device 0000h:02h:00h.00h L0s not enabled.
WARNING: Test 2, Device 0000h:02h:00h.00h L1 not enabled.
ADVICE: The ASPM L0s low power Link state is optimized for short entry and exit
latencies, while providing substantial power savings. Disabling L0s of a PCIe
device may increase power consumption, and will impact the battery life of a
mobile system.
ADVICE: The ASPM L1 low power Link state is optimized for maximum power savings
with longer entry and exit latencies. Disabling L1 of a PCIe device may
increases power consumption, and will impact the battery life of a mobile system
significantly.
FAILED [MEDIUM] PCIEASPM_Unmatched: Test 2, PCIe ASPM setting was not matched.
RP 0000h:00h:1Ch.00h has ASPM = 03h.
Device 0000h:02h:00h.00h has ASPM = 00h.
ADVICE: ASPM control registers between root port and device must match in order
for ASPM to be active. Unmatched configuration indicates software did not
configure ASPM correctly and the system is not saving power at its full
potential.
================================================================================
2 passed, 1 failed, 3 warnings, 0 aborted, 0 skipped, 0 info only.
================================================================================
2 passed, 1 failed, 3 warnings, 0 aborted, 0 skipped, 0 info only.
Test Failure Summary
================================================================================
Critical failures: NONE
High failures: NONE
Medium failures: 1
aspm: PCIe ASPM setting was not matched.
Low failures: NONE
Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
aspm | 2| 1| | 3| | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 2| 1| 0| 3| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+

