summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAshok Raj <ashok.raj@intel.com>2023-01-09 18:35:53 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-01-21 16:55:20 +0300
commit174f1b909ab0984e5369a634971fb14a618ca797 (patch)
treeecc222f5d0ecec5aa36fe054ff56f738af6450fd /tools/perf/scripts/python/exported-sql-viewer.py
parent6eab3abac7043226e5375e9ead0c7607ced6767b (diff)
downloadlinux-174f1b909ab0984e5369a634971fb14a618ca797.tar.xz
x86/microcode/intel: Pass the microcode revision to print_ucode_info() directly
print_ucode_info() takes a struct ucode_cpu_info pointer as parameter. Its sole purpose is to print the microcode revision. The only available ucode_cpu_info always describes the currently loaded microcode revision. After a microcode update is successful, this is the new revision, or on failure it is the original revision. In preparation for future changes, replace the struct ucode_cpu_info pointer parameter with a plain integer which contains the revision number and adjust the call sites accordingly. No functional change. [ bp: - Fix + cleanup commit message. - Revert arbitrary, unrelated change. ] Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230120161923.118882-5-ashok.raj@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions