diff options
author | Borislav Petkov <bp@suse.de> | 2014-11-22 07:41:01 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-11-25 07:09:49 -0500 |
commit | 50872ccd8786dc72bc5a32c17695561e031fae4c (patch) | |
tree | ad04fedc260ed03c70a62c85c0fb10d3aa6ac007 /drivers/edac | |
parent | 51756a5034c12da3ce1286749b0e05de8bfbbbaf (diff) |
EDAC, MCE, AMD: Correct formatting of decoded text
Write out MCx_ADDR into the more humanly readable "MCx Error Address"
and remove double colon in the output.
Cc: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/mce_amd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index 5d4efae864e4..58586d59bf8e 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c | |||
@@ -441,8 +441,8 @@ static bool k8_mc2_mce(u16 ec, u8 xec) | |||
441 | pr_cont(": %s error in the L2 cache tags.\n", R4_MSG(ec)); | 441 | pr_cont(": %s error in the L2 cache tags.\n", R4_MSG(ec)); |
442 | else if (xec == 0x0) { | 442 | else if (xec == 0x0) { |
443 | if (TLB_ERROR(ec)) | 443 | if (TLB_ERROR(ec)) |
444 | pr_cont(": %s error in a Page Descriptor Cache or " | 444 | pr_cont("%s error in a Page Descriptor Cache or Guest TLB.\n", |
445 | "Guest TLB.\n", TT_MSG(ec)); | 445 | TT_MSG(ec)); |
446 | else if (BUS_ERROR(ec)) | 446 | else if (BUS_ERROR(ec)) |
447 | pr_cont(": %s/ECC error in data read from NB: %s.\n", | 447 | pr_cont(": %s/ECC error in data read from NB: %s.\n", |
448 | R4_MSG(ec), PP_MSG(ec)); | 448 | R4_MSG(ec), PP_MSG(ec)); |
@@ -781,7 +781,7 @@ int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data) | |||
781 | pr_cont("]: 0x%016llx\n", m->status); | 781 | pr_cont("]: 0x%016llx\n", m->status); |
782 | 782 | ||
783 | if (m->status & MCI_STATUS_ADDRV) | 783 | if (m->status & MCI_STATUS_ADDRV) |
784 | pr_emerg(HW_ERR "MC%d_ADDR: 0x%016llx\n", m->bank, m->addr); | 784 | pr_emerg(HW_ERR "MC%d Error Address: 0x%016llx\n", m->bank, m->addr); |
785 | 785 | ||
786 | if (!fam_ops) | 786 | if (!fam_ops) |
787 | goto err_code; | 787 | goto err_code; |