freebsd-dev/usr.sbin/cpucontrol
Andriy Gapon 0112b52b61 Add support for microcode update on newer AMD CPUs (10h+)
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.

Tested using Athlon II X2 processor on a system where BIOS does
not have the latest microcode version:
/boot/firmware/microcode_amd.bin: updating cpu /dev/cpuctl0 to revision 0x10000c7... done.

The microcode file is taken from here:
https://web.archive.org/web/20160528230514/http://www.amd64.org/microcode.html
(note that the original site seems to be down at the moment)
It can also be found here:
https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/amd-ucode

Reviewed by:	kib, stas
MFC after:	2 weeks
Relnotes:	maybe
Differential Revision: https://reviews.freebsd.org/D8384
2016-11-02 16:15:49 +00:00
..
amd10h.c Add support for microcode update on newer AMD CPUs (10h+) 2016-11-02 16:15:49 +00:00
amd.c
amd.h Add support for microcode update on newer AMD CPUs (10h+) 2016-11-02 16:15:49 +00:00
cpucontrol.8
cpucontrol.c Add support for microcode update on newer AMD CPUs (10h+) 2016-11-02 16:15:49 +00:00
cpucontrol.h
intel.c
intel.h
Makefile Add support for microcode update on newer AMD CPUs (10h+) 2016-11-02 16:15:49 +00:00
Makefile.depend
via.c
via.h