Bug 202181

Summary: _PRW GPE only work once on new e1000e hardwares.
Product: Power Management Reporter: Kai-Heng Feng (kai.heng.feng)
Component: Run-Time-PMAssignee: Bjorn Helgaas (bjorn)
Status: CLOSED CODE_FIX    
Severity: normal CC: bjorn, rui.zhang
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: mainline Subsystem:
Regression: No Bisected commit-id:
Attachments: ACPI dump
dmesg
lspci -vvnn when ethernet cable plugging doesn't work
DSDT.dsl (disassembled from attachment 280331)
dmesg with debug message

Description Kai-Heng Feng 2019-01-08 09:47:38 UTC
I have a system that has a buggy e1000e, which doesn’t get woken up by ethernet cable plugging.

The e1000e directly connects to root complex, and it shares the same GPE with HDAS and XHC.

The symptom is this: ethernet cable plugging can only wake e1000e once, after that, cable plugging can no longer wake the system up.
In the mean time, the shared GPE still works for HDAS and XHC - plugging USB devices can wake up the e1000e.

Other than disabling runtime PM on e1000e, is there any better workaround?
Comment 1 Kai-Heng Feng 2019-01-08 09:56:56 UTC
Created attachment 280331 [details]
ACPI dump
Comment 2 Kai-Heng Feng 2019-01-23 08:26:26 UTC
Created attachment 280689 [details]
dmesg
Comment 3 Kai-Heng Feng 2019-01-23 08:27:35 UTC
Created attachment 280691 [details]
lspci -vvnn when ethernet cable plugging doesn't work
Comment 4 Bjorn Helgaas 2019-01-23 20:23:50 UTC
Created attachment 280699 [details]
DSDT.dsl (disassembled from attachment 280331 [details])
Comment 5 Kai-Heng Feng 2019-01-28 07:48:28 UTC
Created attachment 280819 [details]
dmesg with debug message
Comment 6 Zhang Rui 2019-03-26 08:59:57 UTC
@Bjorn, any update?
Comment 7 Kai-Heng Feng 2019-03-27 04:00:10 UTC
@Zhang,

This is fixed by this commit:
commit 459d69c407f9ba122f12216555c3012284dc9fd7
Author: Kai-Heng Feng <kai.heng.feng@canonical.com>
Date:   Sun Feb 3 01:40:16 2019 +0800

    e1000e: Disable runtime PM on CNP+
Comment 8 Zhang Rui 2019-03-27 04:04:36 UTC
Good to know. Bug closed.