Skip to content

Commit 35202c4

Browse files
committed
EDAC/skx_common: Make output format similar
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2124913 Tested: sanity, by me commit 627d551 Author: Qiuxu Zhuo <qiuxu.zhuo@intel.com> Date: Thu Sep 1 12:43:09 2022 -0700 EDAC/skx_common: Make output format similar 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/ Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
1 parent 391ac0a commit 35202c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/edac/skx_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,12 +597,12 @@ static void skx_mce_output_error(struct mem_ctl_info *mci,
597597
mscod, errcode, adxl_msg);
598598
} else {
599599
len = snprintf(skx_msg, MSG_SIZE,
600-
"%s%s err_code:0x%04x:0x%04x socket:%d imc:%d rank:%d bg:%d ba:%d row:0x%x col:0x%x",
600+
"%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",
601601
overflow ? " OVERFLOW" : "",
602602
(uncorrected_error && recoverable) ? " recoverable" : "",
603603
mscod, errcode,
604604
res->socket, res->imc, res->rank,
605-
res->bank_group, res->bank_address, res->row, res->column);
605+
res->row, res->column, res->bank_address, res->bank_group);
606606
}
607607

608608
if (skx_show_retry_rd_err_log)

0 commit comments

Comments
 (0)