Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.c787 static bool check_pmu_access_disabled(struct kvm_vcpu *vcpu, u64 flags) in check_pmu_access_disabled() function
800 return check_pmu_access_disabled(vcpu, ARMV8_PMU_USERENR_EN); in pmu_access_el0_disabled()
805 return check_pmu_access_disabled(vcpu, ARMV8_PMU_USERENR_SW | ARMV8_PMU_USERENR_EN); in pmu_write_swinc_el0_disabled()
810 return check_pmu_access_disabled(vcpu, ARMV8_PMU_USERENR_CR | ARMV8_PMU_USERENR_EN); in pmu_access_cycle_counter_el0_disabled()
815 return check_pmu_access_disabled(vcpu, ARMV8_PMU_USERENR_ER | ARMV8_PMU_USERENR_EN); in pmu_access_event_counter_el0_disabled()
1036 if (check_pmu_access_disabled(vcpu, 0)) in access_pminten()