twx-linux/arch/x86/kernel/cpu/microcode
Thomas Gleixner ecfd410893 x86/microcode/amd: Use correct per CPU ucode_cpu_info
find_blobs_in_containers() is invoked on every CPU but overwrites
unconditionally ucode_cpu_info of CPU0.

Fix this by using the proper CPU data and move the assignment into the
call site apply_ucode_from_containers() so that the function can be
reused.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231010150702.433454320@linutronix.de
2023-10-24 15:05:54 +02:00
..
amd.c x86/microcode/amd: Use correct per CPU ucode_cpu_info 2023-10-24 15:05:54 +02:00
core.c x86/microcode: Remove pointless apply() invocation 2023-10-24 15:05:54 +02:00
intel.c x86/microcode/intel: Rework intel_find_matching_signature() 2023-10-24 15:05:54 +02:00
internal.h x86/microcode/intel: Save the microcode only after a successful late-load 2023-10-24 15:05:53 +02:00
Makefile x86/microcode: Hide the config knob 2023-08-13 10:26:39 +02:00