Skip to content

riscv: add support for Zaamo and Zalrsc extensions

Clément Léger kvm kvm-riscv linux-devicetree linux-doc linux-kselftest linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: riscv: add Zaamo and Zalrsc ISA extension descriptionDocumentation/devicetree/bindings/riscv/extensions.yaml+19 -01 reply
2/5riscv: add parsing for Zaamo and Zalrsc extensionsarch/riscv/include/asm/hwcap.h arch/riscv/kernel/cpufeature.c+10 -11 reply
3/5riscv: hwprobe: export Zaamo and Zalrsc extensionsDocumentation/arch/riscv/hwprobe.rst arch/riscv/include/uapi/asm/hwprobe.h arch/riscv/kernel/sys_hwprobe.c+12 -01 reply
4/5RISC-V: KVM: Allow Zaamo/Zalrsc extensions for Guest/VMarch/riscv/include/uapi/asm/kvm.h arch/riscv/kvm/vcpu_onereg.c+6 -01 reply
5/5KVM: riscv: selftests: Add Zaamo/Zalrsc extensions to get-reg-list testtools/testing/selftests/kvm/riscv/get-reg-list.c+8 -01 reply

Reviews trailers per patch

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

PatchConor DooleyCharlie JenkinsAnup Patel
1/5A-b
2/5A-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] riscv: add support for Zaamo and Zalrsc extensions

Since commit e87412e621f1 ("integrate Zaamo and Zalrsc text (#1304)"), the A extension has been described as a set of instructions provided by Zaamo and Zalrsc. Add these two extensions.

This series is based on the Zc one [1].

---

Cl?ment L?ger (5):
dt-bindings: riscv: add Zaamo and Zalrsc ISA extension description
riscv: add parsing for Zaamo and Zalrsc extensions
riscv: hwprobe: export Zaamo and Zalrsc extensions
RISC-V: KVM: Allow Zaamo/Zalrsc extensions for Guest/VM
KVM: riscv: selftests: Add Zaamo/Zalrsc extensions to get-reg-list
test

 Documentation/arch/riscv/hwprobe.rst          |  8 ++++++++
 .../devicetree/bindings/riscv/extensions.yaml | 19 +++++++++++++++++++
 arch/riscv/include/asm/hwcap.h                |  2 ++
 arch/riscv/include/uapi/asm/hwprobe.h         |  2 ++
 arch/riscv/include/uapi/asm/kvm.h             |  2 ++
 arch/riscv/kernel/cpufeature.c                |  9 ++++++++-
 arch/riscv/kernel/sys_hwprobe.c               |  2 ++
 arch/riscv/kvm/vcpu_onereg.c                  |  4 ++++
 .../selftests/kvm/riscv/get-reg-list.c        |  8 ++++++++
 9 files changed, 55 insertions(+), 1 deletion(-)
Signature · 1 line
2.45.2