linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
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
..
ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
cmd.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cmd.h RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
cong.c infiniband: mlx5: no need to check return value of debugfs_create functions 2019-01-24 09:22:29 -07:00
cq.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
devx.c IB/mlx5: Use mlx5 core to create/destroy a DEVX DCT 2019-03-17 21:40:39 -03:00
doorbell.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
flow.c RDMA/mlx5: Fix flow creation on representors 2019-01-25 11:58:06 -07:00
gsi.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
ib_rep.c 5.1 Merge Window Pull Request 2019-03-09 15:53:03 -08:00
ib_rep.h IB/mlx5: Use unified register/load function for uplink and VF vports 2019-02-14 12:14:41 -08:00
ib_virt.c IB/mlx5: Restore IB guid/policy for virtual functions 2017-07-24 10:34:28 -04:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
mad.c RDMA/mad: Reduce MAD scope to mlx5_ib only 2019-01-15 10:02:29 +02:00
main.c IB/mlx5: Fix mapping of link-mode to IB width and speed 2019-03-17 21:40:39 -03:00
Makefile net/mlx5: Move SRQ functions to RDMA part 2018-12-04 09:14:30 +02:00
mem.c RDMA/mlx5: Embed into the code flow the ODP config option 2019-01-08 16:41:38 -07:00
mlx5_ib.h IB/mlx5: Protect against prefetch of invalid MR 2019-02-21 16:32:45 -07:00
mr.c IB/mlx5: Protect against prefetch of invalid MR 2019-02-21 16:32:45 -07:00
odp.c IB/mlx5: Set correct write permissions for implicit ODP MR 2019-03-04 10:57:19 -04:00
qp.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
srq_cmd.c IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00
srq.c IB/{hw,sw}: Remove 'uobject->context' dependency in object creation APIs 2019-02-15 15:38:38 -07:00
srq.h IB/mlx5: Fix the locking of SRQ objects in ODP events 2019-02-04 14:34:06 -07:00