Lines Matching refs:trap
195 int trap; in kvmhv_vcpu_entry_p9() local
341 trap = local_paca->kvm_hstate.scratch0 & ~0x2; in kvmhv_vcpu_entry_p9()
345 if (likely(trap > BOOK3S_INTERRUPT_MACHINE_CHECK)) { in kvmhv_vcpu_entry_p9()
346 if (trap != BOOK3S_INTERRUPT_SYSCALL && in kvmhv_vcpu_entry_p9()
350 } else if (trap == BOOK3S_INTERRUPT_SYSTEM_RESET) { in kvmhv_vcpu_entry_p9()
385 if (unlikely(trap == BOOK3S_INTERRUPT_MACHINE_CHECK)) { in kvmhv_vcpu_entry_p9()
390 } else if (unlikely(trap == BOOK3S_INTERRUPT_HMI)) { in kvmhv_vcpu_entry_p9()
393 } else if (trap == BOOK3S_INTERRUPT_H_EMUL_ASSIST) { in kvmhv_vcpu_entry_p9()
396 } else if (trap == BOOK3S_INTERRUPT_H_DATA_STORAGE) { in kvmhv_vcpu_entry_p9()
401 } else if (trap == BOOK3S_INTERRUPT_H_INST_STORAGE) { in kvmhv_vcpu_entry_p9()
404 } else if (trap == BOOK3S_INTERRUPT_H_FAC_UNAVAIL) { in kvmhv_vcpu_entry_p9()
413 } else if (trap == BOOK3S_INTERRUPT_HV_SOFTPATCH) { in kvmhv_vcpu_entry_p9()
525 return trap; in kvmhv_vcpu_entry_p9()