[PATCH 0/3] Xen Microcode update driver for 2.6.38

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Thursday, November 11, 2010 - 4:58 pm

From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

Hi all,

This series adds a new microcode driver for Xen.  The Xen hypervisor
can deal with all the low-level details of doing a microcode update
(Intel vs AMD, doing all the physical CPUs present on the system,
current and future, etc), so all the driver has to do is make a
hypercall to upload the microcode into Xen.

This only works on a privileged domain, of course.  But the Xen driver
also detects any time we're running paravirtualized under Xen to
prevent any attempts at a microcode update from a non-privileged
domain as well.

Thanks,
	J

Jeremy Fitzhardinge (2):
  xen: add CPU microcode update driver
  xen/microcode: partially enable even for non-privileged kernels

Stephen Tweedie (1):
  xen dom0: Add support for the platform_ops hypercall

 arch/x86/include/asm/microcode.h     |    9 ++
 arch/x86/include/asm/xen/hypercall.h |    8 ++
 arch/x86/kernel/Makefile             |    1 +
 arch/x86/kernel/microcode_core.c     |    5 +-
 arch/x86/kernel/microcode_xen.c      |  201 ++++++++++++++++++++++++++++++
 arch/x86/xen/Kconfig                 |    8 ++
 include/xen/interface/platform.h     |  222 ++++++++++++++++++++++++++++++++++
 include/xen/interface/xen.h          |    2 +
 8 files changed, 455 insertions(+), 1 deletions(-)
 create mode 100644 arch/x86/kernel/microcode_xen.c
 create mode 100644 include/xen/interface/platform.h

-- 
1.7.2.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] Xen Microcode update driver for 2.6.38, Jeremy Fitzhardinge, (Thu Nov 11, 4:58 pm)
[PATCH 1/3] xen dom0: Add support for the platform_ops hyp ..., Jeremy Fitzhardinge, (Thu Nov 11, 4:58 pm)
[PATCH 2/3] xen: add CPU microcode update driver, Jeremy Fitzhardinge, (Thu Nov 11, 4:58 pm)
[PATCH 3/3] xen/microcode: partially enable even for non-p ..., Jeremy Fitzhardinge, (Thu Nov 11, 4:58 pm)
Re: [PATCH 1/3] xen dom0: Add support for the platform_ops ..., Konrad Rzeszutek Wilk, (Mon Nov 15, 8:48 am)
Re: [PATCH 2/3] xen: add CPU microcode update driver, Konrad Rzeszutek Wilk, (Mon Nov 15, 8:59 am)
Re: [PATCH 3/3] xen/microcode: partially enable even for n ..., Konrad Rzeszutek Wilk, (Mon Nov 15, 9:02 am)
Re: [Xen-devel] Re: [PATCH 1/3] xen dom0: Add support for ..., Jeremy Fitzhardinge, (Mon Nov 15, 6:14 pm)
Re: [Xen-devel] Re: [PATCH 2/3] xen: add CPU microcode upd ..., Jeremy Fitzhardinge, (Mon Nov 15, 6:16 pm)
Re: [Xen-devel] Re: [PATCH 3/3] xen/microcode: partially e ..., Jeremy Fitzhardinge, (Mon Nov 15, 6:17 pm)
Re: [Xen-devel] Re: [PATCH 1/3] xen dom0: Add support for ..., Konrad Rzeszutek Wilk, (Tue Nov 16, 8:52 am)