Home
last modified time | relevance | path

Searched refs:sepc (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/riscv/kvm/
Dvcpu_insn.c157 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_illegal_insn()
173 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_virtual_insn()
242 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in kvm_riscv_vcpu_csr_return()
387 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in system_opcode_insn()
418 ct->sepc, in kvm_riscv_vcpu_virtual_insn()
421 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_virtual_insn()
473 insn = kvm_riscv_vcpu_unpriv_read(vcpu, true, ct->sepc, in kvm_riscv_vcpu_mmio_load()
477 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_mmio_load()
599 insn = kvm_riscv_vcpu_unpriv_read(vcpu, true, ct->sepc, in kvm_riscv_vcpu_mmio_store()
603 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_mmio_store()
[all …]
Dvcpu_sbi.c106 vcpu->arch.guest_context.sepc += 4; in kvm_riscv_vcpu_sbi_return()
153 utrap.sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall()
175 cp->sepc += 4; in kvm_riscv_vcpu_sbi_ecall()
Dvcpu_exit.c159 csr_write(CSR_VSEPC, trap->sepc); in kvm_riscv_vcpu_trap_redirect()
162 vcpu->arch.guest_context.sepc = csr_read(CSR_VSTVEC); in kvm_riscv_vcpu_trap_redirect()
204 vcpu->arch.guest_context.sepc, in kvm_riscv_vcpu_exit()
Dvcpu_sbi_hsm.c31 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
Dvcpu.c359 reg_val = cntx->sepc; in kvm_riscv_vcpu_get_reg_core()
395 cntx->sepc = reg_val; in kvm_riscv_vcpu_set_reg_core()
1049 trap.sepc = vcpu->arch.guest_context.sepc; in kvm_arch_vcpu_ioctl_run()
/linux-6.1.9/arch/riscv/include/asm/
Dkvm_host.h103 unsigned long sepc; member
143 unsigned long sepc; member
/linux-6.1.9/arch/riscv/include/uapi/asm/
Dkvm.h70 unsigned long sepc; member
/linux-6.1.9/arch/riscv/kernel/
Dasm-offsets.c151 OFFSET(KVM_ARCH_GUEST_SEPC, kvm_vcpu_arch, guest_context.sepc); in asm_offsets()
188 OFFSET(KVM_ARCH_HOST_SEPC, kvm_vcpu_arch, host_context.sepc); in asm_offsets()
195 OFFSET(KVM_ARCH_TRAP_SEPC, kvm_cpu_trap, sepc); in asm_offsets()
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst2805 0x80x0 0000 0300 0004 sepc Supervisor exception program counter