Lines Matching full:reason
348 * reason why _exception() should enable irqs for an exception handler, in exception_common()
509 /* For the reason explained in die_mce, nmi_exit before die */ in DEFINE_INTERRUPT_HANDLER_NMI()
570 /* On 4xx, the reason for the machine check or program exception
585 /* On non-4xx, the reason for the machine check or program
601 #define inst_length(reason) (((reason) & REASON_PREFIXED) ? 8 : 4) argument
608 unsigned long reason = mcsr; in machine_check_e500mc() local
611 if (reason & MCSR_LD) { in machine_check_e500mc()
618 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500mc()
620 if (reason & MCSR_MCP) in machine_check_e500mc()
623 if (reason & MCSR_ICPERR) { in machine_check_e500mc()
638 reason &= ~MCSR_IF; in machine_check_e500mc()
641 if (reason & MCSR_DCPERR_MC) { in machine_check_e500mc()
660 if (reason & MCSR_L2MMU_MHIT) { in machine_check_e500mc()
665 if (reason & MCSR_NMI) in machine_check_e500mc()
668 if (reason & MCSR_IF) { in machine_check_e500mc()
673 if (reason & MCSR_LD) { in machine_check_e500mc()
678 if (reason & MCSR_ST) { in machine_check_e500mc()
683 if (reason & MCSR_LDG) { in machine_check_e500mc()
688 if (reason & MCSR_TLBSYNC) in machine_check_e500mc()
691 if (reason & MCSR_BSL2_ERR) { in machine_check_e500mc()
696 if (reason & MCSR_MAV) { in machine_check_e500mc()
703 reason & MCSR_MEA ? "Effective" : "Physical", addr); in machine_check_e500mc()
713 unsigned long reason = mfspr(SPRN_MCSR); in machine_check_e500() local
715 if (reason & MCSR_BUS_RBERR) { in machine_check_e500()
723 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500()
725 if (reason & MCSR_MCP) in machine_check_e500()
727 if (reason & MCSR_ICPERR) in machine_check_e500()
729 if (reason & MCSR_DCP_PERR) in machine_check_e500()
731 if (reason & MCSR_DCPERR) in machine_check_e500()
733 if (reason & MCSR_BUS_IAERR) in machine_check_e500()
735 if (reason & MCSR_BUS_RAERR) in machine_check_e500()
737 if (reason & MCSR_BUS_WAERR) in machine_check_e500()
739 if (reason & MCSR_BUS_IBERR) in machine_check_e500()
741 if (reason & MCSR_BUS_RBERR) in machine_check_e500()
743 if (reason & MCSR_BUS_WBERR) in machine_check_e500()
745 if (reason & MCSR_BUS_IPERR) in machine_check_e500()
747 if (reason & MCSR_BUS_RPERR) in machine_check_e500()
760 unsigned long reason = regs->msr; in machine_check_generic() local
763 printk("Caused by (from SRR1=%lx): ", reason); in machine_check_generic()
764 switch (reason & 0x601F0000) { in machine_check_generic()
1341 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1480 unsigned int reason = get_reason(regs); in do_program_check() local
1483 * has no FPU, in that case the reason flags will be 0 */ in do_program_check()
1485 if (reason & REASON_FP) { in do_program_check()
1490 if (reason & REASON_TRAP) { in do_program_check()
1525 if (reason & REASON_TM) { in do_program_check()
1567 * (reason & REASON_TRAP) is mostly handled before enabling IRQs, in do_program_check()
1573 if (reason & REASON_TRAP) { in do_program_check()
1593 /* (reason & REASON_ILLEGAL) would be the obvious thing here, in do_program_check()
1605 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) { in do_program_check()
1618 if (reason & REASON_PRIVILEGED) in do_program_check()
1643 unsigned long reason; in DEFINE_INTERRUPT_HANDLER() local
1647 reason = get_reason(regs); in DEFINE_INTERRUPT_HANDLER()
1648 if (reason & REASON_BOUNDARY) { in DEFINE_INTERRUPT_HANDLER()
1663 regs_add_return_ip(regs, inst_length(reason)); in DEFINE_INTERRUPT_HANDLER()