diff options
author | Anup Patel <[email protected]> | 2021-09-27 17:10:05 +0530 |
---|---|---|
committer | Anup Patel <[email protected]> | 2021-10-04 15:49:57 +0530 |
commit | 34bde9d8b9e6e5249db3c07cf1ebfe75c23c671c (patch) | |
tree | ff74abdabe5103aae8533e738446e2b0df2be4c8 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 92ad82002c39ede73b397d17ba7ab9842517dbe5 (diff) |
RISC-V: KVM: Implement VCPU world-switch
This patch implements the VCPU world-switch for KVM RISC-V.
The KVM RISC-V world-switch (i.e. __kvm_riscv_switch_to()) mostly
switches general purpose registers, SSTATUS, STVEC, SSCRATCH and
HSTATUS CSRs. Other CSRs are switched via vcpu_load() and vcpu_put()
interface in kvm_arch_vcpu_load() and kvm_arch_vcpu_put() functions
respectively.
Signed-off-by: Anup Patel <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Reviewed-by: Alexander Graf <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions