aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorKefeng Wang <[email protected]>2022-05-23 19:31:25 +0800
committerWill Deacon <[email protected]>2022-06-23 18:34:58 +0100
commited59dfd9509d172e4920994ed9cbebf93b0050cc (patch)
tree836859cb481958c930fc01482806bce7126ba36c /lib/mpi/mpi-cmp.c
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e (diff)
asm-generic: Add memory barrier dma_mb()
The memory barrier dma_mb() is introduced by commit a76a37777f2c ("iommu/arm-smmu-v3: Ensure queue is read after updating prod pointer"), which is used to ensure that prior (both reads and writes) accesses to memory by a CPU are ordered w.r.t. a subsequent MMIO write. Reviewed-by: Arnd Bergmann <[email protected]> # for asm-generic Signed-off-by: Kefeng Wang <[email protected]> Reviewed-by: Marco Elver <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions