diff options
author | Shirish S <Shirish.S@amd.com> | 2019-01-16 16:10:40 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-01-16 19:42:00 +0100 |
commit | 30aa3d26edb0f3d7992757287eec0ca588a5c259 (patch) | |
tree | c13b32d620ced62b38cde7e3b2e8ae9853c311ce /include/ras/ras_event.h | |
parent | x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models (diff) | |
download | linux-30aa3d26edb0f3d7992757287eec0ca588a5c259.tar.xz linux-30aa3d26edb0f3d7992757287eec0ca588a5c259.zip |
x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
The MC4_MISC thresholding quirk needs to be applied during S5 -> S0 and
S3 -> S0 state transitions, which follow different code paths. Carve it
out into a separate function and call it mce_amd_feature_init() where
the two code paths of the state transitions converge.
[ bp: massage commit message and the carved out function. ]
Signed-off-by: Shirish S <shirish.s@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Yazen Ghannam <yazen.ghannam@amd.com>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/1547651417-23583-3-git-send-email-shirish.s@amd.com
Diffstat (limited to 'include/ras/ras_event.h')
0 files changed, 0 insertions, 0 deletions