kernel_optimize_test/drivers/firewire
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
..
core-card.c
core-cdev.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
core-device.c
core-iso.c FireWire: clean up core-iso.c kernel-doc 2018-09-06 09:41:04 -06:00
core-topology.c treewide: Use struct_size() for kmalloc()-family 2018-06-06 11:15:43 -07:00
core-transaction.c FireWire: clean up core-transaction.c kernel-doc 2018-09-06 09:41:09 -06:00
core.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
init_ohci1394_dma.c
Kconfig firewire: Remove depends on HAS_DMA in case of platform dependency 2018-12-03 18:45:14 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
net.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
nosy-user.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nosy.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
nosy.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ohci.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
ohci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sbp2.c scsi: communicate max segment size to the DMA mapping code 2019-01-22 20:40:59 -05:00