Bug 202181 - _PRW GPE only work once on new e1000e hardwares.
Summary: _PRW GPE only work once on new e1000e hardwares.
Status: CLOSED CODE_FIX
Alias: None
Product: Power Management
Classification: Unclassified
Component: Run-Time-PM (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Bjorn Helgaas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-08 09:47 UTC by Kai-Heng Feng
Modified: 2019-03-27 04:04 UTC (History)
2 users (show)

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


Attachments
ACPI dump (1.59 MB, text/plain)
2019-01-08 09:56 UTC, Kai-Heng Feng
Details
dmesg (75.63 KB, text/plain)
2019-01-23 08:26 UTC, Kai-Heng Feng
Details
lspci -vvnn when ethernet cable plugging doesn't work (62.97 KB, text/plain)
2019-01-23 08:27 UTC, Kai-Heng Feng
Details
DSDT.dsl (disassembled from attachment 280331) (1.88 MB, text/plain)
2019-01-23 20:23 UTC, Bjorn Helgaas
Details
dmesg with debug message (85.70 KB, text/plain)
2019-01-28 07:48 UTC, Kai-Heng Feng
Details

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.

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