/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 224 vcpu_get_reg(vcpu, RISCV_CORE_REG(mode), &core.mode); in vcpu_arch_dump() 225 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.pc), &core.regs.pc); in vcpu_arch_dump() 226 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.ra), &core.regs.ra); in vcpu_arch_dump() 227 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.sp), &core.regs.sp); in vcpu_arch_dump() 228 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.gp), &core.regs.gp); in vcpu_arch_dump() 229 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.tp), &core.regs.tp); in vcpu_arch_dump() 230 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.t0), &core.regs.t0); in vcpu_arch_dump() 231 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.t1), &core.regs.t1); in vcpu_arch_dump() 232 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.t2), &core.regs.t2); in vcpu_arch_dump() 233 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.s0), &core.regs.s0); in vcpu_arch_dump() [all …]
|
/linux-6.12.1/include/kvm/ |
D | arm_hypercalls.h | 13 return vcpu_get_reg(vcpu, 0); in smccc_get_function() 18 return vcpu_get_reg(vcpu, 1); in smccc_get_arg1() 23 return vcpu_get_reg(vcpu, 2); in smccc_get_arg2() 28 return vcpu_get_reg(vcpu, 3); in smccc_get_arg3()
|
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/ |
D | aarch32_id_regs.c | 100 vcpu_get_reg(vcpu, reg_id, &val); in test_user_raz_wi() 109 vcpu_get_reg(vcpu, reg_id, &val); in test_user_raz_wi() 129 vcpu_get_reg(vcpu, reg_id, &val); in test_user_raz_invariant() 136 vcpu_get_reg(vcpu, reg_id, &val); in test_user_raz_invariant() 147 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64PFR0_EL1), &val); in vcpu_aarch64_only()
|
D | vpmu_counter_access.c | 443 vcpu_get_reg(vpmu_vm.vcpu, 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() 496 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_PMCR_EL0), &pmcr); in test_create_vpmu_vm_with_pmcr_n() 524 vcpu_get_reg(vcpu, ARM64_CORE_REG(sp_el1), &sp); in run_access_test() 575 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(set_reg_id), ®_val); in run_pmregs_validity_test() 580 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(clr_reg_id), ®_val); in run_pmregs_validity_test() 592 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(set_reg_id), ®_val); in run_pmregs_validity_test() 597 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(clr_reg_id), ®_val); in run_pmregs_validity_test() 628 vcpu_get_reg(vpmu_vm.vcpu, KVM_ARM64_SYS_REG(SYS_PMCR_EL0), &pmcr); in get_pmcr_n_limit()
|
D | set_id_regs.c | 349 vcpu_get_reg(vcpu, reg, &val); in test_reg_set_success() 359 vcpu_get_reg(vcpu, reg, &new_val); in test_reg_set_success() 373 vcpu_get_reg(vcpu, reg, &val); in test_reg_set_fail() 387 vcpu_get_reg(vcpu, reg, &val); in test_reg_set_fail() 484 vcpu_get_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() 525 vcpu_get_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 | psci_test.c | 105 vcpu_get_reg(vcpu, ARM64_CORE_REG(regs.pc), &obs_pc); in assert_vcpu_reset() 106 vcpu_get_reg(vcpu, ARM64_CORE_REG(regs.regs[0]), &obs_x0); in assert_vcpu_reset() 146 vcpu_get_reg(target, KVM_ARM64_SYS_REG(SYS_MPIDR_EL1), &target_mpidr); in host_test_cpu_on()
|
D | hypercalls.c | 176 vcpu_get_reg(vcpu, reg_info->reg, &val); in test_fw_regs_before_vm_start() 187 vcpu_get_reg(vcpu, reg_info->reg, &val); in test_fw_regs_before_vm_start() 217 vcpu_get_reg(vcpu, reg_info->reg, &val); in test_fw_regs_after_vm_start()
|
D | no-vgic-v3.c | 167 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64PFR0_EL1), &pfr0); in main()
|
D | debug-exceptions.c | 504 vcpu_get_reg(vcpu, ARM64_CORE_REG(regs.pc), &pc); in test_single_step_from_userspace() 586 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64DFR0_EL1), &aa64dfr0); in main()
|
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | vgic-v3-sr.c | 761 u32 vid = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_dir() 784 u32 vid = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_eoir() 829 u64 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_igrpen0() 841 u64 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_igrpen1() 863 u64 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_bpr0() 880 u64 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_bpr1() 912 u32 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_apxrn() 990 u32 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_pmr() 1030 u32 val = vcpu_get_reg(vcpu, rt); in __vgic_v3_write_ctlr()
|
D | vgic-v2-cpuif-proxy.c | 71 u32 data = vcpu_get_reg(vcpu, rd); in __vgic_v2_perform_cpuif_access()
|
/linux-6.12.1/tools/testing/selftests/kvm/riscv/ |
D | ebreak_test.c | 63 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.pc), &pc); in main()
|
D | arch_timer.c | 96 vcpu_get_reg(vcpus[0], RISCV_TIMER_REG(frequency), &timer_freq); in test_vm_create()
|
D | sbi_pmu_test.c | 611 vcpu_get_reg(vcpu, RISCV_TIMER_REG(frequency), &timer_freq); in test_vm_events_overflow()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 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() 363 vcpu_get_reg(vcpu, ARM64_CORE_REG(regs.pstate), &pstate); in vcpu_arch_dump() 364 vcpu_get_reg(vcpu, ARM64_CORE_REG(regs.pc), &pc); in vcpu_arch_dump()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | handle_exit.c | 39 trace_kvm_hvc_arm64(*vcpu_pc(vcpu), vcpu_get_reg(vcpu, 0), in handle_hvc() 146 val = vcpu_get_reg(vcpu, kvm_vcpu_sys_get_rt(vcpu)); in kvm_handle_wfx()
|
D | mmio.c | 170 data = vcpu_data_guest_to_host(vcpu, vcpu_get_reg(vcpu, rt), in io_mem_abort()
|
D | psci.c | 226 vcpu_set_reg(vcpu, i, lower_32_bits(vcpu_get_reg(vcpu, i))); in kvm_psci_narrow_to_32bit()
|
D | guest.c | 301 vcpu_set_reg(vcpu, i, (u32)vcpu_get_reg(vcpu, i)); in set_core_reg()
|
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/ |
D | switch.c | 346 val = vcpu_get_reg(vcpu, kvm_vcpu_sys_get_rt(vcpu)); in kvm_hyp_handle_tlbi_el2() 374 vcpu_write_sys_reg(vcpu, vcpu_get_reg(vcpu, rt), CPTR_EL2); in kvm_hyp_handle_cpacr_el1()
|
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/ |
D | switch.h | 422 u64 val = vcpu_get_reg(vcpu, rt); in handle_tx2_tvm() 526 u64 val = vcpu_get_reg(vcpu, rt); in handle_ampere1_tcr()
|
/linux-6.12.1/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 64 vcpu_get_reg(vcpu, id, &eval_reg); in test_one_reg()
|
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | sys_regs.c | 482 params.regval = vcpu_get_reg(vcpu, Rt); in kvm_handle_pvm_sysreg()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | steal_time.c | 274 vcpu_get_reg(vcpu, id, &enabled); in is_steal_time_supported()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_emulate.h | 158 static __always_inline unsigned long vcpu_get_reg(const struct kvm_vcpu *vcpu, in vcpu_get_reg() function
|