All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/6] RISC-V runtime detection of extenstions
@ 2025-02-28 20:07 Oleksii Kurochko
  2025-02-28 20:07 ` [PATCH v8 1/6] xen/README: add compiler and binutils versions for RISCV-64 Oleksii Kurochko
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Oleksii Kurochko @ 2025-02-28 20:07 UTC (permalink / raw)
  To: xen-devel
  Cc: Oleksii Kurochko, Andrew Cooper, Anthony PERARD, Michal Orzel,
	Jan Beulich, Julien Grall, Roger Pau Monné,
	Stefano Stabellini, Doug Goldstein, Alistair Francis,
	Bob Eshleman, Connor Davis

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)

---
Changes in v8:
 - Add patch from Andrew which use Zbb to provide arch-optimised bitops
   as in this patch series we made zbb mandatory.
 - Other changes are patch specific please look at specific patch
---

Andrew Cooper (1):
  RISCV/bitops: Use Zbb to provide arch-optimised bitops

Oleksii Kurochko (5):
  xen/README: add compiler and binutils versions for RISCV-64
  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

 README                                  |   3 +
 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/bitops.h     |   7 +
 xen/arch/riscv/include/asm/cmpxchg.h    |  15 +-
 xen/arch/riscv/include/asm/config.h     |   4 +
 xen/arch/riscv/include/asm/cpufeature.h |  59 +++
 xen/arch/riscv/setup.c                  |   3 +
 12 files changed, 588 insertions(+), 54 deletions(-)
 create mode 100644 xen/arch/riscv/cpufeature.c
 create mode 100644 xen/arch/riscv/include/asm/cpufeature.h

-- 
2.48.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-03-05 23:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 20:07 [PATCH v8 0/6] RISC-V runtime detection of extenstions Oleksii Kurochko
2025-02-28 20:07 ` [PATCH v8 1/6] xen/README: add compiler and binutils versions for RISCV-64 Oleksii Kurochko
2025-03-05  8:24   ` Jan Beulich
2025-02-28 20:07 ` [PATCH v8 2/6] automation: drop debian:11-riscv64 container Oleksii Kurochko
2025-03-05 23:27   ` Stefano Stabellini
2025-02-28 20:07 ` [PATCH v8 3/6] xen/riscv: drop CONFIG_RISCV_ISA_RV64G Oleksii Kurochko
2025-02-28 20:07 ` [PATCH v8 4/6] xen/riscv: make zbb as mandatory Oleksii Kurochko
2025-03-05 14:30   ` Jan Beulich
2025-02-28 20:07 ` [PATCH v8 5/6] xen/riscv: identify specific ISA supported by cpu Oleksii Kurochko
2025-02-28 20:07 ` [PATCH v8 6/6] RISCV/bitops: Use Zbb to provide arch-optimised bitops Oleksii Kurochko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.