Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dvcpu.c76 kvm_read_clear_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_save_guest_pmu()
90 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_restore_guest_pmu()
133 val |= kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2); in kvm_lose_pmu()
604 kvm_read_sw_gcsr(csr, LOONGARCH_CSR_PERFCTRL2) | in _kvm_setcsr()
H A Dmain.c189 set_gcsr_sw_flag(LOONGARCH_CSR_PERFCTRL2); in kvm_init_gcsr_flag()
/linux/arch/loongarch/include/asm/
H A Dloongarch.h907 #define LOONGARCH_CSR_PERFCTRL2 0x204 /* 32 perf event 2 config */ macro
1221 #define read_csr_perfctrl2() csr_read64(LOONGARCH_CSR_PERFCTRL2)
1229 #define write_csr_perfctrl2(val) csr_write64(val, LOONGARCH_CSR_PERFCTRL2)