]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: PCIm function state support
authorVitaly Lifshits <vitaly.lifshits@intel.com>
Tue, 25 Jun 2019 14:39:11 +0000 (17:39 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 28 Jun 2019 23:00:28 +0000 (16:00 -0700)
commit1786ccf3f7a28c3c4d5a75419e9f2693a542d6fc
tree31a70eaa06bc55afc32a67e6b2c17f6216b838d0
parentb430b001a82278e1246d59117d78e247d313c10c
e1000e: PCIm function state support

Due to commit: 5d8682588605 ("[misc] mei: me: allow runtime
pm for platform with D0i3")
When disconnecting the cable and reconnecting it the NIC
enters DMoff state. This caused wrong link indication
and duplex mismatch. This bug is described in:
https://bugzilla.redhat.com/show_bug.cgi?id=1689436

Checking PCIm function state and performing PHY reset after a
timeout in watchdog task solves this issue.

Signed-off-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/defines.h
drivers/net/ethernet/intel/e1000e/netdev.c