Skip to content

x86/boot: Yet more PVH module handling fixes

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/boot: Add a temporary module_map pointer to boot_imagexen/arch/x86/include/asm/bootinfo.h xen/arch/x86/setup.c+2 -01 reply
2/3x86/boot: Fix microcode module handling during PVH bootxen/arch/x86/cpu/microcode/core.c xen/arch/x86/include/asm/microcode.h xen/arch/x86/setup.c+22 -303 replies
3/3x86/boot: Fix XSM module handling during PVH bootxen/arch/x86/setup.c xen/include/xsm/xsm.h xen/xsm/xsm_core.c +1 more+19 -212 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel P. SmithRoger Pau Monné
SeriesA-b R-b
1/3R-b
2/3R-b A-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] x86/boot: Yet more PVH module handling fixes

It turns out microcode and XSM module handling has been broken ever since PVH boot was introduced. Both appear to have have gone unnoticed because their functionality isn't typically used in PVH guests.

https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1508716668

Andrew Cooper (1):
x86/boot: Add a temporary module_map pointer to boot_image

Daniel P. Smith (2):
x86/boot: Fix microcode module handling during PVH boot x86/boot: Fix XSM module handling during PVH boot

 xen/arch/x86/cpu/microcode/core.c    | 40 +++++++++++-----------------
 xen/arch/x86/include/asm/bootinfo.h  |  1 +
 xen/arch/x86/include/asm/microcode.h |  8 +++---
 xen/arch/x86/setup.c                 | 10 ++++---
 xen/include/xsm/xsm.h                | 12 ++++-----
 xen/xsm/xsm_core.c                   |  7 +++--
 xen/xsm/xsm_policy.c                 | 16 +++++------
 7 files changed, 43 insertions(+), 51 deletions(-)
Signature · 1 line
2.39.5