Home
last modified time | relevance | path

Searched refs:vcpu_get_reg (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/kvm/lib/riscv/
Dprocessor.c224 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/
Darm_hypercalls.h13 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/
Daarch32_id_regs.c100 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()
Dvpmu_counter_access.c443 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), &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()
592 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(set_reg_id), &reg_val); in run_pmregs_validity_test()
597 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(clr_reg_id), &reg_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()
Dset_id_regs.c349 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()
Dpsci_test.c105 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()
Dhypercalls.c176 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()
Dno-vgic-v3.c167 vcpu_get_reg(vcpu, KVM_ARM64_SYS_REG(SYS_ID_AA64PFR0_EL1), &pfr0); in main()
Ddebug-exceptions.c504 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/
Dvgic-v3-sr.c761 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()
Dvgic-v2-cpuif-proxy.c71 u32 data = vcpu_get_reg(vcpu, rd); in __vgic_v2_perform_cpuif_access()
/linux-6.12.1/tools/testing/selftests/kvm/riscv/
Debreak_test.c63 vcpu_get_reg(vcpu, RISCV_CORE_REG(regs.pc), &pc); in main()
Darch_timer.c96 vcpu_get_reg(vcpus[0], RISCV_TIMER_REG(frequency), &timer_freq); in test_vm_create()
Dsbi_pmu_test.c611 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/
Dprocessor.c284 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/
Dhandle_exit.c39 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()
Dmmio.c170 data = vcpu_data_guest_to_host(vcpu, vcpu_get_reg(vcpu, rt), in io_mem_abort()
Dpsci.c226 vcpu_set_reg(vcpu, i, lower_32_bits(vcpu_get_reg(vcpu, i))); in kvm_psci_narrow_to_32bit()
Dguest.c301 vcpu_set_reg(vcpu, i, (u32)vcpu_get_reg(vcpu, i)); in set_core_reg()
/linux-6.12.1/arch/arm64/kvm/hyp/vhe/
Dswitch.c346 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/
Dswitch.h422 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/
Dresets.c64 vcpu_get_reg(vcpu, id, &eval_reg); in test_one_reg()
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dsys_regs.c482 params.regval = vcpu_get_reg(vcpu, Rt); in kvm_handle_pvm_sysreg()
/linux-6.12.1/tools/testing/selftests/kvm/
Dsteal_time.c274 vcpu_get_reg(vcpu, id, &enabled); in is_steal_time_supported()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_emulate.h158 static __always_inline unsigned long vcpu_get_reg(const struct kvm_vcpu *vcpu, in vcpu_get_reg() function

12