diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2019-03-26 18:00:31 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-03 06:27:38 +0200 |
commit | 1a0ecfd4e633a3fb2e8914f73e599fbb775ad1d5 (patch) | |
tree | d79f64f51b957dc909f3c3c4ba6246dd7f26bd19 /drivers/eisa | |
parent | 4a2b2d5dc8fae21a52f86f9abc0857dfe6c88cb4 (diff) | |
download | talos-obmc-linux-1a0ecfd4e633a3fb2e8914f73e599fbb775ad1d5.tar.gz talos-obmc-linux-1a0ecfd4e633a3fb2e8914f73e599fbb775ad1d5.zip |
powerpc/pseries/mce: Fix misleading print for TLB mutlihit
commit 6f845ebec2706841d15831fab3ffffcfd9e676fa upstream.
On pseries, TLB multihit are reported as D-Cache Multihit. This is because
the wrongly populated mc_err_types[] array. Per PAPR, TLB error type is 0x04
and mc_err_types[4] points to "D-Cache" instead of "TLB" string. Fixup the
mc_err_types[] array.
Machine check error type per PAPR:
0x00 = Uncorrectable Memory Error (UE)
0x01 = SLB error
0x02 = ERAT Error
0x04 = TLB error
0x05 = D-Cache error
0x07 = I-Cache error
Fixes: 8f0b80561f21 ("powerpc/pseries: Display machine check error details.")
Cc: stable@vger.kernel.org # v4.20+
Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions