[PATCH 0/2] membarrier: riscv: Provide core serializing command
From: Andrea Parri
Date: Mon Nov 27 2023 - 05:32:54 EST
Following the RFC discussion at [1].
Andrea
Changes since RFC:
- add prepare_sync_core_cmd()
- add #ifdeffery for nosmp builds
[1] https://lkml.kernel.org/r/20230803040111.5101-1-parri.andrea@xxxxxxxxx
Andrea Parri (2):
locking: Introduce prepare_sync_core_cmd()
membarrier: riscv: Provide core serializing command
.../membarrier-sync-core/arch-support.txt | 2 +-
arch/riscv/Kconfig | 3 ++
arch/riscv/include/asm/sync_core.h | 29 +++++++++++++++++++
include/linux/sync_core.h | 16 +++++++++-
init/Kconfig | 3 ++
kernel/sched/membarrier.c | 1 +
6 files changed, 52 insertions(+), 2 deletions(-)
create mode 100644 arch/riscv/include/asm/sync_core.h
--
2.34.1