Searched refs:KVM_ARM64_SYS_REG (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | aarch32_id_regs.c | 70 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 …]
|
D | vpmu_counter_access.c | 444 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), ®_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), ®_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), ®_val); in run_pmregs_validity_test() [all …]
|
D | set_id_regs.c | 419 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()
|
D | no-vgic-v3.c | 167 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64PFR0_EL1), &pfr0); in main()
|
D | psci_test.c | 146 vcpu_get_reg(target, KVM_ARM64_SYS_REG(SYS_MPIDR_EL1), &target_mpidr); in host_test_cpu_on()
|
D | debug-exceptions.c | 586 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/ |
D | processor.c | 282 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/ |
D | processor.h | 26 #define KVM_ARM64_SYS_REG(sys_reg_id) \ macro
|