diff options
author | Shirish S <[email protected]> | 2019-01-16 15:10:40 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-01-16 19:42:00 +0100 |
commit | 30aa3d26edb0f3d7992757287eec0ca588a5c259 (patch) | |
tree | c13b32d620ced62b38cde7e3b2e8ae9853c311ce /lib/test_overflow.c | |
parent | c95b323dcd3598dd7ef5005d6723c1ba3b801093 (diff) |
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions