mbox series

[v2,0/4] x86/microcode: Support builtin CPU microcode

Message ID cover.1576630344.git.elnikety@amazon.com (mailing list archive)
Headers show
Series x86/microcode: Support builtin CPU microcode | expand

Message

Eslam Elnikety Dec. 18, 2019, 1:32 a.m. UTC
The main goal of this patch series is to add support for builtin microcode.
Towards that end, the series starts with a few improvements for the
documentation and parsing of the ucode= Xen command line parameter that
controls early loading of microcode (Patches 1--3), and follows with the
main builtin suppot (Patch 4).

Changes in v2:
- An earlier version of Patch 4 was submitted in isolation. Refer to the
  patch itself for details regarding the relevant changes.
- Patches 1--3 are additions.

Eslam Elnikety (4):
  x86/microcode: Improve documentation and parsing for ucode=
  x86/microcode: avoid unnecessary xmalloc/memcpy of ucode data
  x86/microcode: use const qualifier for microcode buffer
  x86/microcode: Support builtin CPU microcode

 docs/admin-guide/microcode-loading.rst |  31 ++++++
 docs/misc/xen-command-line.pandoc      |  26 +++--
 xen/arch/x86/Kconfig                   |  30 ++++++
 xen/arch/x86/Makefile                  |   1 +
 xen/arch/x86/microcode.c               | 139 ++++++++++++++-----------
 xen/arch/x86/microcode/Makefile        |  46 ++++++++
 xen/arch/x86/xen.lds.S                 |  12 +++
 7 files changed, 221 insertions(+), 64 deletions(-)
 create mode 100644 xen/arch/x86/microcode/Makefile