Lines Matching defs:reason
193 /* On 4xx, the reason for the machine check or program exception
211 /* On non-4xx, the reason for the machine check or program
235 unsigned long reason = get_mc_reason(regs);
259 if (reason & ESR_IMCP) {
261 mtspr(SPRN_ESR, reason & ~ESR_IMCP);
267 if (reason & ESR_IMCP){
269 mtspr(SPRN_ESR, reason & ~ESR_IMCP);
297 printk("Caused by (from MCSR=%lx): ", reason);
299 if (reason & MCSR_MCP)
301 if (reason & MCSR_ICPERR)
303 if (reason & MCSR_DCP_PERR)
305 if (reason & MCSR_DCPERR)
307 if (reason & MCSR_GL_CI)
309 if (reason & MCSR_BUS_IAERR)
311 if (reason & MCSR_BUS_RAERR)
313 if (reason & MCSR_BUS_WAERR)
315 if (reason & MCSR_BUS_IBERR)
317 if (reason & MCSR_BUS_RBERR)
319 if (reason & MCSR_BUS_WBERR)
321 if (reason & MCSR_BUS_IPERR)
323 if (reason & MCSR_BUS_RPERR)
327 printk("Caused by (from MCSR=%lx): ", reason);
329 if (reason & MCSR_MCP)
331 if (reason & MCSR_CP_PERR)
333 if (reason & MCSR_CPERR)
335 if (reason & MCSR_EXCP_ERR)
337 if (reason & MCSR_BUS_IRERR)
339 if (reason & MCSR_BUS_DRERR)
341 if (reason & MCSR_BUS_WRERR)
345 printk("Caused by (from SRR1=%lx): ", reason);
346 switch (reason & 0x601F0000) {
570 unsigned int reason = get_reason(regs);
574 /* (reason & REASON_ILLEGAL) would be the obvious thing here,
581 if (!(reason & REASON_TRAP) && do_mathemu(regs) == 0) {
587 if (reason & REASON_FP) {
616 if (reason & REASON_TRAP) {
631 if (reason & (REASON_ILLEGAL | REASON_PRIVILEGED)) {
643 if (reason & REASON_PRIVILEGED)