[PATCH v2 0/5] x86/xen-ucode: Introduce --force option

Fouad Hilly posted 5 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240416091546.11622-1-fouad.hilly@cloud.com
There is a newer version of this series
tools/include/xenctrl.h              |  3 +-
tools/libs/ctrl/xc_misc.c            | 13 +++++-
tools/misc/xen-ucode.c               | 62 ++++++++++++++++++++++------
xen/arch/x86/cpu/microcode/amd.c     |  8 +---
xen/arch/x86/cpu/microcode/core.c    | 14 +++++--
xen/arch/x86/cpu/microcode/intel.c   | 11 ++---
xen/arch/x86/include/asm/microcode.h |  3 +-
xen/arch/x86/platform_hypercall.c    | 12 +++++-
xen/include/public/platform.h        |  6 +++
9 files changed, 97 insertions(+), 35 deletions(-)
[PATCH v2 0/5] x86/xen-ucode: Introduce --force option
Posted by Fouad Hilly 7 months, 1 week ago
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.

Fouad Hilly (5):
  x86: Update x86 low level version check of microcode
  x86: Refactor microcode_update() hypercall with flags
  x86: Add usage() to print out usage message
  x86: Use getopt to handle command line args
  x86: Add --force option to xen-ucode to override microcode version
    check

 tools/include/xenctrl.h              |  3 +-
 tools/libs/ctrl/xc_misc.c            | 13 +++++-
 tools/misc/xen-ucode.c               | 62 ++++++++++++++++++++++------
 xen/arch/x86/cpu/microcode/amd.c     |  8 +---
 xen/arch/x86/cpu/microcode/core.c    | 14 +++++--
 xen/arch/x86/cpu/microcode/intel.c   | 11 ++---
 xen/arch/x86/include/asm/microcode.h |  3 +-
 xen/arch/x86/platform_hypercall.c    | 12 +++++-
 xen/include/public/platform.h        |  6 +++
 9 files changed, 97 insertions(+), 35 deletions(-)

-- 
2.42.0