mirror_ubuntu-kernels/drivers/net/ethernet/intel/ixgbe
Paul Greenwalt 1aa37845f7 ixgbe: add status reg reads to ixgbe_check_remove
Add status register reads and delay between reads to ixgbe_check_remove.
Registers can read 0xFFFFFFFF during PCI reset, which causes the driver
to remove the adapter. The additional status register reads can reduce the
chance of this race condition.

If the status register is not 0xFFFFFFFF, then ixgbe_check_remove returns
the value of the register being read.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-03-23 14:18:26 -07:00
..
ixgbe_82598.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_82599.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_common.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_common.h ixgbe: add status reg reads to ixgbe_check_remove 2018-03-23 14:18:26 -07:00
ixgbe_dcb_82598.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_dcb_82598.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_dcb_82599.c ixgbe: Fix kernel-doc format warnings 2018-01-12 08:20:40 -08:00
ixgbe_dcb_82599.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_dcb_nl.c ixgbe: Don't assume dev->num_tc is equal to hardware TC config 2018-01-12 08:20:15 -08:00
ixgbe_dcb.c ixgbe: Fix kernel-doc format warnings 2018-01-12 08:20:40 -08:00
ixgbe_dcb.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_debugfs.c ixgbe: Fix kernel-doc format warnings 2018-01-12 08:20:40 -08:00
ixgbe_ethtool.c ixgbe: Add receive length error counter 2018-03-12 11:03:32 -07:00
ixgbe_fcoe.c ixgbe: Fix kernel-doc format warnings 2018-01-12 08:20:40 -08:00
ixgbe_fcoe.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_ipsec.c ixgbe: remove unneeded ipsec state free callback 2018-03-12 10:59:42 -07:00
ixgbe_ipsec.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_lib.c ixgbe: remove redundant initialization of 'pool' 2018-02-26 08:28:14 -08:00
ixgbe_main.c ixgbe: add status reg reads to ixgbe_check_remove 2018-03-23 14:18:26 -07:00
ixgbe_mbx.c ixgbe: use BIT() macro 2016-04-25 04:15:11 -07:00
ixgbe_mbx.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_model.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_phy.c ixgbe: Fix kernel-doc format warnings 2018-01-12 08:20:40 -08:00
ixgbe_phy.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_ptp.c ixgbe: Fix kernel-doc format warnings 2018-01-12 08:20:40 -08:00
ixgbe_sriov.c ixgbe: fix disabling hide VLAN on VF reset 2018-03-12 12:54:59 -07:00
ixgbe_sriov.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_sysfs.c ixgbe: add Linux NICS mailing list to contact info 2014-03-12 19:05:30 -07:00
ixgbe_type.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_x540.c ixgbe: Clear SWFW_SYNC register during init 2017-10-09 09:28:23 -07:00
ixgbe_x540.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
ixgbe_x550.c ixgbe: use ARRAY_SIZE for array sizing calculation on array buf 2018-01-26 10:25:19 -08:00
ixgbe.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
Makefile intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00