Skip to content

x86/xen-ucode: Introduce --force option

Fouad Hilly xen-devel 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 2 repliesIn review
  2. v64 patches 11 repliesSuperseded
  3. v54 patches 8 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v44 patches5 repliesSuperseded
v35 patches10 repliesSuperseded
v25 patches14 repliesSuperseded
v15 patches11 repliesSuperseded

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/ucode: refactor xen-ucode to utilize getopttools/misc/xen-ucode.c+46 -80 replies
2/3x86/ucode: Introduce --force option to xen-ucodetools/include/xenctrl.h tools/libs/ctrl/xc_misc.c tools/misc/xen-ucode.c+22 -92 replies
3/3x86/ucode: Utilize ucode_force and remove opt_ucode_allow_sameCHANGELOG.md docs/misc/xen-command-line.pandoc xen/arch/x86/cpu/microcode/amd.c +3 more+72 -530 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Cooper
1/3
2/3R-b
3/3

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

Read the v7 thread

Cover letter [PATCH v7 0/3] x86/xen-ucode: Introduce --force option

Refactor and introduce --force option to xen-ucode, which skips microcode version check when updating x86 CPU micocode. A new hypercall introduced with flags field to facilitate the new option and allow for future flags
as needed.
This change is required to enable developers to load ucode that is the same version as the one already loaded or downgrade for testing.

Fouad Hilly (3):
x86/ucode: refactor xen-ucode to utilize getopt x86/ucode: Introduce --force option to xen-ucode x86/ucode: Utilize ucode_force and remove opt_ucode_allow_same

 CHANGELOG.md                         |  1 +
 docs/misc/xen-command-line.pandoc    |  7 +-
 tools/include/xenctrl.h              |  3 +-
 tools/libs/ctrl/xc_misc.c            | 12 ++--
 tools/misc/xen-ucode.c               | 66 ++++++++++++++++---
 xen/arch/x86/cpu/microcode/amd.c     |  8 ++-
 xen/arch/x86/cpu/microcode/core.c    | 95 ++++++++++++++++------------
 xen/arch/x86/cpu/microcode/intel.c   |  9 ++-
 xen/arch/x86/cpu/microcode/private.h |  5 +-
 9 files changed, 138 insertions(+), 68 deletions(-)
Signature · 1 line
2.42.0