x86/microcode/intel: Rework intel_cpu_collect_info()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 17 Oct 2023 21:23:45 +0000 (23:23 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 24 Oct 2023 13:05:53 +0000 (15:05 +0200)
commit164aa1ca537238c46923ccacd8995b4265aee47b
tree1fb10298457f810272f21e867973b09d0480414a
parent3973718cff1e3a5d88ea78ec28ecca2afa60b30b
x86/microcode/intel: Rework intel_cpu_collect_info()

Nothing needs struct ucode_cpu_info. Make it take struct cpu_signature,
let it return a boolean and simplify the implementation. Rename it now
that the silly name clash with collect_cpu_info() is gone.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231017211722.851573238@linutronix.de
arch/x86/include/asm/cpu.h
arch/x86/kernel/cpu/microcode/intel.c
drivers/platform/x86/intel/ifs/load.c