diff options
author | Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com> | 2015-05-06 06:58:54 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-05-06 19:49:31 +0200 |
commit | 6e6e746e33e9555a7fce159d25314c9df3bcda93 (patch) | |
tree | 1059984df5f39f815d5bd37e68f599ba8b6eaf37 /arch/x86/include/asm/vdso.h | |
parent | afdf344e08fbec28ab2204a626fa1f260dcb68be (diff) | |
download | talos-op-linux-6e6e746e33e9555a7fce159d25314c9df3bcda93.tar.gz talos-op-linux-6e6e746e33e9555a7fce159d25314c9df3bcda93.zip |
x86/mce/amd: Collect valid address before logging an error
amd_decode_mce() needs value in m->addr so it can report the error
address correctly. This should be setup in __log_error() before we call
mce_log(). We do this because the error address is an important bit of
information which should be conveyed to userspace.
The correct output then reports proper address, like this:
[Hardware Error]: Corrected error, no action required.
[Hardware Error]: CPU:0 (15:60:0) MC0_STATUS [-|CE|-|-|AddrV|-|-|CECC]: 0x840041000028017b
[Hardware Error]: MC0 Error Address: 0x00001f808f0ff040
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: x86-ml <x86@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1430913538-1415-3-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include/asm/vdso.h')
0 files changed, 0 insertions, 0 deletions