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