Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/arm/
Dpmu.c38 reg = (select_idx == ARMV8_PMU_CYCLE_IDX) in kvm_pmu_get_counter_value()
62 reg = (select_idx == ARMV8_PMU_CYCLE_IDX) in kvm_pmu_set_counter_value()
79 reg = (pmc->idx == ARMV8_PMU_CYCLE_IDX) in kvm_pmu_stop_counter()
132 return BIT(ARMV8_PMU_CYCLE_IDX); in kvm_pmu_valid_counter_mask()
134 return GENMASK(val - 1, 0) | BIT(ARMV8_PMU_CYCLE_IDX); in kvm_pmu_valid_counter_mask()
320 for (i = 0; i < ARMV8_PMU_CYCLE_IDX; i++) { in kvm_pmu_software_increment()
357 kvm_pmu_set_counter_value(vcpu, ARMV8_PMU_CYCLE_IDX, 0); in kvm_pmu_handle_pmcr()
360 for (i = 0; i < ARMV8_PMU_CYCLE_IDX; i++) in kvm_pmu_handle_pmcr()
365 pmc = &pmu->pmc[ARMV8_PMU_CYCLE_IDX]; in kvm_pmu_handle_pmcr()
400 select_idx != ARMV8_PMU_CYCLE_IDX) in kvm_pmu_set_counter_event_type()
[all …]
/Linux-v4.19/include/kvm/
Darm_pmu.h24 #define ARMV8_PMU_CYCLE_IDX (ARMV8_PMU_MAX_COUNTERS - 1) macro
/Linux-v4.19/arch/arm64/kvm/
Dsys_regs.c739 if (idx >= val && idx != ARMV8_PMU_CYCLE_IDX) { in pmu_counter_idx_valid()
769 idx = ARMV8_PMU_CYCLE_IDX; in access_pmu_evcntr()
778 idx = ARMV8_PMU_CYCLE_IDX; in access_pmu_evcntr()
821 if (idx == ARMV8_PMU_CYCLE_IDX) in access_pmu_evtyper()