linux/drivers/net/wireless/broadcom/b43
Will Deacon fb24ea52f7 drivers: Remove explicit invocations of mmiowb()
mmiowb() is now implied by spin_unlock() on architectures that require
it, so there is no reason to call it from driver code. This patch was
generated using coccinelle:

	@mmiowb@
	@@
	- mmiowb();

and invoked as:

$ for d in drivers include/linux/qed sound; do \
spatch --include-headers --sp-file mmiowb.cocci --dir $d --in-place; done

NOTE: mmiowb() has only ever guaranteed ordering in conjunction with
spin_unlock(). However, pairing each mmiowb() removal in this patch with
the corresponding call to spin_unlock() is not at all trivial, so there
is a small chance that this change may regress any drivers incorrectly
relying on mmiowb() to order MMIO writes between CPUs using lock-free
synchronisation. If you've ended up bisecting to this commit, you can
reintroduce the mmiowb() calls using wmb() instead, which should restore
the old behaviour on all architectures other than some esoteric ia64
systems.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2019-04-08 12:01:02 +01:00
..
b43.h b43: fix spelling mistake "hw_registred" -> "hw_registered" 2018-10-01 18:41:34 +03:00
bus.c
bus.h
debugfs.c b43: no need to check return value of debugfs_create functions 2019-02-01 14:35:24 +02:00
debugfs.h
dma.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
dma.h
Kconfig b43: Use cordic algorithm from kernel library 2018-11-29 17:30:50 +02:00
leds.c
leds.h
lo.c
lo.h
main.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
main.h
Makefile
phy_a.h
phy_ac.c
phy_ac.h
phy_common.c b43: Use cordic algorithm from kernel library 2018-11-29 17:30:50 +02:00
phy_common.h b43: Use cordic algorithm from kernel library 2018-11-29 17:30:50 +02:00
phy_g.c
phy_g.h
phy_ht.c
phy_ht.h
phy_lcn.c
phy_lcn.h
phy_lp.c b43: Use cordic algorithm from kernel library 2018-11-29 17:30:50 +02:00
phy_lp.h
phy_n.c b43: remove set but not used variables 'tx_pwr_state,tmp2' 2018-12-13 17:02:17 +02:00
phy_n.h
pio.c
pio.h
ppr.c
ppr.h
radio_2055.c
radio_2055.h
radio_2056.c
radio_2056.h
radio_2057.c
radio_2057.h
radio_2059.c
radio_2059.h
rfkill.c
rfkill.h
sdio.c
sdio.h
sysfs.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
sysfs.h
tables.c
tables.h
tables_lpphy.c
tables_lpphy.h
tables_nphy.c
tables_nphy.h
tables_phy_ht.c
tables_phy_ht.h
tables_phy_lcn.c
tables_phy_lcn.h
wa.c
wa.h
xmit.c
xmit.h