OSDN Git Service

x86/mce: Pass pointer to saved pt_regs to severity calculation routines
authorYouquan Song <youquan.song@intel.com>
Tue, 6 Oct 2020 21:09:05 +0000 (14:09 -0700)
committerBorislav Petkov <bp@suse.de>
Wed, 7 Oct 2020 08:51:42 +0000 (10:51 +0200)
commit41ce0564bfe2e129d56730418d8c0a9f9f2d31b5
tree3a7eef61d9a61a63ff6c14c25467c9d7c0529ebd
parent5da8e4a658109e3b7e1f45ae672b7c06ac3e7158
x86/mce: Pass pointer to saved pt_regs to severity calculation routines

New recovery features require additional information about processor
state when a machine check occurred. Pass pt_regs down to the routines
that need it.

No functional change.

Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201006210910.21062-2-tony.luck@intel.com
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/cpu/mce/internal.h
arch/x86/kernel/cpu/mce/severity.c