Skip to content

RISC-V runtime detection of extenstions

Oleksii Kurochko xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 10 repliesIn review
  2. v62 patches 7 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4automation: drop debian:11-riscv64 containerautomation/gitlab-ci/build.yaml automation/scripts/containerize+0 -155 replies
2/4xen/riscv: drop CONFIG_RISCV_ISA_RV64Gxen/arch/riscv/Kconfig xen/arch/riscv/arch.mk+5 -211 reply
3/4xen/riscv: make zbb as mandatoryxen/arch/riscv/arch.mk+2 -54 replies
4/4xen/riscv: identify specific ISA supported by cpuxen/arch/riscv/Makefile xen/arch/riscv/cpufeature.c xen/arch/riscv/include/asm/cpufeature.h +1 more+567 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/4
2/4R-b
3/4
4/4A-b

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

Read the v7 thread

Cover letter [PATCH for 4.21 v7 0/4] RISC-V runtime detection of extenstions

Based on riscv,isa property of device tree file parse extenstions which are available in CPU.

As a part of this feature, drop CONFIG_RISCV_ISA_RV64G and explicitly use extensions 'i', 'm', 'a', 'zicsr', 'zifencei' as they are necessary for a work if Xen and it should be true not only for RISC-V 64 (but also for 32 and 128).

Oleksii Kurochko (4):
automation: drop debian:11-riscv64 container xen/riscv: drop CONFIG_RISCV_ISA_RV64G xen/riscv: make zbb as mandatory xen/riscv: identify specific ISA supported by cpu

 automation/gitlab-ci/build.yaml         |  14 -
 automation/scripts/containerize         |   1 -
 xen/arch/riscv/Kconfig                  |  18 -
 xen/arch/riscv/Makefile                 |   1 +
 xen/arch/riscv/arch.mk                  |  13 +-
 xen/arch/riscv/cpufeature.c             | 504 ++++++++++++++++++++++++
 xen/arch/riscv/include/asm/cpufeature.h |  59 +++
 xen/arch/riscv/setup.c                  |   3 +
 8 files changed, 573 insertions(+), 40 deletions(-)
 create mode 100644 xen/arch/riscv/cpufeature.c
 create mode 100644 xen/arch/riscv/include/asm/cpufeature.h
Signature · 1 line
2.48.1