Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/
Dpmu.c128 u64 val = __vcpu_sys_reg(vcpu, PMCR_EL0) >> ARMV8_PMU_PMCR_N_SHIFT; in kvm_pmu_valid_counter_mask()
150 if (!(__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E) || !val) in kvm_pmu_enable_counter()
196 if ((__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E)) { in kvm_pmu_overflow_status()
372 return (__vcpu_sys_reg(vcpu, PMCR_EL0) & ARMV8_PMU_PMCR_E) && in kvm_pmu_counter_is_enabled()
/Linux-v4.19/arch/arm64/include/asm/
Dkvm_host.h133 PMCR_EL0, /* Control Register */ enumerator
/Linux-v4.19/arch/arm64/kvm/
Dsys_regs.c629 __vcpu_sys_reg(vcpu, PMCR_EL0) = val; in reset_pmcr()
676 val = __vcpu_sys_reg(vcpu, PMCR_EL0); in access_pmcr()
679 __vcpu_sys_reg(vcpu, PMCR_EL0) = val; in access_pmcr()
683 val = __vcpu_sys_reg(vcpu, PMCR_EL0) in access_pmcr()
737 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0); in pmu_counter_idx_valid()