Home
last modified time | relevance | path

Searched refs:utrap (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/arch/riscv/kvm/
A Dvcpu_insn.c159 utrap.stval = insn; in truly_illegal_insn()
160 utrap.htval = 0; in truly_illegal_insn()
161 utrap.htinst = 0; in truly_illegal_insn()
175 utrap.stval = insn; in truly_virtual_insn()
176 utrap.htval = 0; in truly_virtual_insn()
177 utrap.htinst = 0; in truly_virtual_insn()
421 &utrap); in kvm_riscv_vcpu_virtual_insn()
476 &utrap); in kvm_riscv_vcpu_mmio_load()
477 if (utrap.scause) { in kvm_riscv_vcpu_mmio_load()
602 &utrap); in kvm_riscv_vcpu_mmio_store()
[all …]
A Dvcpu_sbi_v01.c25 struct kvm_cpu_trap *utrap = retdata->utrap; in kvm_sbi_ext_v01_handler() local
50 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, utrap); in kvm_sbi_ext_v01_handler()
53 if (utrap->scause) in kvm_sbi_ext_v01_handler()
72 hmask = kvm_riscv_vcpu_unpriv_read(vcpu, false, cp->a0, utrap); in kvm_sbi_ext_v01_handler()
75 if (utrap->scause) in kvm_sbi_ext_v01_handler()
A Dvcpu_sbi.c121 struct kvm_cpu_trap utrap = {0}; in kvm_riscv_vcpu_sbi_ecall() local
125 .utrap = &utrap, in kvm_riscv_vcpu_sbi_ecall()
153 if (sbi_ret.utrap->scause) { in kvm_riscv_vcpu_sbi_ecall()
156 sbi_ret.utrap->sepc = cp->sepc; in kvm_riscv_vcpu_sbi_ecall()
157 kvm_riscv_vcpu_trap_redirect(vcpu, sbi_ret.utrap); in kvm_riscv_vcpu_sbi_ecall()
/linux-6.3-rc2/arch/riscv/include/asm/
A Dkvm_vcpu_sbi.h24 struct kvm_cpu_trap *utrap; member

Completed in 9 milliseconds