Home
last modified time | relevance | path

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

/linux-6.12.1/arch/riscv/kvm/
Dtrace.h25 __entry->pc = vcpu->arch.guest_context.sepc;
36 __field(unsigned long, sepc)
44 __entry->sepc = trap->sepc;
52 __entry->sepc,
Dvcpu_insn.c162 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 …]
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()
221 vcpu->arch.guest_context.sepc, in kvm_riscv_vcpu_exit()
Dvcpu_sbi.c169 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()
Dvcpu_sbi_hsm.c37 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
Dvcpu.c852 trap.sepc = vcpu->arch.guest_context.sepc; in kvm_arch_vcpu_ioctl_run()
Dvcpu_onereg.c373 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/
Dkvm_host.h120 unsigned long sepc; member
160 unsigned long sepc; member
/linux-6.12.1/arch/riscv/include/uapi/asm/
Dkvm.h76 unsigned long sepc; member
/linux-6.12.1/arch/riscv/kernel/
Dasm-offsets.c167 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/
Dget-reg-list.c271 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/
Dapi.rst2843 0x80x0 0000 0300 0004 sepc Supervisor exception program counter