Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kvm/
Dpmu-emul.c46 __vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_LC); in kvm_pmu_idx_is_64bit()
292 u64 val = __vcpu_sys_reg(vcpu, PMCR_EL0) >> ARMV8_PMU_PMCR_N_SHIFT; in kvm_pmu_valid_counter_mask()
314 if (!(__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E) || !val) in kvm_pmu_enable_counter_mask()
372 if ((__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E)) { in kvm_pmu_overflow_status()
520 if (!(__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E)) in kvm_pmu_software_increment()
589 return (__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E) && in kvm_pmu_counter_is_enabled()
Dsys_regs.c726 val = __vcpu_sys_reg(vcpu, PMCR_EL0); in access_pmcr()
731 __vcpu_sys_reg(vcpu, PMCR_EL0) = val; in access_pmcr()
736 val = __vcpu_sys_reg(vcpu, PMCR_EL0) in access_pmcr()
787 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0); in pmu_counter_idx_valid()
1614 { SYS_DESC(SYS_PMCR_EL0), access_pmcr, reset_pmcr, PMCR_EL0 },
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_host.h161 PMCR_EL0, /* Control Register */ enumerator