Add ucode files and update microcode early after recent 5.19.x restrictions
Created by: Drag0nFly
After the 5.19 kernel branch removed the option to upgrade the microcode late via the /sys/devices/system/cpu/microcode/reload
mechanism, mkinitcpio should handle microcode update files in a similar way that dracut does.
As of the current version, it does not pick up any microcode files in /lib/firmware/intel-ucode/
- and the system is thus not able to be upgraded unless either performed from the bootloader (GRUB2), or the kernel recompiled to allow late microcode loading via. the CONFIG_MICROCODE_LATE_LOADING=y
kernel option. The latter is obviously not recommended, and the cleanest way would be for mkinitcpio to handle this when building the initial ramdisk, in order for the cpu microcode to be updated at the next boot. I.e:
microcode: microcode updated early to revision 0xde, date = 2020-05-18
microcode: sig=0x806ec, pf=0x80, revision=0xde
microcode: Microcode Update Driver: v2.2.