1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/x86/kernel/cpu/microcode
Thomas Gleixner a7939f0167 x86/microcode/amd: Cache builtin/initrd microcode early
There is no reason to scan builtin/initrd microcode on each AP.

Cache the builtin/initrd microcode in an early initcall so that the
early AP loader can utilize the cache.

The existing fs initcall which invoked save_microcode_in_initrd_amd() is
still required to maintain the initrd_gone flag. Rename it accordingly.
This will be removed once the AP loader code is converted to use the
cache.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231017211723.187566507@linutronix.de
2023-10-24 15:05:54 +02:00
..
amd.c x86/microcode/amd: Cache builtin/initrd microcode early 2023-10-24 15:05:54 +02:00
core.c x86/microcode/amd: Cache builtin/initrd microcode early 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