All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] x86: centralize default APIC id definition
@ 2021-09-24 19:39 Alex Olson
  2021-09-24 19:39 ` [PATCH 1/1] " Alex Olson
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Olson @ 2021-09-24 19:39 UTC (permalink / raw)
  To: xen-devel
  Cc: Alex Olson, Jan Beulich, Andrew Cooper, Roger Pau Monné,
	Wei Liu, Ian Jackson, George Dunlap, Julien Grall,
	Stefano Stabellini, Juergen Gross, Anthony PERARD

I am interested in making the x86 topology seen by guests more flexible.
This patch keeps the original functionality but allows the APIC identifier
seen by guests for each vCPU to be altered more easily in future revisions.

Since the same mapping of vcpu_id to vlapic id is currently preserved,
the existing adjustments for 'logical processors per package' are left unchanged.

Alex Olson (1):
  x86: centralize default APIC id definition

 tools/firmware/hvmloader/Makefile      |  2 +-
 tools/firmware/hvmloader/config.h      |  1 -
 tools/firmware/hvmloader/hvmloader.c   |  3 +-
 tools/firmware/hvmloader/mp_tables.c   |  3 +-
 tools/firmware/hvmloader/smp.c         |  3 +-
 tools/firmware/hvmloader/topology.c    | 54 ++++++++++++++++++++++++++
 tools/firmware/hvmloader/topology.h    | 33 ++++++++++++++++
 tools/firmware/hvmloader/util.c        |  6 ++-
 tools/include/xenctrl.h                |  6 +++
 tools/libacpi/build.c                  |  4 +-
 tools/libacpi/libacpi.h                |  3 +-
 tools/libs/ctrl/xc_domain.c            | 27 +++++++++++++
 tools/libs/light/libxl_x86_acpi.c      |  9 ++++-
 xen/arch/x86/cpuid.c                   | 14 +++++--
 xen/arch/x86/hvm/hvm.c                 | 36 ++++++++++++++++-
 xen/arch/x86/hvm/vlapic.c              | 18 ++++++---
 xen/include/asm-x86/hvm/vlapic.h       |  4 +-
 xen/include/public/arch-x86/hvm/save.h |  1 +
 xen/include/public/hvm/hvm_op.h        | 17 ++++++++
 19 files changed, 222 insertions(+), 22 deletions(-)
 create mode 100644 tools/firmware/hvmloader/topology.c
 create mode 100644 tools/firmware/hvmloader/topology.h

-- 
2.25.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-01 19:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 19:39 [PATCH 0/1] x86: centralize default APIC id definition Alex Olson
2021-09-24 19:39 ` [PATCH 1/1] " Alex Olson
2021-10-01 14:19   ` Jan Beulich
2021-10-01 14:29     ` Andrew Cooper
2021-10-01 15:08       ` Juergen Gross
2021-10-01 17:38         ` Andrew Cooper
2021-10-01 19:07           ` Alex Olson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.