]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ucode] Add support for updating x86 microcode
authorMichael Brown <mcb30@ipxe.org>
Fri, 15 Mar 2024 17:43:49 +0000 (17:43 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 15 Mar 2024 17:43:49 +0000 (17:43 +0000)
commit17882e76afc0e69a0d4ed142aa33b94017ae4e58
tree43b4c027ad128fc52dffa463599274a6ea660a16
parent1344e13a03cb6ed25372651cae6b057b863c89be
[ucode] Add support for updating x86 microcode

Intel and AMD distribute microcode updates, which are typically
applied by the BIOS and/or the booted operating system.

BIOS updates can be difficult to obtain and cumbersome to apply, and
are often neglected.  Operating system updates may be subject to
strict change control processes, particularly for production
workloads.  There is therefore value in being able to update the
microcode at boot time using a freshly downloaded microcode update
file, particularly in scenarios where the physical hardware and the
installed operating system are controlled by different parties (such
as in a public cloud infrastructure).

Add support for parsing Intel and AMD microcode update images, and for
applying the updates to all CPUs in the system.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/core/ucode_mp.S [new file with mode: 0644]
src/arch/x86/image/ucode.c [new file with mode: 0644]
src/arch/x86/include/bits/errfile.h
src/arch/x86/include/ipxe/ucode.h [new file with mode: 0644]
src/config/config.c
src/config/general.h