]> 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>
Tue, 7 Jun 2011 23:37:51 +0000 (16:37 -0700)
commit430bdcaf0b9610df37aa83b21974fea22f99a624
tree0beed70e5d5210769479acc9cccdc95373ca2572
parent28c30c5d942cab7a6a576a4206319e64ccd93ca0
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