Lines Matching refs:reason
602 #define inst_length(reason) (((reason) & REASON_PREFIXED) ? 8 : 4) argument
609 unsigned long reason = mcsr; in machine_check_e500mc() local
612 if (reason & MCSR_LD) { in machine_check_e500mc()
619 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500mc()
621 if (reason & MCSR_MCP) in machine_check_e500mc()
624 if (reason & MCSR_ICPERR) { in machine_check_e500mc()
639 reason &= ~MCSR_IF; in machine_check_e500mc()
642 if (reason & MCSR_DCPERR_MC) { in machine_check_e500mc()
661 if (reason & MCSR_L2MMU_MHIT) { in machine_check_e500mc()
666 if (reason & MCSR_NMI) in machine_check_e500mc()
669 if (reason & MCSR_IF) { in machine_check_e500mc()
674 if (reason & MCSR_LD) { in machine_check_e500mc()
679 if (reason & MCSR_ST) { in machine_check_e500mc()
684 if (reason & MCSR_LDG) { in machine_check_e500mc()
689 if (reason & MCSR_TLBSYNC) in machine_check_e500mc()
692 if (reason & MCSR_BSL2_ERR) { in machine_check_e500mc()
697 if (reason & MCSR_MAV) { in machine_check_e500mc()
704 reason & MCSR_MEA ? "Effective" : "Physical", addr); in machine_check_e500mc()
714 unsigned long reason = mfspr(SPRN_MCSR); in machine_check_e500() local
716 if (reason & MCSR_BUS_RBERR) { in machine_check_e500()
724 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500()
726 if (reason & MCSR_MCP) in machine_check_e500()
728 if (reason & MCSR_ICPERR) in machine_check_e500()
730 if (reason & MCSR_DCP_PERR) in machine_check_e500()
732 if (reason & MCSR_DCPERR) in machine_check_e500()
734 if (reason & MCSR_BUS_IAERR) in machine_check_e500()
736 if (reason & MCSR_BUS_RAERR) in machine_check_e500()
738 if (reason & MCSR_BUS_WAERR) in machine_check_e500()
740 if (reason & MCSR_BUS_IBERR) in machine_check_e500()
742 if (reason & MCSR_BUS_RBERR) in machine_check_e500()
744 if (reason & MCSR_BUS_WBERR) in machine_check_e500()
746 if (reason & MCSR_BUS_IPERR) in machine_check_e500()
748 if (reason & MCSR_BUS_RPERR) in machine_check_e500()
761 unsigned long reason = regs->msr; in machine_check_generic() local
764 printk("Caused by (from SRR1=%lx): ", reason); in machine_check_generic()
765 switch (reason & 0x601F0000) { in machine_check_generic()
1342 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1481 unsigned int reason = get_reason(regs); in do_program_check() local
1486 if (reason & REASON_FP) { in do_program_check()
1491 if (reason & REASON_TRAP) { in do_program_check()
1526 if (reason & REASON_TM) { in do_program_check()
1574 if (reason & REASON_TRAP) { in do_program_check()
1606 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) { in do_program_check()
1619 if (reason & REASON_PRIVILEGED) in do_program_check()
1644 unsigned long reason; in DEFINE_INTERRUPT_HANDLER() local
1648 reason = get_reason(regs); in DEFINE_INTERRUPT_HANDLER()
1649 if (reason & REASON_BOUNDARY) { in DEFINE_INTERRUPT_HANDLER()
1664 regs_add_return_ip(regs, inst_length(reason)); in DEFINE_INTERRUPT_HANDLER()