]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: i219 fix unit hang on reset and runtime D3
authorYanir Lubetkin <yanirx.lubetkin@intel.com>
Mon, 13 Apr 2015 23:20:21 +0000 (02:20 +0300)
committerBrian Maly <brian.maly@oracle.com>
Fri, 4 Sep 2015 17:57:30 +0000 (13:57 -0400)
commit225d5e6b776871110715ed7627a17d0f3a26eadf
treecc3d48a2c91abea0dec6f33118048c1c41b699e3
parent8a33d458b732de622b6ea5e9d68af8fc0fcb8dd0
e1000e: i219 fix unit hang on reset and runtime D3

Orabug: 21792108

Unit hang may occur if multiple descriptors are available in the rings
during reset or runtime suspend. This state can be detected by testing
bit 8 in the FEXTNVM7 register. If this bit is set and there are pending
descriptors in one of the rings, we must flush them prior to reset. Same
applies entering runtime suspend.

Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Reviewed-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit ad851fbb73a3d6564707281aa253418ef6aab878)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/e1000e/ich8lan.h
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/regs.h