Searched refs:kvm_restore_hw_gcsr (Results 1 – 3 of 3) sorted by relevance
/linux/arch/loongarch/kvm/ |
H A D | vcpu.c | 84 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR0); in kvm_restore_guest_pmu() 85 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR1); in kvm_restore_guest_pmu() 86 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR2); in kvm_restore_guest_pmu() 87 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR3); in kvm_restore_guest_pmu() 88 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL0); in kvm_restore_guest_pmu() 89 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL1); in kvm_restore_guest_pmu() 90 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_restore_guest_pmu() 91 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL3); in kvm_restore_guest_pmu() 1561 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_CRMD); in _kvm_vcpu_load() 1562 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PRMD); in _kvm_vcpu_load() [all …]
|
H A D | timer.c | 67 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_ESTAT); in kvm_restore_timer() 68 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_TCFG); in kvm_restore_timer() 71 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_TVAL); in kvm_restore_timer()
|
/linux/arch/loongarch/include/asm/ |
H A D | kvm_csr.h | 183 #define kvm_restore_hw_gcsr(csr, gid) (gcsr_write(csr->csrs[gid], gid)) macro
|