Searched refs:sepc (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/arch/riscv/kvm/ |
D | vcpu_insn.c | 157 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 …]
|
D | vcpu_sbi.c | 106 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()
|
D | vcpu_exit.c | 159 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()
|
D | vcpu_sbi_hsm.c | 31 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
|
D | vcpu.c | 359 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/ |
D | kvm_host.h | 103 unsigned long sepc; member 143 unsigned long sepc; member
|
/linux-6.1.9/arch/riscv/include/uapi/asm/ |
D | kvm.h | 70 unsigned long sepc; member
|
/linux-6.1.9/arch/riscv/kernel/ |
D | asm-offsets.c | 151 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/ |
D | api.rst | 2805 0x80x0 0000 0300 0004 sepc Supervisor exception program counter
|