]> Gentwo Git Trees - linux/.git/commit
RISC-V: KVM: add support for SBI_FWFT_MISALIGNED_DELEG
authorClément Léger <cleger@rivosinc.com>
Fri, 23 May 2025 10:19:31 +0000 (12:19 +0200)
committerAnup Patel <anup@brainfault.org>
Mon, 8 Sep 2025 04:22:57 +0000 (09:52 +0530)
commitbb053f816a8bcb0a9135fc4cc611b1cab3d82201
tree69b8908b46c3533ded2b2794fd4a1e929c75074c
parent6b72fd170592ad3fb14cadfa973908e5d63d27c8
RISC-V: KVM: add support for SBI_FWFT_MISALIGNED_DELEG

SBI_FWFT_MISALIGNED_DELEG needs hedeleg to be modified to delegate
misaligned load/store exceptions. Save and restore it during CPU
load/put.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Deepak Gupta <debug@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20250523101932.1594077-15-cleger@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_sbi_fwft.c