android_kernel_xiaomi_sm8350/drivers/net/e1000
Jesse Brandeburg e151a60ad1 e1000: fix virtualization bug
a recent fix to e1000 (commit 15b2bee2) caused KVM/QEMU/VMware based
virtualized e1000 interfaces to begin failing when resetting.

This is because the driver in a virtual environment doesn't
get to run instructions *AT ALL* when an interrupt is asserted.
The interrupt code runs immediately and this recent bug fix
allows an interrupt to be possible when the interrupt handler
will reject it (due to the new code), when being called from
any path in the driver that holds the E1000_RESETTING flag.

the driver should use the __E1000_DOWN flag instead of the
__E1000_RESETTING flag to prevent interrupt execution
while reconfiguring the hardware.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-04 21:28:13 -07:00
..
e1000_ethtool.c
e1000_hw.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
e1000_hw.h
e1000_main.c e1000: fix virtualization bug 2009-05-04 21:28:13 -07:00
e1000_osdep.h
e1000_param.c
e1000.h e1000: drop lltx, remove unnecessary lock 2009-01-21 14:42:47 -08:00
Makefile