diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2013-07-23 05:57:03 +0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-07-31 12:16:38 +0400 |
commit | 674c18b2ed65f9db04e5c2e9c9e4af8fa2af0f1b (patch) | |
tree | 431a35108ff4a1272ff789ad380f221d644ef1d1 /drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | |
parent | 9c432adaa803c1a6f1065f907caab13248c844df (diff) | |
download | linux-674c18b2ed65f9db04e5c2e9c9e4af8fa2af0f1b.tar.xz |
ixgbe: clear semaphore bits on timeouts
This patch changes the error code path in ixgbe_acquire_swfw_sync() to deal
with cases where acquiring SW semaphore times out.
In cases where the SW/FW semaphore bits were set (i.e. due to a crash) the
driver will hang on load. With this patch the driver will clear
the stuck bits if the semaphore was not acquired in the allotted time.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c')
0 files changed, 0 insertions, 0 deletions