diff options
author | Yazen Ghannam <[email protected]> | 2022-01-17 16:13:28 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-01-23 20:50:18 +0100 |
commit | 1f52b0aba6fd37653416375cb8a1ca673acf8d5f (patch) | |
tree | 106ab13872e9b8bff9ea520837bc215399073565 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) |
x86/MCE/AMD: Allow thresholding interface updates after init
Changes to the AMD Thresholding sysfs code prevents sysfs writes from
updating the underlying registers once CPU init is completed, i.e.
"threshold_banks" is set.
Allow the registers to be updated if the thresholding interface is
already initialized or if in the init path. Use the "set_lvt_off" value
to indicate if running in the init path, since this value is only set
during init.
Fixes: a037f3ca0ea0 ("x86/mce/amd: Make threshold bank setting hotplug robust")
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions