[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231127103235.28442-1-parri.andrea@gmail.com>
Date: Mon, 27 Nov 2023 11:32:33 +0100
From: Andrea Parri <parri.andrea@...il.com>
To: mathieu.desnoyers@...icios.com, paulmck@...nel.org,
palmer@...belt.com, paul.walmsley@...ive.com, aou@...s.berkeley.edu
Cc: mmaas@...gle.com, hboehm@...gle.com, striker@...ibm.com,
charlie@...osinc.com, rehn@...osinc.com,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Andrea Parri <parri.andrea@...il.com>
Subject: [PATCH 0/2] membarrier: riscv: Provide core serializing command
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@gmail.com
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
Powered by blists - more mailing lists