mbox series

[v5,0/3] xen-ucode: print information about currently loaded ucode

Message ID 20230417135335.17176-1-sergey.dyasli@citrix.com (mailing list archive)
Headers show
Series xen-ucode: print information about currently loaded ucode | expand

Message

Sergey Dyasli April 17, 2023, 1:53 p.m. UTC
Currently it's impossible to get CPU's microcode revision from Xen after
late loading without looking into Xen logs which is not always convenient.
Add an option to xen-ucode tool to print the currently loaded ucode
revision.

Sergey Dyasli (3):
  tools/xenctrl: add xc_get_cpu_version()
  x86/platform: introduce XENPF_get_ucode_revision
  tools/xen-ucode: print information about currently loaded ucode

 tools/include/xenctrl.h                  |  3 +
 tools/libs/ctrl/xc_misc.c                | 35 ++++++++++
 tools/misc/xen-ucode.c                   | 85 +++++++++++++++++++++---
 xen/arch/x86/platform_hypercall.c        | 29 ++++++++
 xen/arch/x86/x86_64/platform_hypercall.c |  4 ++
 xen/include/public/platform.h            | 11 +++
 xen/include/xlat.lst                     |  1 +
 7 files changed, 158 insertions(+), 10 deletions(-)