mce.c (e98bdb3059cbf2b1cd4261e126b08429f64466c3) mce.c (c1bbf387d6191e6e18f3adc4db45b922822c2ba4)
1/*
2 * Machine check exception handling.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 76 unchanged lines hidden (view full) ---

85
86 /* Populate generic machine check info */
87 mce->version = MCE_V1;
88 mce->srr0 = nip;
89 mce->srr1 = regs->msr;
90 mce->gpr3 = regs->gpr[3];
91 mce->in_use = 1;
92
1/*
2 * Machine check exception handling.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 76 unchanged lines hidden (view full) ---

85
86 /* Populate generic machine check info */
87 mce->version = MCE_V1;
88 mce->srr0 = nip;
89 mce->srr1 = regs->msr;
90 mce->gpr3 = regs->gpr[3];
91 mce->in_use = 1;
92
93 mce->initiator = MCE_INITIATOR_CPU;
94 /* Mark it recovered if we have handled it and MSR(RI=1). */
95 if (handled && (regs->msr & MSR_RI))
96 mce->disposition = MCE_DISPOSITION_RECOVERED;
97 else
98 mce->disposition = MCE_DISPOSITION_NOT_RECOVERED;
93 /* Mark it recovered if we have handled it and MSR(RI=1). */
94 if (handled && (regs->msr & MSR_RI))
95 mce->disposition = MCE_DISPOSITION_RECOVERED;
96 else
97 mce->disposition = MCE_DISPOSITION_NOT_RECOVERED;
99 mce->severity = MCE_SEV_ERROR_SYNC;
100
98
99 mce->initiator = mce_err->initiator;
100 mce->severity = mce_err->severity;
101
101 /*
102 * Populate the mce error_type and type-specific error_type.
103 */
104 mce_set_error_info(mce, mce_err);
105
106 if (!addr)
107 return;
108

--- 242 unchanged lines hidden ---
102 /*
103 * Populate the mce error_type and type-specific error_type.
104 */
105 mce_set_error_info(mce, mce_err);
106
107 if (!addr)
108 return;
109

--- 242 unchanged lines hidden ---