Searched refs:scause (Results 1 – 11 of 11) sorted by relevance
28 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writable)) { in gstage_page_fault()29 switch (trap->scause) { in gstage_page_fault()44 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT) ? true : false); in gstage_page_fault()96 if (trap->scause == EXC_LOAD_PAGE_FAULT) in kvm_riscv_vcpu_unpriv_read()97 trap->scause = EXC_INST_PAGE_FAULT; in kvm_riscv_vcpu_unpriv_read()157 csr_write(CSR_VSCAUSE, trap->scause); in kvm_riscv_vcpu_trap_redirect()178 if (trap->scause & CAUSE_IRQ_FLAG) in kvm_riscv_vcpu_exit()184 switch (trap->scause) { in kvm_riscv_vcpu_exit()225 trap->scause, trap->stval, trap->htval, trap->htinst); in kvm_riscv_vcpu_exit()
37 __field(unsigned long, scause)45 __entry->scause = trap->scause;53 __entry->scause,
53 if (utrap->scause) in kvm_sbi_ext_v01_handler()75 if (utrap->scause) in kvm_sbi_ext_v01_handler()
163 utrap.scause = EXC_INST_ILLEGAL; in truly_illegal_insn()179 utrap.scause = EXC_VIRTUAL_INST_FAULT; in truly_virtual_insn()451 if (utrap.scause) { in kvm_riscv_vcpu_virtual_insn()506 if (utrap.scause) { in kvm_riscv_vcpu_mmio_load()632 if (utrap.scause) { in kvm_riscv_vcpu_mmio_store()
457 if (sbi_ret.utrap->scause) { in kvm_riscv_vcpu_sbi_ecall()
853 trap.scause = csr_read(CSR_SCAUSE); in kvm_arch_vcpu_ioctl_run()
77 unsigned long scause; member
121 unsigned long scause; member
273 case KVM_REG_RISCV_CSR_REG(scause): in general_csr_id_to_str()274 return RISCV_CSR_GENERAL(scause); in general_csr_id_to_str()720 …KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(scause),
212 OFFSET(KVM_ARCH_TRAP_SCAUSE, kvm_cpu_trap, scause); in asm_offsets()
2844 0x80x0 0000 0300 0005 scause Supervisor trap cause