[PATCH 00/10] x86/ucode: Fix module-handling use-aftere-free's

Andrew Cooper posted 10 patches 3 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20241028091856.2151603-1-andrew.cooper3@citrix.com
xen/arch/x86/cpu/microcode/amd.c     |   4 +
xen/arch/x86/cpu/microcode/core.c    | 329 ++++++++++++++-------------
xen/arch/x86/cpu/microcode/intel.c   |   4 +
xen/arch/x86/cpu/microcode/private.h |   7 +
xen/arch/x86/include/asm/microcode.h |   1 -
xen/arch/x86/setup.c                 |   2 -
6 files changed, 189 insertions(+), 158 deletions(-)
[PATCH 00/10] x86/ucode: Fix module-handling use-aftere-free's
Posted by Andrew Cooper 3 weeks, 3 days ago
Some of these were known, some not, but they were creating unecessary
complexity in the Hyperlaunch series.

https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1513996396

Andrew Cooper (10):
  x86/ucode: Turn microcode_init_cache() into a presmp_initcall
  x86/ucode: Delete the microcode_init() initcall
  x86/ucode: Break early_microcode_load() out of early_microcode_init()
  x86/ucode: Fold early_microcode_update_cpu() into it's single caller
  x86/ucode: Fold microcode_grab_module() into its single caller
  x86/ucode: Enforce invariant about module selection
  x86/ucode: Move the CPIO path string into microcode_ops
  x86/ucode: Use bootstrap_unmap() in early_microcode_load()
  x86/ucode: Drop ucode_mod and ucode_blob
  x86/ucode: Fold early_update_cache() into its single caller

 xen/arch/x86/cpu/microcode/amd.c     |   4 +
 xen/arch/x86/cpu/microcode/core.c    | 329 ++++++++++++++-------------
 xen/arch/x86/cpu/microcode/intel.c   |   4 +
 xen/arch/x86/cpu/microcode/private.h |   7 +
 xen/arch/x86/include/asm/microcode.h |   1 -
 xen/arch/x86/setup.c                 |   2 -
 6 files changed, 189 insertions(+), 158 deletions(-)

-- 
2.39.5