Searched refs:guest_context (Results 1 – 6 of 6) sorted by relevance
/linux/arch/riscv/kvm/ |
A D | vcpu_exit.c | 133 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_illegal_insn() 153 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in system_opcode_insn() 169 ct = &vcpu->arch.guest_context; in virtual_inst_fault() 571 if (vcpu->arch.guest_context.sstatus & SR_SPP) in kvm_riscv_vcpu_trap_redirect() 625 SET_RD(insn, &vcpu->arch.guest_context, in kvm_riscv_vcpu_mmio_return() 630 SET_RD(insn, &vcpu->arch.guest_context, in kvm_riscv_vcpu_mmio_return() 635 SET_RD(insn, &vcpu->arch.guest_context, in kvm_riscv_vcpu_mmio_return() 640 SET_RD(insn, &vcpu->arch.guest_context, in kvm_riscv_vcpu_mmio_return() 693 vcpu->arch.guest_context.sepc, in kvm_riscv_vcpu_exit() 694 vcpu->arch.guest_context.sstatus, in kvm_riscv_vcpu_exit() [all …]
|
A D | vcpu_sbi.c | 22 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_riscv_vcpu_sbi_forward() 41 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_riscv_vcpu_sbi_return() 53 vcpu->arch.guest_context.sepc += 4; in kvm_riscv_vcpu_sbi_return() 85 struct kvm_cpu_context *cp = &vcpu->arch.guest_context; in kvm_riscv_vcpu_sbi_ecall()
|
A D | vcpu_fp.c | 19 struct kvm_cpu_context *cntx = &vcpu->arch.guest_context; in kvm_riscv_vcpu_fp_reset() 81 struct kvm_cpu_context *cntx = &vcpu->arch.guest_context; in kvm_riscv_vcpu_get_reg_fp() 127 struct kvm_cpu_context *cntx = &vcpu->arch.guest_context; in kvm_riscv_vcpu_set_reg_fp()
|
A D | vcpu.c | 54 struct kvm_cpu_context *cntx = &vcpu->arch.guest_context; in kvm_riscv_reset_vcpu() 140 return (vcpu->arch.guest_context.sstatus & SR_SPP) ? true : false; in kvm_arch_vcpu_in_kernel() 212 struct kvm_cpu_context *cntx = &vcpu->arch.guest_context; in kvm_riscv_vcpu_get_reg_core() 245 struct kvm_cpu_context *cntx = &vcpu->arch.guest_context; in kvm_riscv_vcpu_set_reg_core() 612 kvm_riscv_vcpu_guest_fp_restore(&vcpu->arch.guest_context, in kvm_arch_vcpu_load() 624 kvm_riscv_vcpu_guest_fp_save(&vcpu->arch.guest_context, in kvm_arch_vcpu_put() 781 trap.sepc = vcpu->arch.guest_context.sepc; in kvm_arch_vcpu_ioctl_run()
|
/linux/arch/riscv/kernel/ |
A D | asm-offsets.c | 116 OFFSET(KVM_ARCH_GUEST_RA, kvm_vcpu_arch, guest_context.ra); in asm_offsets() 117 OFFSET(KVM_ARCH_GUEST_SP, kvm_vcpu_arch, guest_context.sp); in asm_offsets() 118 OFFSET(KVM_ARCH_GUEST_GP, kvm_vcpu_arch, guest_context.gp); in asm_offsets() 119 OFFSET(KVM_ARCH_GUEST_TP, kvm_vcpu_arch, guest_context.tp); in asm_offsets() 120 OFFSET(KVM_ARCH_GUEST_T0, kvm_vcpu_arch, guest_context.t0); in asm_offsets() 121 OFFSET(KVM_ARCH_GUEST_T1, kvm_vcpu_arch, guest_context.t1); in asm_offsets() 122 OFFSET(KVM_ARCH_GUEST_T2, kvm_vcpu_arch, guest_context.t2); in asm_offsets() 123 OFFSET(KVM_ARCH_GUEST_S0, kvm_vcpu_arch, guest_context.s0); in asm_offsets() 124 OFFSET(KVM_ARCH_GUEST_S1, kvm_vcpu_arch, guest_context.s1); in asm_offsets() 125 OFFSET(KVM_ARCH_GUEST_A0, kvm_vcpu_arch, guest_context.a0); in asm_offsets() [all …]
|
/linux/arch/riscv/include/asm/ |
A D | kvm_host.h | 163 struct kvm_cpu_context guest_context; member
|
Completed in 10 milliseconds