]> 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)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 29 Jun 2015 19:14:41 +0000 (12:14 -0700)
commit0923761189467bfd8df6ea159722bb18e749f8b6
treed917c21d0bc9098c556df4e2ec9d311ea9e84ff4
parent8d50b6e91fb941d69af3f6cad83826e97a66adee
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>
Conflicts:
arch/x86/xen/Kconfig

(cherry picked from commit da3d1c83399886c443cbf9e57455bcc2e5caf28c)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Conflicts:
arch/x86/include/asm/microcode.h
arch/x86/kernel/Makefile
arch/x86/kernel/microcode_core.c
arch/x86/xen/Kconfig
arch/x86/include/asm/microcode.h
arch/x86/kernel/Makefile
arch/x86/kernel/microcode_core.c [new file with mode: 0644]
arch/x86/kernel/microcode_xen.c [new file with mode: 0644]
arch/x86/xen/Kconfig