Skip to content

Xen Microcode update driver for 2.6.38

Jeremy Fitzhardinge lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen dom0: Add support for the platform_ops hypercallarch/x86/include/asm/xen/hypercall.h include/xen/interface/platform.h include/xen/interface/xen.h+232 -03 replies
2/3xen: add CPU microcode update driverarch/x86/include/asm/microcode.h arch/x86/kernel/Makefile arch/x86/kernel/microcode_core.c +2 more+219 -12 replies
3/3xen/microcode: partially enable even for non-privileged kernelsarch/x86/include/asm/microcode.h arch/x86/kernel/Makefile arch/x86/xen/Kconfig+7 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: Jeremy Fitzhardinge <[email protected]>

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
Signature · 1 line
1.7.2.3