Searched refs:sepc (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/arch/riscv/kvm/ |
D | trace.h | 25 __entry->pc = vcpu->arch.guest_context.sepc; 36 __field(unsigned long, sepc) 44 __entry->sepc = trap->sepc; 52 __entry->sepc,
|
D | vcpu_insn.c | 162 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_illegal_insn() 178 utrap.sepc = vcpu->arch.guest_context.sepc; in truly_virtual_insn() 268 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in kvm_riscv_vcpu_csr_return() 418 vcpu->arch.guest_context.sepc += INSN_LEN(insn); in system_opcode_insn() 449 ct->sepc, in kvm_riscv_vcpu_virtual_insn() 452 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_virtual_insn() 504 insn = kvm_riscv_vcpu_unpriv_read(vcpu, true, ct->sepc, in kvm_riscv_vcpu_mmio_load() 508 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_mmio_load() 630 insn = kvm_riscv_vcpu_unpriv_read(vcpu, true, ct->sepc, in kvm_riscv_vcpu_mmio_store() 634 utrap.sepc = ct->sepc; in kvm_riscv_vcpu_mmio_store() [all …]
|
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() 221 vcpu->arch.guest_context.sepc, in kvm_riscv_vcpu_exit()
|
D | vcpu_sbi.c | 169 vcpu->arch.guest_context.sepc += 4; in kvm_riscv_vcpu_sbi_return() 460 sbi_ret.utrap->sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall() 476 cp->sepc += 4; in kvm_riscv_vcpu_sbi_ecall()
|
D | vcpu_sbi_hsm.c | 37 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
|
D | vcpu.c | 852 trap.sepc = vcpu->arch.guest_context.sepc; in kvm_arch_vcpu_ioctl_run()
|
D | vcpu_onereg.c | 373 reg_val = cntx->sepc; in kvm_riscv_vcpu_get_reg_core() 409 cntx->sepc = reg_val; in kvm_riscv_vcpu_set_reg_core()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | kvm_host.h | 120 unsigned long sepc; member 160 unsigned long sepc; member
|
/linux-6.12.1/arch/riscv/include/uapi/asm/ |
D | kvm.h | 76 unsigned long sepc; member
|
/linux-6.12.1/arch/riscv/kernel/ |
D | asm-offsets.c | 167 OFFSET(KVM_ARCH_GUEST_SEPC, kvm_vcpu_arch, guest_context.sepc); in asm_offsets() 204 OFFSET(KVM_ARCH_HOST_SEPC, kvm_vcpu_arch, host_context.sepc); in asm_offsets() 211 OFFSET(KVM_ARCH_TRAP_SEPC, kvm_cpu_trap, sepc); in asm_offsets()
|
/linux-6.12.1/tools/testing/selftests/kvm/riscv/ |
D | get-reg-list.c | 271 case KVM_REG_RISCV_CSR_REG(sepc): in general_csr_id_to_str() 272 return RISCV_CSR_GENERAL(sepc); in general_csr_id_to_str() 719 …| KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(sepc),
|
/linux-6.12.1/Documentation/virt/kvm/ |
D | api.rst | 2843 0x80x0 0000 0300 0004 sepc Supervisor exception program counter
|