Lines Matching full:reason
513 /* For the reason explained in die_mce, nmi_exit before die */ in system_reset_exception()
576 /* On 4xx, the reason for the machine check or program exception
591 /* On non-4xx, the reason for the machine check or program
607 #define inst_length(reason) (((reason) & REASON_PREFIXED) ? 8 : 4) argument
614 unsigned long reason = mcsr; in machine_check_e500mc() local
617 if (reason & MCSR_LD) { in machine_check_e500mc()
624 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500mc()
626 if (reason & MCSR_MCP) in machine_check_e500mc()
629 if (reason & MCSR_ICPERR) { in machine_check_e500mc()
644 reason &= ~MCSR_IF; in machine_check_e500mc()
647 if (reason & MCSR_DCPERR_MC) { in machine_check_e500mc()
666 if (reason & MCSR_L2MMU_MHIT) { in machine_check_e500mc()
671 if (reason & MCSR_NMI) in machine_check_e500mc()
674 if (reason & MCSR_IF) { in machine_check_e500mc()
679 if (reason & MCSR_LD) { in machine_check_e500mc()
684 if (reason & MCSR_ST) { in machine_check_e500mc()
689 if (reason & MCSR_LDG) { in machine_check_e500mc()
694 if (reason & MCSR_TLBSYNC) in machine_check_e500mc()
697 if (reason & MCSR_BSL2_ERR) { in machine_check_e500mc()
702 if (reason & MCSR_MAV) { in machine_check_e500mc()
709 reason & MCSR_MEA ? "Effective" : "Physical", addr); in machine_check_e500mc()
719 unsigned long reason = mfspr(SPRN_MCSR); in machine_check_e500() local
721 if (reason & MCSR_BUS_RBERR) { in machine_check_e500()
729 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500()
731 if (reason & MCSR_MCP) in machine_check_e500()
733 if (reason & MCSR_ICPERR) in machine_check_e500()
735 if (reason & MCSR_DCP_PERR) in machine_check_e500()
737 if (reason & MCSR_DCPERR) in machine_check_e500()
739 if (reason & MCSR_BUS_IAERR) in machine_check_e500()
741 if (reason & MCSR_BUS_RAERR) in machine_check_e500()
743 if (reason & MCSR_BUS_WAERR) in machine_check_e500()
745 if (reason & MCSR_BUS_IBERR) in machine_check_e500()
747 if (reason & MCSR_BUS_RBERR) in machine_check_e500()
749 if (reason & MCSR_BUS_WBERR) in machine_check_e500()
751 if (reason & MCSR_BUS_IPERR) in machine_check_e500()
753 if (reason & MCSR_BUS_RPERR) in machine_check_e500()
766 unsigned long reason = mfspr(SPRN_MCSR); in machine_check_e200() local
769 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e200()
771 if (reason & MCSR_MCP) in machine_check_e200()
773 if (reason & MCSR_CP_PERR) in machine_check_e200()
775 if (reason & MCSR_CPERR) in machine_check_e200()
777 if (reason & MCSR_EXCP_ERR) in machine_check_e200()
779 if (reason & MCSR_BUS_IRERR) in machine_check_e200()
781 if (reason & MCSR_BUS_DRERR) in machine_check_e200()
783 if (reason & MCSR_BUS_WRERR) in machine_check_e200()
791 unsigned long reason = regs->msr; in machine_check_generic() local
794 printk("Caused by (from SRR1=%lx): ", reason); in machine_check_generic()
795 switch (reason & 0x601F0000) { in machine_check_generic()
1334 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1474 unsigned int reason = get_reason(regs); in program_check_exception() local
1477 * has no FPU, in that case the reason flags will be 0 */ in program_check_exception()
1479 if (reason & REASON_FP) { in program_check_exception()
1484 if (reason & REASON_TRAP) { in program_check_exception()
1515 if (reason & REASON_TM) { in program_check_exception()
1557 /* (reason & REASON_ILLEGAL) would be the obvious thing here, in program_check_exception()
1569 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) { in program_check_exception()
1582 if (reason & REASON_PRIVILEGED) in program_check_exception()
1607 unsigned long reason; in alignment_exception() local
1613 reason = get_reason(regs); in alignment_exception()
1615 if (reason & REASON_BOUNDARY) { in alignment_exception()
1630 regs->nip += inst_length(reason); in alignment_exception()