summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAshok Raj <ashok.raj@intel.com>2023-01-31 00:39:48 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-01-31 18:47:03 +0300
commit25d0dc4b957cc8674f8554e85f18a00467e876d7 (patch)
tree47d159c908305f56818e2bad0656ae994f5cac2f /tools/perf/scripts/python/exported-sql-viewer.py
parenta9a5cac225b0830d1879640e25231a37e537f0da (diff)
downloadlinux-25d0dc4b957cc8674f8554e85f18a00467e876d7.tar.xz
x86/microcode: Allow only "1" as a late reload trigger value
Microcode gets reloaded late only if "1" is written to the reload file. However, the code silently treats any other unsigned integer as a successful write even though no actions are performed to load microcode. Make the loader more strict to accept only "1" as a trigger value and return an error otherwise. [ bp: Massage commit message. ] Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230130213955.6046-3-ashok.raj@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions