Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/kvm/arm64/
H A Dvpmu_counter_access.c370 pmcr_n = get_pmcr_n(pmcr); in guest_code()
375 expected_pmcr_n, pmcr_n); in guest_code()
464 vcpu_args_set(vcpu, 1, pmcr_n); in run_vcpu()
493 set_pmcr_n(&pmcr, pmcr_n); in test_create_vpmu_vm_with_pmcr_n()
500 pmcr, pmcr_n); in test_create_vpmu_vm_with_pmcr_n()
504 pmcr_n, get_pmcr_n(pmcr)); in test_create_vpmu_vm_with_pmcr_n()
525 run_vcpu(vcpu, pmcr_n); in run_access_test()
538 run_vcpu(vcpu, pmcr_n); in run_access_test()
634 uint64_t i, pmcr_n; in main() local
638 pmcr_n = get_pmcr_n_limit(); in main()
[all …]
/linux-6.15/arch/arm64/kvm/
H A Dpmu-emul.c283 n = vcpu->kvm->arch.pmcr_n; in kvm_pmu_hyp_counter_mask()
1035 kvm->arch.pmcr_n = kvm_arm_pmu_get_max_counters(kvm); in kvm_arm_set_pmu()
1264 return u64_replace_bits(pmcr, vcpu->kvm->arch.pmcr_n, ARMV8_PMU_PMCR_N); in kvm_vcpu_read_pmcr()
H A Dsys_regs.c788 u8 n = vcpu->kvm->arch.pmcr_n; in reset_pmu_reg()
1220 kvm->arch.pmcr_n = new_n; in set_pmcr()
/linux-6.15/arch/arm64/include/asm/
H A Dkvm_host.h363 u8 pmcr_n; member