diff options
author | Anup Patel <apatel@ventanamicro.com> | 2024-10-20 22:47:24 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-10-28 14:13:43 +0300 |
commit | b922307a5fecfcf33ca1697f6ec33c9274b75c46 (patch) | |
tree | b17428c31d078752e415d01b5b75250e1cbbbda5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b6114a7e2433e91fedee3ed983abf77b3ebc167c (diff) | |
download | linux-b922307a5fecfcf33ca1697f6ec33c9274b75c46.tar.xz |
RISC-V: KVM: Save/restore SCOUNTEREN in C source
The SCOUNTEREN CSR need not be saved/restored in the low-level
__kvm_riscv_switch_to() function hence move the SCOUNTEREN CSR
save/restore to the kvm_riscv_vcpu_swap_in_guest_state() and
kvm_riscv_vcpu_swap_in_host_state() functions in C sources.
Also, re-arrange the CSR save/restore and related GPR usage in
the low-level __kvm_riscv_switch_to() low-level function.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20241020194734.58686-4-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions