Bug 217557 - ASPM is not enabled on hotplugged devices
Summary: ASPM is not enabled on hotplugged devices
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: drivers_pci@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-15 07:01 UTC by Kai-Heng Feng
Modified: 2023-06-16 01:49 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (188.06 KB, text/plain)
2023-06-15 07:01 UTC, Kai-Heng Feng
Details
lspci preboot connected (105.50 KB, text/plain)
2023-06-15 07:02 UTC, Kai-Heng Feng
Details
lspci hotplugged (105.45 KB, text/plain)
2023-06-15 07:02 UTC, Kai-Heng Feng
Details

Description Kai-Heng Feng 2023-06-15 07:01:18 UTC
Created attachment 304431 [details]
dmesg
Comment 1 Kai-Heng Feng 2023-06-15 07:02:00 UTC
Created attachment 304432 [details]
lspci preboot connected
Comment 2 Kai-Heng Feng 2023-06-15 07:02:20 UTC
Created attachment 304433 [details]
lspci hotplugged
Comment 3 Bagas Sanjaya 2023-06-15 12:43:54 UTC
Can you describe this issue please?
Comment 4 Kai-Heng Feng 2023-06-16 01:49:38 UTC
For example, this is when device is connected preboot:
38:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller (2) I225-LMvP [8086:5502] (rev 03)
...
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
...
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-


This is when device is hotplugged:
38:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller (2) I225-LMvP [8086:5502] (rev 03)
...
        Capabilities: [a0] Express (v2) Endpoint, MSI 00
...
                LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

ASPM should be enabled for hotplugged case, too.

Note You need to log in before you can comment on or make changes to this bug.