mbox series

[v2,0/2] arm64: Fix kcsan test_barrier fail and panic

Message ID 20220520031548.175582-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series arm64: Fix kcsan test_barrier fail and panic | expand

Message

Kefeng Wang May 20, 2022, 3:15 a.m. UTC
Fix selftest and kcsan_test() module fail when KCSAN_STRICT
and KCSAN_WEAK_MEMORY enabled on ARM64.

v2:
- Add documents about dma_mb(), suggested Mike and Will.
- drop Fixes tag and update changlog, suggested Mike.

Kefeng Wang (2):
  Documentation/barriers: Add memory barrier dma_mb()
  arm64: kcsan: Support detecting more missing memory barriers

 Documentation/memory-barriers.txt |  5 ++++-
 arch/arm64/include/asm/barrier.h  | 12 ++++++------
 include/asm-generic/barrier.h     |  4 ++++
 3 files changed, 14 insertions(+), 7 deletions(-)