Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Daarch32_id_regs.c70 KVM_ARM64_SYS_REG(SYS_ID_PFR0_EL1),
71 KVM_ARM64_SYS_REG(SYS_ID_PFR1_EL1),
72 KVM_ARM64_SYS_REG(SYS_ID_DFR0_EL1),
73 KVM_ARM64_SYS_REG(SYS_ID_MMFR0_EL1),
74 KVM_ARM64_SYS_REG(SYS_ID_MMFR1_EL1),
75 KVM_ARM64_SYS_REG(SYS_ID_MMFR2_EL1),
76 KVM_ARM64_SYS_REG(SYS_ID_MMFR3_EL1),
77 KVM_ARM64_SYS_REG(SYS_ID_ISAR0_EL1),
78 KVM_ARM64_SYS_REG(SYS_ID_ISAR1_EL1),
79 KVM_ARM64_SYS_REG(SYS_ID_ISAR2_EL1),
[all …]
Dvpmu_counter_access.c444 KVM_ARM64_SYS_REG(SYS_ID_AA64DFR0_EL1), &dfr0); in create_vpmu_vm()
487 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_PMCR_EL0), &pmcr_orig); in test_create_vpmu_vm_with_pmcr_n()
495 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_PMCR_EL0), pmcr); in test_create_vpmu_vm_with_pmcr_n()
496 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_PMCR_EL0), &pmcr); in test_create_vpmu_vm_with_pmcr_n()
575 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(set_reg_id), &reg_val); in run_pmregs_validity_test()
578 KVM_ARM64_SYS_REG(set_reg_id), reg_val); in run_pmregs_validity_test()
580 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(clr_reg_id), &reg_val); in run_pmregs_validity_test()
583 KVM_ARM64_SYS_REG(clr_reg_id), reg_val); in run_pmregs_validity_test()
590 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(set_reg_id), max_counters_mask); in run_pmregs_validity_test()
592 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(set_reg_id), &reg_val); in run_pmregs_validity_test()
[all …]
Dset_id_regs.c419 uint64_t reg = KVM_ARM64_SYS_REG(reg_id); in test_vm_ftr_id_regs()
484 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_CLIDR_EL1), &clidr); in test_clidr()
501 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_CLIDR_EL1), clidr); in test_clidr()
509 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_CTR_EL0), &ctr); in test_ctr()
514 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_CTR_EL0), ctr); in test_ctr()
525 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_MPIDR_EL1), &val); in test_vcpu_ftr_id_regs()
527 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_MPIDR_EL1), val); in test_vcpu_ftr_id_regs()
538 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(encoding), &observed); in test_assert_id_reg_unchanged()
573 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64PFR0_EL1), &val); in main()
Dno-vgic-v3.c167 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64PFR0_EL1), &pfr0); in main()
Dpsci_test.c146 vcpu_get_reg(target, KVM_ARM64_SYS_REG(SYS_MPIDR_EL1), &target_mpidr); in host_test_cpu_on()
Ddebug-exceptions.c586 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64DFR0_EL1), &aa64dfr0); in main()
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c282 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_CPACR_EL1), 3 << 20); in aarch64_vcpu_setup()
284 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_SCTLR_EL1), &sctlr_el1); in aarch64_vcpu_setup()
285 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TCR_EL1), &tcr_el1); in aarch64_vcpu_setup()
352 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_SCTLR_EL1), sctlr_el1); in aarch64_vcpu_setup()
353 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TCR_EL1), tcr_el1); in aarch64_vcpu_setup()
354 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_MAIR_EL1), DEFAULT_MAIR_EL1); in aarch64_vcpu_setup()
355 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TTBR0_EL1), ttbr0_el1); in aarch64_vcpu_setup()
356 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TPIDR_EL1), vcpu->id); in aarch64_vcpu_setup()
460 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_VBAR_EL1), (uint64_t)&vectors); in vcpu_init_descriptor_tables()
549 .id = KVM_ARM64_SYS_REG(SYS_ID_AA64MMFR0_EL1), in aarch64_get_supported_page_sizes()
/linux-6.12.1/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h26 #define KVM_ARM64_SYS_REG(sys_reg_id) \ macro