Home
last modified time | relevance | path

Searched refs:CPUCFG6_PMP (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/kvm/loongarch/
H A Dpmu_test.c24 if (!(cfg6 & CPUCFG6_PMP)) in has_pmu_support()
45 pr_info(" Counters present: %s\n", cfg6 & CPUCFG6_PMP ? "yes" : "no"); in dump_pmu_caps()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h301 return arch->cpucfg[6] & CPUCFG6_PMP; in kvm_guest_has_pmu()
H A Dloongarch.h133 #define CPUCFG6_PMP BIT(0) macro
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c241 if (config & CPUCFG6_PMP) in cpu_probe_common()
/linux/arch/loongarch/kvm/
H A Dvcpu.c796 if (val & CPUCFG6_PMP) { in kvm_check_cpucfg()