diff options
author | Carlos Bilbao <carlos.bilbao@amd.com> | 2022-04-05 13:32:14 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-25 12:40:48 +0200 |
commit | fa619f5156cf1ee3773edc6d756be262c9ef35de (patch) | |
tree | 9564fc438dbc42c0af69dc53232939ec29449df0 /arch/x86/xen | |
parent | 70c459d915e838b7f536b8e26e0b3a6141bd2645 (diff) | |
download | linux-fa619f5156cf1ee3773edc6d756be262c9ef35de.tar.bz2 |
x86/mce: Add messages for panic errors in AMD's MCE grading
When a machine error is graded as PANIC by the AMD grading logic, the
MCE handler calls mce_panic(). The notification chain does not come
into effect so the AMD EDAC driver does not decode the errors. In these
cases, the messages displayed to the user are more cryptic and miss
information that might be relevant, like the context in which the error
took place.
Add messages to the grading logic for machine errors so that it is clear
what error it was.
[ bp: Massage commit message. ]
Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Yazen Ghannam <yazen.ghannam@amd.com>
Link: https://lore.kernel.org/r/20220405183212.354606-3-carlos.bilbao@amd.com
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions