aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/kvm/tlb.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2024-10-21 01:17:33 +0530
committerAnup Patel <[email protected]>2024-10-28 16:44:05 +0530
commit3e7d154ad89be46b41bb47a0a8a19ecf8e0ca3f3 (patch)
tree258c42aec91c5e3bd0f3bd4fb62c6b404020375d /arch/riscv/kvm/tlb.c
parent68c72a6557b072bff79658b9c0fdb0e69148e32d (diff)
RISC-V: KVM: Save trap CSRs in kvm_riscv_vcpu_enter_exit()
Save trap CSRs in the kvm_riscv_vcpu_enter_exit() function instead of the kvm_arch_vcpu_ioctl_run() function so that HTVAL and HTINST CSRs are accessed in more optimized manner while running under some other hypervisor. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'arch/riscv/kvm/tlb.c')
0 files changed, 0 insertions, 0 deletions