 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/6] x86/ucode: Cleanup - Part 1/n
 I got sad at the state of microcode handling while investigating an issue.
This is some preliminary cleanup, with the only practical changes in patch 4.
Andrew Cooper (6):
  x86/ucode: Remove declarations for non-external functions
  x86/ucode: Move microcode into its own directory
  x86/ucode: Move interface from processor.h to microcode.h
  x86/ucode: Rationalise startup and family/model checks
  x86/ucode: Alter ops->free_patch() to free the entire patch
  x86/ucode: Make struct microcode_patch opaque
 xen/arch/x86/Makefile                              |  3 --
 xen/arch/x86/acpi/power.c                          |  1 +
 xen/arch/x86/cpu/Makefile                          |  1 +
 xen/arch/x86/cpu/microcode/Makefile                |  3 ++
 .../x86/{microcode_amd.c => cpu/microcode/amd.c}   | 54 ++++++++-----------
 xen/arch/x86/{microcode.c => cpu/microcode/core.c} | 62 +++++++++++-----------
 .../{microcode_intel.c => cpu/microcode/intel.c}   | 47 ++++++----------
 .../x86/cpu/microcode/private.h}                   | 33 ++++--------
 xen/arch/x86/efi/efi-boot.h                        |  2 +-
 xen/arch/x86/platform_hypercall.c                  |  1 +
 xen/arch/x86/setup.c                               |  1 +
 xen/arch/x86/smpboot.c                             |  1 +
 xen/arch/x86/spec_ctrl.c                           |  1 -
 xen/include/asm-x86/microcode.h                    | 36 +++----------
 xen/include/asm-x86/processor.h                    |  9 ----
 15 files changed, 93 insertions(+), 162 deletions(-)
 create mode 100644 xen/arch/x86/cpu/microcode/Makefile
 rename xen/arch/x86/{microcode_amd.c => cpu/microcode/amd.c} (95%)
 rename xen/arch/x86/{microcode.c => cpu/microcode/core.c} (96%)
 rename xen/arch/x86/{microcode_intel.c => cpu/microcode/intel.c} (92%)
 copy xen/{include/asm-x86/microcode.h => arch/x86/cpu/microcode/private.h} 
(57%)
-- 
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |