mbox series

[v5,00/12] More Hyper-V infrastructures

Message ID 20200129202034.15052-1-liuwe@microsoft.com (mailing list archive)
Headers show
Series More Hyper-V infrastructures | expand

Message

Wei Liu Jan. 29, 2020, 8:20 p.m. UTC
This patch sereis implements several important functionalities to run
Xen on top of Hyper-V.

See individual patches for more details. First few patches are generic
x86 changes. The rest is Hyper-V specific.

I've checked the assembly code as well as putting in a test patch to
make sure the hypercall interface is implemented correctly.

Wei.

Cc: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Wei Liu <wl@xen.org>
Cc: Roger Pau Monné <roger.pau@citrix.com>
Cc: Michael Kelley <mikelley@microsoft.com>
Cc: Paul Durrant <pdurrant@amazon.com>

Wei Liu (12):
  MAINTAINERS: put Hyper-V code under Viridian maintainership
  x86/hypervisor: make hypervisor_ap_setup return an error code
  x86/smp: don't online cpu if hypervisor_ap_setup fails
  x86: make paddr_bits available earlier
  x86: provide executable fixmap facility
  x86/hypervisor: provide hypervisor_reserve_top_pages
  x86/hyperv: setup hypercall page
  x86/hyperv: provide Hyper-V hypercall functions
  DO NOT APPLY: x86/hyperv: issue an hypercall
  x86/hyperv: provide percpu hypercall input page
  x86/hyperv: retrieve vp_index from Hyper-V
  x86/hyperv: setup VP assist page

 MAINTAINERS                              |   6 +-
 xen/arch/x86/boot/x86_64.S               |  15 ++-
 xen/arch/x86/e820.c                      |  19 ++-
 xen/arch/x86/guest/hyperv/hyperv.c       | 155 ++++++++++++++++++++++-
 xen/arch/x86/guest/hyperv/private.h      |  31 +++++
 xen/arch/x86/guest/hypervisor.c          |  14 +-
 xen/arch/x86/guest/xen/xen.c             |  11 +-
 xen/arch/x86/livepatch.c                 |   3 +-
 xen/arch/x86/mm.c                        |  15 ++-
 xen/arch/x86/setup.c                     |   5 +-
 xen/arch/x86/smpboot.c                   |  12 +-
 xen/arch/x86/xen.lds.S                   |   7 +
 xen/include/asm-x86/config.h             |   2 +-
 xen/include/asm-x86/fixmap.h             |  24 ++++
 xen/include/asm-x86/guest/hyperv-hcall.h |  96 ++++++++++++++
 xen/include/asm-x86/guest/hyperv-tlfs.h  |   5 +-
 xen/include/asm-x86/guest/hyperv.h       |   3 +
 xen/include/asm-x86/guest/hypervisor.h   |  10 +-
 18 files changed, 398 insertions(+), 35 deletions(-)
 create mode 100644 xen/arch/x86/guest/hyperv/private.h
 create mode 100644 xen/include/asm-x86/guest/hyperv-hcall.h