Searched refs:scause (Results 1 – 8 of 8) sorted by relevance
134 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 …]
56 if (utrap->scause) in kvm_sbi_ext_v01_handler()79 if (utrap->scause) in kvm_sbi_ext_v01_handler()
150 if (utrap.scause) { in kvm_riscv_vcpu_sbi_ecall()
957 trap.scause = csr_read(CSR_SCAUSE); in kvm_arch_vcpu_ioctl_run()
70 unsigned long scause; member
107 unsigned long scause; member
196 OFFSET(KVM_ARCH_TRAP_SCAUSE, kvm_cpu_trap, scause); in asm_offsets()
2798 0x80x0 0000 0300 0005 scause Supervisor trap cause