Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_PERFCNTR3 (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/loongarch/include/asm/
Dloongarch.h910 #define LOONGARCH_CSR_PERFCNTR3 0x207 /* 64 perf event 3 count value */ macro
1224 #define read_csr_perfcntr3() csr_read64(LOONGARCH_CSR_PERFCNTR3)
1232 #define write_csr_perfcntr3(val) csr_write64(val, LOONGARCH_CSR_PERFCNTR3)
/linux-6.12.1/arch/loongarch/kvm/
Dmain.c192 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCNTR3); in kvm_init_gcsr_flag()
Dvcpu.c73 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR3); in kvm_save_guest_pmu()
87 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR3); in kvm_restore_guest_pmu()
599 if (id >= LOONGARCH_CSR_PERFCTRL0 && id <= LOONGARCH_CSR_PERFCNTR3) { in _kvm_setcsr()