diff options
author | Ashok Raj <ashok.raj@intel.com> | 2023-01-09 16:35:53 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-01-21 14:55:20 +0100 |
commit | 174f1b909ab0984e5369a634971fb14a618ca797 (patch) | |
tree | ecc222f5d0ecec5aa36fe054ff56f738af6450fd /Documentation/power | |
parent | x86/microcode: Adjust late loading result reporting message (diff) | |
download | linux-174f1b909ab0984e5369a634971fb14a618ca797.tar.xz linux-174f1b909ab0984e5369a634971fb14a618ca797.zip |
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 'Documentation/power')
0 files changed, 0 insertions, 0 deletions