]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ixgbe: Clear SWFW_SYNC register during init
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 5 Jul 2017 22:57:30 +0000 (15:57 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Oct 2017 16:28:23 +0000 (09:28 -0700)
commit2e22a75c55c1e70f36e21d4fa4e165af7f356aa9
tree42e026e4e9c291b2374788fd19be82fee5a9d672
parentc49c777f9c87749b73bc888f097f8a4178382449
ixgbe: 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@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c