1
0
Fork 0
alistair23-linux/include/linux/qed
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
..
common_hsi.h qed*: Utilize FW 8.37.7.0 2018-09-06 07:44:35 -07:00
eth_common.h qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
fcoe_common.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
iscsi_common.h qed*: Utilize FW 8.37.7.0 2018-09-06 07:44:35 -07:00
iwarp_common.h qed*: Refactoring and rearranging FW API with no functional impact 2018-01-02 13:59:15 -05:00
qed_chain.h qed: Fix qed_chain_set_prod() for PBL chains with non power of 2 page count 2019-01-04 12:57:30 -08:00
qed_eth_if.h qed/qede: Multi CoS support. 2018-08-09 14:05:30 -07:00
qed_fcoe_if.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qed_if.h drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
qed_iov_if.h
qed_iscsi_if.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qed_ll2_if.h qed: Add support for Unified Fabric Port. 2018-05-07 23:46:10 -04:00
qed_rdma_if.h RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest 2018-09-30 19:21:11 -06:00
qede_rdma.h qede: Error recovery process 2019-01-28 10:58:41 -08:00
rdma_common.h qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
roce_common.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
storage_common.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
tcp_common.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00