EDAC/skx_common: Make output format similar
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Thu, 1 Sep 2022 19:43:09 +0000 (12:43 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 8 Sep 2022 18:40:00 +0000 (11:40 -0700)
The decoded output format of driver decoder is different from the
output format of firmware decoder. Make output format similar regardless
of decode function (Align driver decoder's to firmware decoder's).

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20220901194310.115427-1-tony.luck@intel.com/
drivers/edac/skx_common.c

index 9b10c359849b1849cb9b9ef760aea05c064d5721..16ca3de57c24e9bbc6c8a9ccc918f622efaffcb9 100644 (file)
@@ -600,12 +600,12 @@ static void skx_mce_output_error(struct mem_ctl_info *mci,
                         mscod, errcode, adxl_msg);
        } else {
                len = snprintf(skx_msg, MSG_SIZE,
-                        "%s%s err_code:0x%04x:0x%04x socket:%d imc:%d rank:%d bg:%d ba:%d row:0x%x col:0x%x",
+                        "%s%s err_code:0x%04x:0x%04x ProcessorSocketId:0x%x MemoryControllerId:0x%x PhysicalRankId:0x%x Row:0x%x Column:0x%x Bank:0x%x BankGroup:0x%x",
                         overflow ? " OVERFLOW" : "",
                         (uncorrected_error && recoverable) ? " recoverable" : "",
                         mscod, errcode,
                         res->socket, res->imc, res->rank,
-                        res->bank_group, res->bank_address, res->row, res->column);
+                        res->row, res->column, res->bank_address, res->bank_group);
        }
 
        if (skx_show_retry_rd_err_log)