Searched refs:pmcr_n (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | vpmu_counter_access.c | 48 static void set_pmcr_n(uint64_t *pmcr, uint64_t pmcr_n) in set_pmcr_n() argument 50 u64p_replace_bits((__u64 *) pmcr, pmcr_n, ARMV8_PMU_PMCR_N); in set_pmcr_n() 216 uint64_t pmcr_n, test_bit = BIT(pmc_idx); in test_bitmap_pmu_regs() local 225 pmcr_n = get_pmcr_n(read_sysreg(pmcr_el0)); in test_bitmap_pmu_regs() 226 set_expected = (pmc_idx < pmcr_n) ? true : false; in test_bitmap_pmu_regs() 362 uint64_t pmcr, pmcr_n, unimp_mask; in guest_code() local 370 pmcr_n = get_pmcr_n(pmcr); in guest_code() 373 __GUEST_ASSERT(pmcr_n == expected_pmcr_n, in guest_code() 375 expected_pmcr_n, pmcr_n); in guest_code() 383 unimp_mask = GENMASK_ULL(ARMV8_PMU_MAX_GENERAL_COUNTERS - 1, pmcr_n); in guest_code() [all …]
|
/linux-6.12.1/arch/arm64/kvm/ |
D | pmu-emul.c | 924 kvm->arch.pmcr_n = kvm_arm_pmu_get_max_counters(kvm); in kvm_arm_set_pmu() 1140 return u64_replace_bits(pmcr, vcpu->kvm->arch.pmcr_n, ARMV8_PMU_PMCR_N); in kvm_vcpu_read_pmcr()
|
D | sys_regs.c | 856 u8 n = vcpu->kvm->arch.pmcr_n; in reset_pmu_reg() 1289 kvm->arch.pmcr_n = new_n; in set_pmcr()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_host.h | 354 u8 pmcr_n; member
|