Re: [PATCH v1] xen/riscv: add H extenstion to -march

2025-03-11 Thread Oleksii Kurochko
On 3/11/25 4:48 PM, Jan Beulich wrote: On 11.03.2025 16:45, Oleksii Kurochko wrote: --- a/xen/arch/riscv/arch.mk +++ b/xen/arch/riscv/arch.mk @@ -9,7 +9,8 @@ riscv-abi-$(CONFIG_RISCV_64) := -mabi=lp64 riscv-march-$(CONFIG_RISCV_64) := rv64 riscv-march-y += ima riscv-march-$(CONFIG_RISCV_I

Re: [PATCH v1] xen/riscv: add H extenstion to -march

2025-03-11 Thread Jan Beulich
On 11.03.2025 16:45, Oleksii Kurochko wrote: > --- a/xen/arch/riscv/arch.mk > +++ b/xen/arch/riscv/arch.mk > @@ -9,7 +9,8 @@ riscv-abi-$(CONFIG_RISCV_64) := -mabi=lp64 > riscv-march-$(CONFIG_RISCV_64) := rv64 > riscv-march-y += ima > riscv-march-$(CONFIG_RISCV_ISA_C) += c > -riscv-march-y += _zi

[PATCH v1] xen/riscv: add H extenstion to -march

2025-03-11 Thread Oleksii Kurochko
H provides additional instructions and CSRs that control the new stage of address translation and support hosting a guest OS in virtual S-mode (VS-mode). According to the Unprivileged Architecture (version 20240411) specification: ``` Table 74 summarizes the standardized extension names. The table