Skip to content

tools: Add barrier implementations for riscv

Charlie Jenkins linux-riscv lkml 2 versions – Applied

Status from this message: This series was applied to riscv/linux.git (for-next)

Get series with b4
b4 am 20240806-optimize_ring_buffer_read_riscv-v2-0-ca7e193ae198@rivosinc.com change-id 20240725-optimize_ring_buffer_read_riscv-228491c4eb6e

Versions newest first

  1. v2 Latest2 patches 1 replyApplied 2/2
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2tools: Add riscv barrier implementationtools/arch/riscv/include/asm/barrier.h tools/arch/riscv/include/asm/fence.h tools/include/asm/barrier.h+54 -01 replyApplied
2/2tools: Optimize ring buffer for riscvtools/include/linux/ring_buffer.h+1 -10 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrea Parri
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] tools: Add barrier implementations for riscv

Add support for riscv specific barrier implementations to the tools tree, so that fence instructions can be emitted for synchronization.

---
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

Signature · 1 line
- Charlie