[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.