diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2016-03-09 16:45:00 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-04-04 17:44:50 -0700 |
commit | dbd15b8f9cc3f0f8d665d048a31c0f4b5c9150a5 (patch) | |
tree | 4d2c20985c51cd9b73af08d96eea74c07975e465 /drivers/net/ethernet/intel/ixgbe/ixgbe_model.h | |
parent | c04f90e592431489df114971ff025265d429e48f (diff) |
ixgbe: Place SWFW semaphore in known valid state at probe
It is possible on some HW that a system reset could occur when we are
holding the SWFW semaphore lock. So next time the driver was loaded we
would see it incorrectly as locked. This patch will recover from that state
by: Attempting to acquire the semaphore and then regardless of whether or
not it was acquire we immediately release it. This will force us into
a known good state.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_model.h')
0 files changed, 0 insertions, 0 deletions