Skip to content

Risc-V cache operations

Mayuresh Chitale u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v13 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- Use cache functions in generic cache code instead of board specific code
- Print the zicbom init status in case of a failure

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: Add support for defining instructionsarch/riscv/include/asm/insn-def.h+42 -01 reply
2/2riscv: cache: Add CBO instructionsarch/riscv/Kconfig arch/riscv/lib/cache.c+100 -01 reply

Reviews trailers per patch

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

PatchLeo Yu-Chi Liang
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] Risc-V cache operations

This patchset adds support for using the CBO instructions to perform the dcache flush/inval operations for the qemu-riscv board when those are enabled. The CBO instructions are defined in the Risc-V CMO specification which can be found at the link below:
https://github.com/riscv/riscv-CMOs/blob/master/specifications/cmobase-v1.0.pdf

Changes in v2:
- Use cache functions in generic cache code instead of board specific code
- Print the zicbom init status in case of a failure

Mayuresh Chitale (2):
riscv: Add support for defining instructions
riscv: cache: Add CBO instructions

 arch/riscv/Kconfig                |  4 ++
 arch/riscv/include/asm/insn-def.h | 42 ++++++++++++++
 arch/riscv/lib/cache.c            | 96 +++++++++++++++++++++++++++++++
 3 files changed, 142 insertions(+)
 create mode 100644 arch/riscv/include/asm/insn-def.h
Signature · 1 line
2.34.1