linux_dsm_epyc7002/drivers/net/ethernet
Anjali Singhai Jain 233261867f i40e: rtnl_lock in reset path fixes
Any user-initiated path which eventually calls reset needs
to hold the rtnl_lock, so add functionality to do that.

Be careful not to use the safe reset when cleaning up
from the diagnostic tests, which avoids rtnl_lock
recursion from ethtool.

Protect the reset_task with rtnl_lock, since it runs from a work item.

Change-Id: Ib6e7a3fb2966809db2daf35fd5a123ccdf6f6f0f
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-12-16 01:07:31 -08:00
..
3com 3c59x/net: Use dev_is_pci() instead of hardcoding 2013-12-06 12:51:40 -05:00
8390 net: eth: 8390: remove section warning in etherh.c 2013-12-12 14:02:20 -05:00
adaptec
adi net: bfin_mac: do not reset PHY after phy_start() 2013-12-09 20:38:59 -05:00
aeroflex net: greth: use phy_read_status() 2013-12-09 20:38:58 -05:00
allwinner
alteon
amd ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
apple
arc arc_emac: remove custom "max-speed" parsing code 2013-12-06 14:57:21 -05:00
atheros
broadcom bgmac: replace some magic values with defines 2013-12-11 13:40:48 -05:00
brocade net: bna: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:28 -05:00
cadence net: macb: Fix build warning 2013-12-11 00:19:17 -05:00
calxeda
chelsio ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
cirrus
cisco
davicom
dec
dlink
emulex be2net: Free/delete pmacs (in be_clear()) only if they exist 2013-12-06 15:03:40 -05:00
faraday
freescale Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
fujitsu
hp
i825xx
ibm ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
icplus
intel i40e: rtnl_lock in reset path fixes 2013-12-16 01:07:31 -08:00
marvell net: pxa168_eth: use phy_init_hw for PHY reset 2013-12-09 20:38:59 -05:00
mellanox mlx4_core: Roll back round robin bitmap allocation commit for CQs, SRQs, and MPTs 2013-12-09 21:12:13 -05:00
micrel
microchip
moxa
myricom
natsemi net: ns83820: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:28 -05:00
neterion Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
nuvoton
nvidia Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-12-09 20:20:14 -05:00
nxp
octeon
oki-semi ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
packetengines
pasemi ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-12-09 20:20:14 -05:00
rdc
realtek
renesas sh_eth: add R8A7791 support 2013-12-10 21:47:35 -05:00
seeq
sfc Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-14 22:33:45 -05:00
sgi
silan
sis net: sis900: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:28 -05:00
smsc ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
stmicro
sun ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
tehuti net: do not pretend FRAGLIST support 2013-12-02 17:16:29 -05:00
ti net: eth: cpsw: 64-bit phys_addr_t and sparse cleanup 2013-12-11 19:53:55 -05:00
tile Merge branch 'siocghwtstamp' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2013-12-05 19:45:14 -05:00
toshiba net: tc35815: use phy_init_hw for PHY reset 2013-12-09 20:38:59 -05:00
tundra ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
via
wiznet
xilinx net: do not pretend FRAGLIST support 2013-12-02 17:16:29 -05:00
xircom ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
Makefile
netx-eth.c ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
s6gmac.c