linux/drivers/net/ethernet/sfc
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
..
falcon drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
bitfield.h
ef10_regs.h
ef10_sriov.c sfc: remove redundant variable old_vlan 2018-07-04 22:39:11 +09:00
ef10_sriov.h
ef10.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-15 12:38:38 -08:00
efx.c sfc: ensure recovery after allocation failures 2019-02-14 12:47:16 -05:00
efx.h sfc: ARFS filter IDs 2018-04-24 13:48:22 -04:00
enum.h
ethtool.c net: core: dev: Add extack argument to dev_open() 2018-12-06 13:26:06 -08:00
farch_regs.h
farch.c sfc: correctly initialise filter rwsem for farch 2018-06-30 21:13:37 +09:00
filter.h
io.h drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
Kconfig
Makefile net: ethernet: sfc: Make subdir logic consistent with other vendors 2018-07-05 20:05:54 +09:00
mcdi_mon.c
mcdi_pcol.h sfc: add bundle partition definitions to mtd 2019-02-08 11:41:21 -08:00
mcdi_port.c
mcdi.c sfc: extend MTD support for newer hardware 2019-01-17 12:10:14 -08:00
mcdi.h
mtd.c sfc: extend MTD support for newer hardware 2019-01-17 12:10:14 -08:00
net_driver.h sfc: batch up RX delivery 2018-07-04 14:06:19 +09:00
nic.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
nic.h
ptp.c
rx.c sfc: ensure recovery after allocation failures 2019-02-14 12:47:16 -05:00
selftest.c
selftest.h
siena_sriov.c
siena_sriov.h
siena.c
sriov.c
sriov.h
tx_tso.c
tx.c sfc: Replace dev_kfree_skb_any by dev_consume_skb_any 2019-02-14 12:26:50 -05:00
tx.h
vfdi.h
workarounds.h