linux-yocto/arch/riscv
Anup Patel 2a673aca82 RISC-V: KVM: Don't treat SBI HFENCE calls as NOPs
[ Upstream commit 2e7be16299 ]

The SBI specification clearly states that SBI HFENCE calls should
return SBI_ERR_NOT_SUPPORTED when one of the target hart doesn’t
support hypervisor extension (aka nested virtualization in-case
of KVM RISC-V).

Fixes: c7fa3c48de ("RISC-V: KVM: Treat SBI HFENCE calls as NOPs")
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20250605061458.196003-3-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-27 11:09:04 +01:00
..
boot riscv: dts: starfive: Fix a typo in StarFive JH7110 pin function definitions 2025-03-28 21:59:54 +01:00
configs Kbuild updates for v6.6 2023-09-05 11:01:47 -07:00
errata RISC-V: errata: Use medany for relocatable builds 2025-04-10 14:37:39 +02:00
include riscv: Allow NOMMU kernels to access all of RAM 2025-06-04 14:41:54 +02:00
kernel riscv: Pass patch_text() the length in bytes 2025-05-09 09:44:03 +02:00
kvm RISC-V: KVM: Don't treat SBI HFENCE calls as NOPs 2025-06-27 11:09:04 +01:00
lib
mm riscv: Fix hugetlb retrieval of number of ptes in case of !present pte 2025-04-10 14:37:39 +02:00
net riscv: Pass patch_text() the length in bytes 2025-05-09 09:44:03 +02:00
purgatory riscv/purgatory: align riscv_kernel_entry 2024-11-14 13:19:38 +01:00
tools
Kbuild
Kconfig riscv: Fix kernel stack size when KASAN is enabled 2024-10-10 11:57:53 +02:00
Kconfig.debug
Kconfig.errata riscv: only select DMA_DIRECT_REMAP from RISCV_ISA_ZICBOM and ERRATA_THEAD_PBMT 2023-10-26 09:42:38 +02:00
Kconfig.socs riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE 2023-12-13 18:45:35 +01:00
Makefile kbuild: unify vdso_install rules 2024-06-12 11:12:32 +02:00
Makefile.postlink