[PATCH v2 0/2] tools: Add barrier implementations for riscv
Charlie Jenkins
charlie at rivosinc.com
Tue Aug 6 15:01:22 PDT 2024
Add support for riscv specific barrier implementations to the tools
tree, so that fence instructions can be emitted for synchronization.
Signed-off-by: Charlie Jenkins <charlie at rivosinc.com>
---
Changes in v2:
- Fix typo in commit message
- Link to v1: https://lore.kernel.org/r/20240729-optimize_ring_buffer_read_riscv-v1-0-6bbc0f2434ee@rivosinc.com
---
Charlie Jenkins (2):
tools: Add riscv barrier implementation
tools: Optimize ring buffer for riscv
tools/arch/riscv/include/asm/barrier.h | 39 ++++++++++++++++++++++++++++++++++
tools/arch/riscv/include/asm/fence.h | 13 ++++++++++++
tools/include/asm/barrier.h | 2 ++
tools/include/linux/ring_buffer.h | 2 +-
4 files changed, 55 insertions(+), 1 deletion(-)
---
base-commit: 0c3836482481200ead7b416ca80c68a29cfdaabd
change-id: 20240725-optimize_ring_buffer_read_riscv-228491c4eb6e
--
- Charlie
More information about the linux-riscv
mailing list