Lines Matching full:reason

348 	 * reason why _exception() should enable irqs for an exception handler,  in exception_common()
507 /* For the reason explained in die_mce, nmi_exit before die */ in DEFINE_INTERRUPT_HANDLER_NMI()
568 /* On 4xx, the reason for the machine check or program exception
583 /* On non-4xx, the reason for the machine check or program
599 #define inst_length(reason) (((reason) & REASON_PREFIXED) ? 8 : 4) argument
606 unsigned long reason = mcsr; in machine_check_e500mc() local
609 if (reason & MCSR_LD) { in machine_check_e500mc()
616 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500mc()
618 if (reason & MCSR_MCP) in machine_check_e500mc()
621 if (reason & MCSR_ICPERR) { in machine_check_e500mc()
636 reason &= ~MCSR_IF; in machine_check_e500mc()
639 if (reason & MCSR_DCPERR_MC) { in machine_check_e500mc()
658 if (reason & MCSR_L2MMU_MHIT) { in machine_check_e500mc()
663 if (reason & MCSR_NMI) in machine_check_e500mc()
666 if (reason & MCSR_IF) { in machine_check_e500mc()
671 if (reason & MCSR_LD) { in machine_check_e500mc()
676 if (reason & MCSR_ST) { in machine_check_e500mc()
681 if (reason & MCSR_LDG) { in machine_check_e500mc()
686 if (reason & MCSR_TLBSYNC) in machine_check_e500mc()
689 if (reason & MCSR_BSL2_ERR) { in machine_check_e500mc()
694 if (reason & MCSR_MAV) { in machine_check_e500mc()
701 reason & MCSR_MEA ? "Effective" : "Physical", addr); in machine_check_e500mc()
711 unsigned long reason = mfspr(SPRN_MCSR); in machine_check_e500() local
713 if (reason & MCSR_BUS_RBERR) { in machine_check_e500()
721 printk("Caused by (from MCSR=%lx): ", reason); in machine_check_e500()
723 if (reason & MCSR_MCP) in machine_check_e500()
725 if (reason & MCSR_ICPERR) in machine_check_e500()
727 if (reason & MCSR_DCP_PERR) in machine_check_e500()
729 if (reason & MCSR_DCPERR) in machine_check_e500()
731 if (reason & MCSR_BUS_IAERR) in machine_check_e500()
733 if (reason & MCSR_BUS_RAERR) in machine_check_e500()
735 if (reason & MCSR_BUS_WAERR) in machine_check_e500()
737 if (reason & MCSR_BUS_IBERR) in machine_check_e500()
739 if (reason & MCSR_BUS_RBERR) in machine_check_e500()
741 if (reason & MCSR_BUS_WBERR) in machine_check_e500()
743 if (reason & MCSR_BUS_IPERR) in machine_check_e500()
745 if (reason & MCSR_BUS_RPERR) in machine_check_e500()
758 unsigned long reason = regs->msr; in machine_check_generic() local
761 printk("Caused by (from SRR1=%lx): ", reason); in machine_check_generic()
762 switch (reason & 0x601F0000) { in machine_check_generic()
1324 static inline bool tm_abort_check(struct pt_regs *regs, int reason) in tm_abort_check() argument
1461 unsigned int reason = get_reason(regs); in do_program_check() local
1464 * has no FPU, in that case the reason flags will be 0 */ in do_program_check()
1466 if (reason & REASON_FP) { in do_program_check()
1471 if (reason & REASON_TRAP) { in do_program_check()
1507 if (reason & REASON_TM) { in do_program_check()
1547 /* (reason & REASON_ILLEGAL) would be the obvious thing here, in do_program_check()
1559 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) { in do_program_check()
1572 if (reason & REASON_PRIVILEGED) in do_program_check()
1597 unsigned long reason; in DEFINE_INTERRUPT_HANDLER() local
1601 reason = get_reason(regs); in DEFINE_INTERRUPT_HANDLER()
1602 if (reason & REASON_BOUNDARY) { in DEFINE_INTERRUPT_HANDLER()
1617 regs_add_return_ip(regs, inst_length(reason)); in DEFINE_INTERRUPT_HANDLER()