Lines Matching defs:reason
295 /* On 4xx, the reason for the machine check or program exception
313 /* On non-4xx, the reason for the machine check or program
338 unsigned long reason = get_mc_reason(regs);
368 if (reason & ESR_IMCP) {
370 mtspr(SPRN_ESR, reason & ~ESR_IMCP);
376 if (reason & ESR_IMCP){
378 mtspr(SPRN_ESR, reason & ~ESR_IMCP);
406 printk("Caused by (from MCSR=%lx): ", reason);
408 if (reason & MCSR_MCP)
410 if (reason & MCSR_ICPERR)
412 if (reason & MCSR_DCP_PERR)
414 if (reason & MCSR_DCPERR)
416 if (reason & MCSR_GL_CI)
418 if (reason & MCSR_BUS_IAERR)
420 if (reason & MCSR_BUS_RAERR)
422 if (reason & MCSR_BUS_WAERR)
424 if (reason & MCSR_BUS_IBERR)
426 if (reason & MCSR_BUS_RBERR)
428 if (reason & MCSR_BUS_WBERR)
430 if (reason & MCSR_BUS_IPERR)
432 if (reason & MCSR_BUS_RPERR)
436 printk("Caused by (from MCSR=%lx): ", reason);
438 if (reason & MCSR_MCP)
440 if (reason & MCSR_CP_PERR)
442 if (reason & MCSR_CPERR)
444 if (reason & MCSR_EXCP_ERR)
446 if (reason & MCSR_BUS_IRERR)
448 if (reason & MCSR_BUS_DRERR)
450 if (reason & MCSR_BUS_WRERR)
454 printk("Caused by (from SRR1=%lx): ", reason);
455 switch (reason & 0x601F0000) {
760 unsigned int reason = get_reason(regs);
764 * has no FPU, in that case the reason flags will be 0 */
766 if (reason & REASON_FP) {
771 if (reason & REASON_TRAP) {
791 /* (reason & REASON_ILLEGAL) would be the obvious thing here,
816 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) {
828 if (reason & REASON_PRIVILEGED)