]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen: add CPU microcode update driver
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sat, 28 Mar 2009 00:39:15 +0000 (17:39 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 23 Sep 2011 18:48:32 +0000 (11:48 -0700)
commit23757fb5d6781bf945d21d1f5373aa71122cbea9
tree587795c87498cb96fd103fd7eb70a1c3da1a5bef
parentc0daea995be5dd647dde40ca1ed6de34a9ba6040
xen: add CPU microcode update driver

Xen does all the hard work for us, including choosing the right update
method for this cpu type and actually doing it for all cpus.  We just
need to supply it with the firmware blob.

Because Xen updates all CPUs (and the kernel's virtual cpu numbers have
no fixed relationship with the underlying physical cpus), we only bother
doing anything for cpu "0".

[ Impact: allow CPU microcode update in Xen dom0 ]
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/microcode.h
arch/x86/kernel/Makefile
arch/x86/kernel/microcode_core.c
arch/x86/kernel/microcode_xen.c [new file with mode: 0644]
arch/x86/xen/Kconfig