diff options
| author | Anup Patel <[email protected]> | 2024-10-20 19:47:33 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-10-28 11:14:05 +0000 |
| commit | 3e7d154ad89be46b41bb47a0a8a19ecf8e0ca3f3 (patch) | |
| tree | 258c42aec91c5e3bd0f3bd4fb62c6b404020375d /rust/helpers/helpers.c | |
| parent | RISC-V: KVM: Use SBI sync SRET call when available (diff) | |
| download | kernel-3e7d154ad89be46b41bb47a0a8a19ecf8e0ca3f3.tar.gz kernel-3e7d154ad89be46b41bb47a0a8a19ecf8e0ca3f3.zip | |
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
