Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/include/asm/
Dloongarch.h908 #define LOONGARCH_CSR_PERFCNTR2 0x205 /* 64 perf event 2 count value */ macro
1222 #define read_csr_perfcntr2() csr_read64(LOONGARCH_CSR_PERFCNTR2)
1230 #define write_csr_perfcntr2(val) csr_write64(val, LOONGARCH_CSR_PERFCNTR2)
/linux-6.12.1/arch/loongarch/kvm/
Dmain.c190 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCNTR2); in kvm_init_gcsr_flag()
Dvcpu.c72 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR2); in kvm_save_guest_pmu()
86 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCNTR2); in kvm_restore_guest_pmu()