mbox series

[0/3] x86/ucode: Untangle revision-relational logic

Message ID 20241108144252.315604-1-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series x86/ucode: Untangle revision-relational logic | expand

Message

Andrew Cooper Nov. 8, 2024, 2:42 p.m. UTC
Right now, cpu_request_microcode() ends up consuming the currently-loaded
microcode revision (and discarding the answer), simply because the helpers are
too overloaded.

Andrew Cooper (3):
  x86/ucode: Rework Intel's microcode_update_match()
  x86/ucode: Rework AMD's microcode_fits()
  x86/ucode: Drop MIS_UCODE and microcode_match_result

 xen/arch/x86/cpu/microcode/amd.c     | 57 +++++++++++++---------------
 xen/arch/x86/cpu/microcode/core.c    |  5 +--
 xen/arch/x86/cpu/microcode/intel.c   | 35 ++++++++---------
 xen/arch/x86/cpu/microcode/private.h | 21 +++++-----
 4 files changed, 54 insertions(+), 64 deletions(-)