linux-stable/Documentation
Kefeng Wang 5cd4c42f32 asm-generic: Add memory barrier dma_mb()
[ Upstream commit ed59dfd950 ]

The memory barrier dma_mb() is introduced by commit a76a37777f
("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 <arnd@arndb.de> # for asm-generic
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Marco Elver <elver@google.com>
Link: https://lore.kernel.org/r/20220523113126.171714-2-wangkefeng.wang@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Stable-dep-of: aa6956150f ("wifi: ath11k: fix dest ring-buffer corruption when ring is full")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:22:57 +02:00
..
ABI x86/bugs: Add a Transient Scheduler Attacks mitigation 2025-07-17 18:28:00 +02:00
accounting
admin-guide x86/bugs: Add a Transient Scheduler Attacks mitigation 2025-07-17 18:28:00 +02:00
arm
arm64
block
bpf
cdrom
core-api
cpu-freq
crypto
dev-tools
devicetree dt-bindings: serial: 8250: Make clocks and clock-frequency exclusive 2025-07-17 18:27:42 +02:00
doc-guide
driver-api
fault-injection
fb
features
filesystems f2fs: doc: fix wrong quota mount option description 2025-08-28 16:22:36 +02:00
firmware_class
firmware-guide Documentation: ACPI: Fix parent device references 2025-08-28 16:22:39 +02:00
fpga
gpu
hid
hwmon
i2c
ia64
ide
iio
infiniband
input
isdn
kbuild
kernel-hacking
leds
litmus-tests
livepatch
locking
m68k
maintainer
mhi
mips
misc-devices
netlabel
networking
nios2
nvdimm
openrisc
parisc
PCI
pcmcia
power
powerpc
process
RCU
riscv
s390
scheduler
scsi
security
sh
sound
sparc
sphinx
sphinx-static
spi
staging
target
timers sched/isolation: Prevent boot crash when the boot CPU is nohz_full 2025-04-10 14:30:48 +02:00
trace
translations
usb
userspace-api
virt
vm
w1
watchdog
x86
xtensa
.gitignore
asm-annotations.rst
atomic_bitops.txt
atomic_t.txt
Changes
CodingStyle
conf.py
COPYING-logo
docutils.conf
dontdiff
index.rst
Kconfig
logo.gif
Makefile
memory-barriers.txt asm-generic: Add memory barrier dma_mb() 2025-08-28 16:22:57 +02:00
SubmittingPatches
watch_queue.rst