Home
last modified time | relevance | path

Searched refs:CPUCFG6_PMNUM (Results 1 – 4 of 4) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dkvm_host.h272 return (arch->cpucfg[6] & CPUCFG6_PMNUM) >> CPUCFG6_PMNUM_SHIFT; in kvm_get_pmu_num()
H A Dloongarch.h122 #define CPUCFG6_PMNUM GENMASK(7, 4) macro
/linux/arch/loongarch/kernel/
H A Dperf_event.c855 counters = ((read_cpucfg(LOONGARCH_CPUCFG6) & CPUCFG6_PMNUM) >> 4) + 1; in init_hw_perf_events()
/linux/arch/loongarch/kvm/
H A Dvcpu.c710 if ((val & CPUCFG6_PMNUM) > (host & CPUCFG6_PMNUM)) in kvm_check_cpucfg()