Messages in this thread | | | Date | Wed, 20 Jun 2012 20:59:18 -0300 | From | Henrique de Moraes Holschuh <> | Subject | Re: [PATCH 2/2] x86, microcode: Make reload interface per system |
| |
On Thu, 21 Jun 2012, Borislav Petkov wrote: > * we don't need the userspace tool to split the blob - we have one > single file we load and the driver picks out what it needs.
Yes. A smarter userspace tool is useful to reduce the size of the microcode blob that ends up linked to the kernel or added to the initramfs in distros that generate the initramfs at the target system when you install a kernel (like Debian does), but it is in no way *required*.
Typically you go from ~512KiB uncompressed (all binary microcodes) to 8-32KiB uncompressed when you target only the [online] processors of the current system. Nice for embedded, I suppose.
> In the end, we have one unified ucode loading procedure: > > 1. put the blob in /lib/firmware/... > 2. echo 1 > /sys/devices/system/cpu/microcode/reload > > That's it - it can't be simpler than that.
Indeed. And with an invariant microcode name for the Intel driver, one can use the standard userspace tooling that detects which firmware needs to go into the initramfs when no special tooling is installed.
-- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
| |