x86/microcode: Use the firmware_loader built-in API
The microcode loader has been looping through __start_builtin_fw down to __end_builtin_fw to look for possibly built-in firmware for microcode updates. Now that the firmware loader code has exported an API for looping through the kernel's built-in firmware section, use it and drop the x86 implementation in favor. Signed-off-by:Borislav Petkov <bp@suse.de> Signed-off-by:
Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20211021155843.1969401-4-mcgrof@kernel.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- arch/x86/include/asm/microcode.h 0 additions, 3 deletionsarch/x86/include/asm/microcode.h
- arch/x86/kernel/cpu/microcode/amd.c 10 additions, 4 deletionsarch/x86/kernel/cpu/microcode/amd.c
- arch/x86/kernel/cpu/microcode/core.c 0 additions, 17 deletionsarch/x86/kernel/cpu/microcode/core.c
- arch/x86/kernel/cpu/microcode/intel.c 8 additions, 1 deletionarch/x86/kernel/cpu/microcode/intel.c
Loading
Please register or sign in to comment