[Intel-wired-lan] [PATCH] ixgbe-shared: Clear SWFW_SYNC register during init
Bowers, AndrewX
andrewx.bowers at intel.com
Thu Jul 6 22:19:19 UTC 2017
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Wednesday, July 5, 2017 3:48 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe-shared: Clear SWFW_SYNC register
> during init
>
> Added clearing of SW resource bits in the SW/FW synchronization register to
> ixgbe_init_swfw_sync_X540().
>
> Updated ixgbe_acquire_swfw_sync_X540 SW Manageability host interface
> resource bit error case to match the error handling of the other SW resource
> bits. Which is to release the SW resource bits if SW times out while
> attempting to acquire the resource.
>
> This allows the driver to load in cases where the semaphore bits could be
> stuck after a reset or a crash.
>
> Signed-off-by: Emil Tantilov <emil.s.tantilov at intel.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c | 19 ++++++++++++-------
> 1 file changed, 12 insertions(+), 7 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list