Linux Documentation
 help / color / mirror / Atom feed
* [PATCH v3 0/2] arm64: Fix kcsan test_barrier fail and panic
@ 2022-05-23  2:00 Kefeng Wang
  2022-05-23  2:00 ` [PATCH v3 1/2] asm-generic: Add memory barrier dma_mb() Kefeng Wang
  2022-05-23  2:00 ` [PATCH v3 2/2] arm64: kcsan: Support detecting more missing memory barriers Kefeng Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Kefeng Wang @ 2022-05-23  2:00 UTC (permalink / raw)
  To: elver, catalin.marinas, will, linux-arm-kernel, linux-kernel,
	mark.rutland, Jonathan Corbet
  Cc: linux-doc, Kefeng Wang

Fix selftest and kcsan_test() module fail when KCSAN_STRICT
and KCSAN_WEAK_MEMORY enabled on ARM64.

v3:
- update dma_mb()'s description and add the generic definition,
  also asm-generic change is moved into patch1, suggested by Marco.
v2:
- Add documents about dma_mb(), suggested by Mike and Will.
- drop Fixes tag and update changlog, suggested by Mike.

Kefeng Wang (2):
  asm-generic: Add memory barrier dma_mb()
  arm64: kcsan: Support detecting more missing memory barriers

 Documentation/memory-barriers.txt | 11 ++++++-----
 arch/arm64/include/asm/barrier.h  | 12 ++++++------
 include/asm-generic/barrier.h     |  8 ++++++++
 3 files changed, 20 insertions(+), 11 deletions(-)

-- 
2.35.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-23 10:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-23  2:00 [PATCH v3 0/2] arm64: Fix kcsan test_barrier fail and panic Kefeng Wang
2022-05-23  2:00 ` [PATCH v3 1/2] asm-generic: Add memory barrier dma_mb() Kefeng Wang
2022-05-23  8:22   ` Marco Elver
2022-05-23 10:46     ` Kefeng Wang
2022-05-23  9:36   ` Arnd Bergmann
2022-05-23  2:00 ` [PATCH v3 2/2] arm64: kcsan: Support detecting more missing memory barriers Kefeng Wang
2022-05-23  8:23   ` Marco Elver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox