Home
last modified time | relevance | path

Searched refs:scause (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/arch/riscv/kvm/
Dvcpu_exit.c134 utrap.scause = EXC_INST_ILLEGAL; in truly_illegal_insn()
168 if (utrap.scause) { in virtual_inst_fault()
210 if (utrap.scause) { in emulate_load()
323 if (utrap.scause) { in emulate_store()
430 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writeable)) { in gstage_page_fault()
431 switch (trap->scause) { in gstage_page_fault()
444 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT) ? true : false); in gstage_page_fault()
525 if (trap->scause == EXC_LOAD_PAGE_FAULT) in kvm_riscv_vcpu_unpriv_read()
526 trap->scause = EXC_INST_PAGE_FAULT; in kvm_riscv_vcpu_unpriv_read()
596 csr_write(CSR_VSCAUSE, trap->scause); in kvm_riscv_vcpu_trap_redirect()
[all …]
Dvcpu_sbi_v01.c56 if (utrap->scause) in kvm_sbi_ext_v01_handler()
79 if (utrap->scause) in kvm_sbi_ext_v01_handler()
Dvcpu_sbi.c150 if (utrap.scause) { in kvm_riscv_vcpu_sbi_ecall()
Dvcpu.c957 trap.scause = csr_read(CSR_SCAUSE); in kvm_arch_vcpu_ioctl_run()
/linux-5.19.10/arch/riscv/include/uapi/asm/
Dkvm.h70 unsigned long scause; member
/linux-5.19.10/arch/riscv/include/asm/
Dkvm_host.h107 unsigned long scause; member
/linux-5.19.10/arch/riscv/kernel/
Dasm-offsets.c196 OFFSET(KVM_ARCH_TRAP_SCAUSE, kvm_cpu_trap, scause); in asm_offsets()
/linux-5.19.10/Documentation/virt/kvm/
Dapi.rst2798 0x80x0 0000 0300 0005 scause Supervisor trap cause