linux/drivers/net/ethernet/intel/e1000e
Kai-Heng Feng d147085183 e1000e: Use PME poll to circumvent unreliable ACPI wake
On some I219 devices, ethernet cable plugging detection only works once
from PCI D3 state. Subsequent cable plugging does set PME bit correctly,
but device still doesn't get woken up.

Since I219 connects to the root complex directly, it relies on platform
firmware (ACPI) to wake it up. In this case, the GPE from _PRW only
works for first cable plugging but fails to notify the driver for
subsequent plugging events.

The issue was originally found on CNP, but the same issue can be found
on ADL too. So workaround the issue by continuing use PME poll after
first ACPI wake. As PME poll is always used, the runtime suspend
restriction for CNP can also be removed.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-08-16 12:22:22 +01:00
..
80003es2lan.c
80003es2lan.h
82571.c
82571.h
defines.h
e1000.h e1000e: Separate MTP board type from ADP 2022-11-02 10:58:08 -07:00
e1000e_trace.h e1000e: Add e1000e trace module 2022-11-02 11:08:38 -07:00
ethtool.c e1000e: Enable Link Partner Advertised Support 2023-01-09 17:39:43 -08:00
hw.h e1000e: Add support for the next LOM generation 2022-11-02 11:00:10 -07:00
ich8lan.c e1000e: Add support for the next LOM generation 2022-11-02 11:00:10 -07:00
ich8lan.h
mac.c
mac.h net: e1000e: Remove unused declarations 2023-08-15 19:05:17 -07:00
Makefile e1000e: Add e1000e trace module 2022-11-02 11:08:38 -07:00
manage.c
manage.h
netdev.c e1000e: Use PME poll to circumvent unreliable ACPI wake 2023-08-16 12:22:22 +01:00
nvm.c
nvm.h
param.c
phy.c e1000e: Enable Link Partner Advertised Support 2023-01-09 17:39:43 -08:00
phy.h
ptp.c e1000e: Add support for the next LOM generation 2022-11-02 11:00:10 -07:00
regs.h