x86/microcode: support for microcode update in Xen dom0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen dom0: Add support for the platform_ops hypercallarch/ include/ include/ | +232 | 0 replies | |
| 2/2 | xen: add CPU microcode update driverarch/ arch/ arch/ +2 more | +216 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] x86/microcode: support for microcode update in Xen dom0
From: Jeremy Fitzhardinge <[email protected]>
Hi all,
I'm proposing this for 2.6.39.
This series adds a new "Xen" microcode update type, in addition to Intel and AMD.
The Xen hypervisor is responsible for performing the actual microcode update (since only it knows what physical CPUs are in the system and has sufficient privilege to access them), but it requires the dom0 kernel to provide the actual microcode update data.
Xen update mechanism is uniform independent of the CPU type, but the driver must know where to find the data file, which depends on the CPU type. And since the update hypercall updates all CPUs, we only need to execute it once on any CPU - but for simplicity it just runs it only on (V)CPU 0.
Thanks,
J
Jeremy Fitzhardinge (1):
xen: add CPU microcode update driver
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 | 198 ++++++++++++++++++++++++++++++ arch/x86/xen/Kconfig | 4 + include/xen/interface/platform.h | 222 ++++++++++++++++++++++++++++++++++ include/xen/interface/xen.h | 2 + 8 files changed, 448 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.3.5