Bug 213873 - Hotplug ethernet cable to runtime suspended Realtek NIC doesn't raise PCIe PME IRQ on Intel ADL
Summary: Hotplug ethernet cable to runtime suspended Realtek NIC doesn't raise PCIe PM...
Status: REOPENED
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_pci@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-27 06:10 UTC by Kai-Heng Feng
Modified: 2021-08-09 10:41 UTC (History)
0 users

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


Attachments
dmesg with PCI and PCIe dynamic debug enabled (87.68 KB, text/plain)
2021-07-27 06:13 UTC, Kai-Heng Feng
Details
lspci on the bridge device before cable hotplug (5.21 KB, text/plain)
2021-07-27 06:14 UTC, Kai-Heng Feng
Details
lspci on the bridge device after cable hotplug (5.21 KB, text/plain)
2021-07-27 06:14 UTC, Kai-Heng Feng
Details
/proc/interrupts (14.34 KB, text/plain)
2021-07-27 06:15 UTC, Kai-Heng Feng
Details
lspci-vvnn (52.96 KB, text/plain)
2021-07-27 06:15 UTC, Kai-Heng Feng
Details

Description Kai-Heng Feng 2021-07-27 06:10:13 UTC
Both PCIe bridge and Realtek NIC are runtime suspended. When ethernet cable is plugged, PMEStatus and PMEPending are marked:
RootSta: PME ReqID 0200, PMEStatus+ PMEPending+

But the IRQ isn't raised:
$ cat /proc/interrupts  | grep PME
 145:          0          0          0          0          0          0          0          0          0          0          0          0   VMD-MSI  126  PCIe PME, aerdrv, pcie-dpc

So the hotplug event isn't detected.
Comment 1 Kai-Heng Feng 2021-07-27 06:13:45 UTC
Created attachment 298057 [details]
dmesg with PCI and PCIe dynamic debug enabled
Comment 2 Kai-Heng Feng 2021-07-27 06:14:32 UTC
Created attachment 298059 [details]
lspci on the bridge device before cable hotplug
Comment 3 Kai-Heng Feng 2021-07-27 06:14:51 UTC
Created attachment 298061 [details]
lspci on the bridge device after cable hotplug
Comment 4 Kai-Heng Feng 2021-07-27 06:15:09 UTC
Created attachment 298063 [details]
/proc/interrupts
Comment 5 Kai-Heng Feng 2021-07-27 06:15:27 UTC
Created attachment 298065 [details]
lspci-vvnn
Comment 6 Kai-Heng Feng 2021-07-29 14:49:51 UTC
BIOS will fix this.
Comment 7 Kai-Heng Feng 2021-08-09 10:41:35 UTC
The vendor told us that the PME is disabled intentionally.

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