linux_dsm_epyc7002/drivers/net/ethernet/intel/e1000e
Akeem G. Abodunrin 6c1d8b96d0 e1000e: Release mutex lock only if it has been initially acquired
This patch fixes the issue of unlocking swflag_mutex for 82574 and 82583
devices regardless of if the hw semaphore has been successfully acquired via
e1000_get_hw_semaphore_82574(). With this patch, unlocking mutex now depends
on if the hw semaphore was successfully acquired before. And 82574/82583
devices are reset regardless of whether e1000_get_hw_semaphore_82574()
returns success or failure.

Reported-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-05-21 02:19:03 -07:00
..
80003es2lan.c e1000e: cleanup whitespace 2013-05-21 02:07:01 -07:00
80003es2lan.h e1000e: cosmetic move of #defines to the new 80003es2lan.h 2013-02-04 23:32:20 -08:00
82571.c e1000e: Release mutex lock only if it has been initially acquired 2013-05-21 02:19:03 -07:00
82571.h e1000e: cleanup - move defines to appropriate header file 2013-03-08 01:53:29 -08:00
defines.h e1000e: slow performance between two 82579 connected via 10Mbit hub 2013-03-27 23:25:36 -07:00
e1000.h e1000e: fix scheduling while atomic bug 2013-05-07 07:51:37 -07:00
ethtool.c e1000e: cleanup whitespace 2013-05-21 02:07:01 -07:00
hw.h e1000e: cleanup whitespace 2013-05-21 02:07:01 -07:00
ich8lan.c e1000e: cleanup whitespace 2013-05-21 02:07:01 -07:00
ich8lan.h e1000e: cleanup unused defines 2013-03-28 00:37:08 -07:00
mac.c e1000e: fix LED blink logic for designs with LEDs driven by cathode 2013-03-27 23:32:06 -07:00
mac.h e1000e: cosmetic move of function prototypes to the new mac.h 2013-02-04 23:52:44 -08:00
Makefile e1000e: update copyright date 2013-01-27 01:22:53 -08:00
manage.c e1000e: cosmetic move of #defines and prototypes to the new manage.h 2013-02-05 00:12:27 -08:00
manage.h e1000e: cosmetic move of #defines and prototypes to the new manage.h 2013-02-05 00:12:27 -08:00
netdev.c e1000e: prevent warning from -Wunused-parameter 2013-05-21 02:13:07 -07:00
nvm.c e1000e: cleanup whitespace 2013-05-21 02:07:01 -07:00
nvm.h e1000e: cosmetic move of #defines and function prototypes to the new nvm.h 2013-02-05 00:05:41 -08:00
param.c e1000e: cleanup format of struct e1000_opt_list struct 2013-03-08 01:35:16 -08:00
phy.c e1000e: cleanup whitespace 2013-05-21 02:07:01 -07:00
phy.h e1000e: cosmetic move of #defines and function prototypes to the new phy.h 2013-02-04 23:59:16 -08:00
ptp.c e1000e: fix numeric overflow in phc settime method 2013-04-25 18:30:02 -07:00
regs.h e1000e: workaround DMA unit hang on I218 2013-03-05 01:01:43 -08:00