linux_dsm_epyc7002/drivers/net/ethernet
Gregory CLEMENT 1c2722a975 net: mvneta: Fix spinlock usage
In the previous patch, the spinlock was not initialized. While it didn't
cause any trouble yet it could be a problem to use it uninitialized.

The most annoying part was the critical section protected by the spinlock
in mvneta_stop(). Some of the functions could sleep as pointed when
activated CONFIG_DEBUG_ATOMIC_SLEEP. Actually, in mvneta_stop() we only
need to protect the is_stopped flagged, indeed the code of the notifier
for CPU online is protected by the same spinlock, so when we get the
lock, the notifer work is done.

Reported-by: Patrick Uiterwijk <patrick@puiterwijk.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-14 15:48:51 -04:00
..
3com Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
8390
adaptec
adi
aeroflex
agere et131x: check return value of dma_alloc_coherent 2016-02-17 23:32:05 -05:00
allwinner
alteon
altera net: eth: altera: do not free array priv->mdio->irq 2016-03-06 22:59:18 -05:00
amd net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
apm drivers: net: xgene: Add support for multiple queues 2016-02-17 22:08:34 -05:00
apple
arc
atheros ethernet/atl1c: remove left over dead code 2016-03-02 15:00:55 -05:00
aurora net: ethernet: nb8800: support fixed-link DT node 2016-02-24 11:32:11 -05:00
broadcom bnxt_en: Enable AER support. 2016-03-08 14:51:44 -05:00
brocade bna: fix list corruption 2016-03-01 15:19:43 -05:00
cadence net: macb: fix default configuration for GMAC on AT91 2016-03-13 22:16:22 -04:00
calxeda
cavium net: thunderx: Cleanup PHY probing code. 2016-03-14 15:27:22 -04:00
chelsio cxgb4vf: Set number of queues in pci probe only 2016-03-10 16:12:25 -05:00
cirrus
cisco cisco: enic: Update logging macros and uses 2016-03-11 15:07:48 -05:00
davicom net: ethernet: davicom: fix devicetree irq resource 2016-02-21 22:40:49 -05:00
dec net: tulip: Use setup_timer() 2016-02-25 16:51:04 -05:00
dlink
emulex Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
ezchip net: ezchip: adapt driver to little endian architecture 2016-03-03 17:20:08 -05:00
faraday
freescale fsl/fman: fix dtsec_set_tx_pause_frames 2016-03-14 15:03:10 -04:00
fujitsu fmvj18x_cs: fix incorrect indexing of dev->dev_addr[] when copying the MAC address 2016-02-21 22:08:43 -05:00
hisilicon net: hns: fix the bug about loopback 2016-03-07 15:44:51 -05:00
hp
i825xx
ibm ibmveth: check return of skb_linearize in ibmveth_start_xmit 2016-03-07 14:38:52 -05:00
intel net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
marvell net: mvneta: Fix spinlock usage 2016-03-14 15:48:51 -04:00
mediatek net: mediatek: check device_reset return code 2016-03-14 13:06:27 -04:00
mellanox mlx4: add missing braces in verify_qp_parameters 2016-03-14 13:09:49 -04:00
micrel
microchip
moxa net: moxa: fix an error code 2016-03-03 17:17:14 -05:00
myricom
natsemi
neterion
netronome
nuvoton
nvidia forcedeth: Use setup_timer() 2016-02-25 16:51:05 -05:00
nxp
octeon
oki-semi
packetengines
pasemi
qlogic qed: Enlrage the drain timeout 2016-03-11 15:20:20 -05:00
qualcomm net: qca_spi: clear IFF_TX_SKB_SHARING 2016-02-25 16:12:15 -05:00
rdc
realtek r8169:Remove unnecessary phy reset for pcie nic when setting link spped. 2016-03-13 22:32:44 -04:00
renesas sh_eth: advance 'rxdesc' later in sh_eth_ring_format() 2016-03-10 16:06:49 -05:00
rocker rocker: move ageing_time from struct rocker to struct ofdpa 2016-03-12 20:11:13 -05:00
samsung
seeq
sfc net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
sgi
silan
sis
smsc
stmicro Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-03-08 12:34:12 -05:00
sun
synopsys dwc_eth_qos: do phy_start before resetting hardware 2016-03-02 14:57:15 -05:00
tehuti
ti net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c net/ethoc: do not free array priv->mdio->irq 2016-03-06 22:58:51 -05:00
fealnx.c
jme.c jme: Fix device PM wakeup API usage 2016-03-07 15:39:45 -05:00
jme.h
Kconfig net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
korina.c
lantiq_etop.c
Makefile net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
netx-eth.c