Skip to content

RFC Risc-V Svinval support

Mayuresh Chitale linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: enum for svinval extensionarch/riscv/include/asm/hwcap.h arch/riscv/kernel/cpu.c+2 -01 reply
2/2riscv: mm: use svinval instructions instead of sfence.vmaarch/riscv/include/asm/tlbflush.h arch/riscv/kernel/setup.c arch/riscv/mm/Makefile +2 more+133 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] Risc-V Svinval support

This patch adds support for the Svinval extension version 1.0 as defined in the Risc V Privileged specification. It depends on and needs to be applied on the following patchsets from Atish and Anup respectively:

https://patchwork.kernel.org/project/linux-riscv/list/?series=613234
https://patchwork.kernel.org/project/linux-riscv/list/?series=609361

The feature was tested with qemu from latest staging branch with following additional patch:
https://lists.nongnu.org/archive/html/qemu-riscv/2022-02/msg00100.html

Mayuresh Chitale (2):
riscv: enum for svinval extension
riscv: mm: use svinval instructions instead of sfence.vma

 arch/riscv/include/asm/hwcap.h    |  1 +
 arch/riscv/include/asm/tlbflush.h | 14 +++++++
 arch/riscv/kernel/cpu.c           |  1 +
 arch/riscv/kernel/setup.c         |  1 +
 arch/riscv/mm/Makefile            |  1 +
 arch/riscv/mm/tlb.S               | 53 +++++++++++++++++++++++
 arch/riscv/mm/tlbflush.c          | 70 ++++++++++++++++++++++++++++---
 7 files changed, 135 insertions(+), 6 deletions(-)
 create mode 100644 arch/riscv/mm/tlb.S
Signature · 1 line
2.25.1