]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
e1000e: Disable runtime PM on CNP+
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Sat, 2 Feb 2019 17:40:16 +0000 (01:40 +0800)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit22dc6e57eabcb7dfc035efb6e73678c233d48214
treea6bb50649e9f368a919d997acf7d21ab17367e77
parent9a106c36a637621321be6bfdad7b1733c2048a01
e1000e: Disable runtime PM on CNP+

BugLink: https://bugs.launchpad.net/bugs/1838700
[ Upstream commit 459d69c407f9ba122f12216555c3012284dc9fd7 ]

There are some new e1000e devices can only be woken up from D3 one time,
by plugging Ethernet cable. Subsequent cable plugging does set PME bit
correctly, but it still doesn't get woken up.

Since e1000e connects to the root complex directly, we rely on ACPI to
wake it up. In this case, the GPE from _PRW only works once and stops
working after that. Though it appears to be a platform bug, e1000e
maintainers confirmed that I219 does not support D3.

So disable runtime PM on CNP+ chips. We may need to disable earlier
generations if this bug also hit older platforms.

Bugzilla: https://bugzilla.kernel.org/attachment.cgi?id=280819
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/intel/e1000e/netdev.c