This includes new code for parsing microcode files as well as
the kernel-side change to apply the update on all processors
at the same time.
Developed with help from Borislav Petkov, formerly bp@amd64.org.
Differential D8384
Add support for microcode update on newer AMD CPUs (10h+) avg on Oct 30 2016, 1:41 PM. Authored by Tags None Referenced Files
Subscribers
Details
This includes new code for parsing microcode files as well as Developed with help from Borislav Petkov, formerly bp@amd64.org. Tested using Athlon II X2 processor on a system where BIOS does The microcode file is taken from here:
Diff Detail
Event Timeline
Comment Actions Looks good besides what kib@ already mentioned. Thanks!
Comment Actions Just as a data point: $ cpucontrol -vvv -d /boot/firmware -u /dev/cpuctl0 cpucontrol: skipping /boot/firmware/.: is a directory cpucontrol: skipping /boot/firmware/..: is a directory cpucontrol: found cpu family 0xf model 0x6 stepping 0x2 extfamily 0x1 extmodel 0. cpucontrol: microcode revision 0x1000098 cpucontrol: equiv_id: 1062 cpucontrol: selecting revision: 10000c7 cpucontrol: selected ucode size is 960 /boot/firmware/microcode_amd.bin: updating cpu /dev/cpuctl0 to revision 0x10000c7... done. $ cpucontrol -vvv -d /boot/firmware -u /dev/cpuctl1 cpucontrol: skipping /boot/firmware/.: is a directory cpucontrol: skipping /boot/firmware/..: is a directory cpucontrol: found cpu family 0xf model 0x6 stepping 0x2 extfamily 0x1 extmodel 0. cpucontrol: microcode revision 0x10000c7 cpucontrol: equiv_id: 1062 |