[Intel-wired-lan] [PATCH] ixgbe: add status reg reads to ixgbe_check_remove
Bowers, AndrewX
andrewx.bowers at intel.com
Mon Mar 19 18:41:52 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Paul Greenwalt
> Sent: Monday, March 12, 2018 6:23 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] 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 at intel.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_common.h | 1 +
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 31 ++++++++++++++++--
> -------
> 2 files changed, 21 insertions(+), 11 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list