/linux-6.1.9/include/kvm/ |
D | arm_hypercalls.h | 37 vcpu_set_reg(vcpu, 0, a0); in smccc_set_retval() 38 vcpu_set_reg(vcpu, 1, a1); in smccc_set_retval() 39 vcpu_set_reg(vcpu, 2, a2); in smccc_set_retval() 40 vcpu_set_reg(vcpu, 3, a3); in smccc_set_retval()
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 236 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_CPACR_EL1), 3 << 20); in aarch64_vcpu_setup() 300 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_SCTLR_EL1), sctlr_el1); in aarch64_vcpu_setup() 301 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TCR_EL1), tcr_el1); in aarch64_vcpu_setup() 302 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_MAIR_EL1), DEFAULT_MAIR_EL1); in aarch64_vcpu_setup() 303 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TTBR0_EL1), vm->pgd); in aarch64_vcpu_setup() 304 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_TPIDR_EL1), vcpu->id); in aarch64_vcpu_setup() 330 vcpu_set_reg(vcpu, ARM64_CORE_REG(sp_el1), stack_vaddr + stack_size); in aarch64_vcpu_add() 331 vcpu_set_reg(vcpu, ARM64_CORE_REG(regs.pc), (uint64_t)guest_code); in aarch64_vcpu_add() 353 vcpu_set_reg(vcpu, ARM64_CORE_REG(regs.regs[i]), in vcpu_args_set() 393 vcpu_set_reg(vcpu, KVM_ARM64_SYS_REG(SYS_VBAR_EL1), (uint64_t)&vectors); in vcpu_init_descriptor_tables()
|
/linux-6.1.9/arch/arm64/kvm/hyp/ |
D | vgic-v3-sr.c | 701 vcpu_set_reg(vcpu, rt, lr_val & ICH_LR_VIRTUAL_ID_MASK); in __vgic_v3_read_iar() 705 vcpu_set_reg(vcpu, rt, ICC_IAR1_EL1_SPURIOUS); in __vgic_v3_read_iar() 790 vcpu_set_reg(vcpu, rt, !!(vmcr & ICH_VMCR_ENG0_MASK)); in __vgic_v3_read_igrpen0() 795 vcpu_set_reg(vcpu, rt, !!(vmcr & ICH_VMCR_ENG1_MASK)); in __vgic_v3_read_igrpen1() 824 vcpu_set_reg(vcpu, rt, __vgic_v3_get_bpr0(vmcr)); in __vgic_v3_read_bpr0() 829 vcpu_set_reg(vcpu, rt, __vgic_v3_get_bpr1(vmcr)); in __vgic_v3_read_bpr1() 878 vcpu_set_reg(vcpu, rt, val); in __vgic_v3_read_apxrn() 949 vcpu_set_reg(vcpu, rt, lr_val & ICH_LR_VIRTUAL_ID_MASK); in __vgic_v3_read_hppir() 956 vcpu_set_reg(vcpu, rt, vmcr); in __vgic_v3_read_pmr() 974 vcpu_set_reg(vcpu, rt, val); in __vgic_v3_read_rpr() [all …]
|
D | vgic-v2-cpuif-proxy.c | 83 vcpu_set_reg(vcpu, rd, data); in __vgic_v2_perform_cpuif_access()
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 202 vcpu_set_reg(vcpu, RISCV_CSR_REG(satp), satp); in riscv_vcpu_mmu_setup() 306 vcpu_set_reg(vcpu, RISCV_CORE_REG(regs.gp), current_gp); in vm_arch_vcpu_add() 309 vcpu_set_reg(vcpu, RISCV_CORE_REG(regs.sp), stack_vaddr + stack_size); in vm_arch_vcpu_add() 310 vcpu_set_reg(vcpu, RISCV_CORE_REG(regs.pc), (unsigned long)guest_code); in vm_arch_vcpu_add() 313 vcpu_set_reg(vcpu, RISCV_CSR_REG(stvec), (unsigned long)guest_unexp_trap); in vm_arch_vcpu_add() 356 vcpu_set_reg(vcpu, id, va_arg(ap, uint64_t)); in vcpu_args_set()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | handle_exit.c | 46 vcpu_set_reg(vcpu, 0, ~0UL); in handle_hvc() 63 vcpu_set_reg(vcpu, 0, ~0UL); in handle_smc()
|
D | psci.c | 216 vcpu_set_reg(vcpu, i, lower_32_bits(vcpu_get_reg(vcpu, i))); in kvm_psci_narrow_to_32bit() 380 vcpu_set_reg(vcpu, 0, PSCI_RET_INTERNAL_FAILURE); in kvm_psci_1_x_call()
|
D | mmio.c | 111 vcpu_set_reg(vcpu, kvm_vcpu_dabt_get_rd(vcpu), data); in kvm_handle_mmio_return()
|
D | reset.c | 338 vcpu_set_reg(vcpu, 0, reset_state.r0); in kvm_reset_vcpu()
|
D | sys_regs.c | 2267 vcpu_set_reg(vcpu, Rt, lower_32_bits(params.regval)); in kvm_handle_cp_64() 2268 vcpu_set_reg(vcpu, Rt2, upper_32_bits(params.regval)); in kvm_handle_cp_64() 2346 vcpu_set_reg(vcpu, Rt, params.regval); in kvm_handle_cp10_id() 2391 vcpu_set_reg(vcpu, Rt, params->regval); in kvm_emulate_cp15_id_reg() 2411 vcpu_set_reg(vcpu, Rt, params->regval); in kvm_handle_cp_32() 2527 vcpu_set_reg(vcpu, Rt, params.regval); in kvm_handle_sys_reg()
|
D | guest.c | 294 vcpu_set_reg(vcpu, i, (u32)vcpu_get_reg(vcpu, i)); in set_core_reg()
|
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/ |
D | aarch32_id_regs.c | 106 vcpu_set_reg(vcpu, reg_id, BAD_ID_REG_VAL); in test_user_raz_wi()
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | sys_regs.c | 507 vcpu_set_reg(vcpu, Rt, params.regval); in kvm_handle_pvm_sysreg()
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | kvm_emulate.h | 179 static __always_inline void vcpu_set_reg(struct kvm_vcpu *vcpu, u8 reg_num, in vcpu_set_reg() function
|
/linux-6.1.9/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 482 static inline void vcpu_set_reg(struct kvm_vcpu *vcpu, uint64_t id, uint64_t val) in vcpu_set_reg() function
|