Intel microcode

This article describes the process of updating the microcode on Intel processors.

Kernel
You need to activate the following kernel options:

Software
You can now install the microcode

And a tool to manipulate it

Configuration
After emerging, generate the microcode cpio archive using :

Grub 1.x
Add the generated microcode to your kernel command line as an initrd parameter (this should be done even if you don't use an initrd image in order to boot, the microcode update merely leverages the initrd hooks):

Grub 2.x
Change this small section of /etc/grub.d/10_linux from:

To this:

Regenerate your grub.cfg with:

Reboot and you're all done.

Verification
Here is an example of a CPU with no available microcode updates or the system was not configued to load them properly:

Here is the same CPU but with microcode updates being applied successfully:

Kernel
You need to activate the following kernel options:

Software
You can now install :

OpenRC
You can now start microcode-ctl:

To start microcode-ctl at boot time, add it your boot runlevel:

systemd
See: Systemd. Simply make sure that the Microcode loader is set as a module in the kernel configuration as noted above. You don't need to add a service or do anything else.