x86/microcode/intel: Rework intel_find_matching_signature()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 2 Oct 2023 11:59:50 +0000 (13:59 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 24 Oct 2023 13:05:54 +0000 (15:05 +0200)
commitb7fcd995b261c9976e05f47554529c98a0f1cbb0
tree06e565366d6e2a5b0a3ca6b8354ee432caa3e3de
parent11f96ac4c21e701650c7d8349b252973185ac6ce
x86/microcode/intel: Rework intel_find_matching_signature()

Take a cpu_signature argument and work from there. Move the match()
helper next to the callsite as there is no point for having it in
a header.

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