]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 24 Feb 2012 04:24:59 +0000 (23:24 -0500)
commitfe2151feacca4451e4b3ea2585be54fb779289b2
tree674867f8b6b8ce6376cb91d9aacb8ff8dc2cb277
parent13610b3b01f1fdfebc910edae2b4dd69812e64a5
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