summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2022-01-17 19:13:28 +0300
committerBorislav Petkov <bp@suse.de>2022-01-23 22:50:18 +0300
commit1f52b0aba6fd37653416375cb8a1ca673acf8d5f (patch)
tree106ab13872e9b8bff9ea520837bc215399073565 /tools
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff)
downloadlinux-1f52b0aba6fd37653416375cb8a1ca673acf8d5f.tar.xz
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 <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220117161328.19148-1-yazen.ghannam@amd.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions