summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2024-05-23 18:56:33 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2024-05-27 11:42:35 +0300
commitede18982f19942c7333530cf4fbf271e318df1b2 (patch)
tree210b3d919757a027fe5d5eac1bff7097ae3c732a /tools/perf/scripts/python/parallel-perf.py
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
downloadlinux-ede18982f19942c7333530cf4fbf271e318df1b2.tar.xz
x86/mce/inject: Only write MCA_MISC when a value has been supplied
The MCA_MISC register is used to control the MCA thresholding feature on AMD systems. Therefore, it is not generally part of the error state that a user would adjust when testing non-thresholding cases. However, MCA_MISC is unconditionally written even if a user does not supply a value. The default value of '0' will be used and clobber the register. Write the MCA_MISC register only if the user has given a value for it. Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240523155641.2805411-2-yazen.ghannam@amd.com
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions