linux/drivers/scsi/bfa
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
..
bfa_core.c
bfa_cs.h
bfa_defs_fcs.h
bfa_defs_svc.h scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event 2018-10-16 21:45:12 -04:00
bfa_defs.h
bfa_fc.h
bfa_fcbuild.c scsi: bfa: Remove unused functions 2018-10-16 18:21:01 -04:00
bfa_fcbuild.h scsi: bfa: Remove unused functions 2018-10-16 18:21:01 -04:00
bfa_fcpim.c
bfa_fcpim.h
bfa_fcs_fcpim.c
bfa_fcs_lport.c scsi: bfa: bfa_fcs_lport: Mark expected switch fall-throughs 2019-01-11 21:47:47 -05:00
bfa_fcs_rport.c scsi: bfa: bfa_fcs_rport: Mark expected switch fall-throughs 2019-01-11 21:47:47 -05:00
bfa_fcs.c
bfa_fcs.h
bfa_hw_cb.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
bfa_hw_ct.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
bfa_ioc_cb.c
bfa_ioc_ct.c
bfa_ioc.c scsi: bfa: bfa_ioc: Mark expected switch fall-throughs 2019-01-11 21:47:47 -05:00
bfa_ioc.h
bfa_modules.h
bfa_plog.h
bfa_port.c
bfa_port.h
bfa_svc.c
bfa_svc.h
bfa.h drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
bfad_attr.c
bfad_bsg.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bfad_bsg.h
bfad_debugfs.c scsi: bfa: no need to check return value of debugfs_create functions 2019-01-29 00:40:40 -05:00
bfad_drv.h
bfad_im.c scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00
bfad_im.h scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event 2018-10-16 21:45:12 -04:00
bfad.c scsi: bfa: fix calls to dma_set_mask_and_coherent() 2019-02-25 21:44:29 -05:00
bfi_ms.h
bfi_reg.h
bfi.h
Makefile