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

[Xen-devel] [PATCH v6 00/22] Prepare UEFI and ACPI tables for Dom0 on ARM64



From: Shannon Zhao <shannon.zhao@xxxxxxxxxx>

These patches are Part 4 (and last part) of the previous patch set I
sent which adds ACPI support for arm64 on Xen[1]. Split them as an
individual set for convenient reviewing.

These patches create UEFI and ACPI tables which are mapped to Dom0's
space and add other preparations for Dom0 to use ACPI. Then at last
enable ACPI support on ARM64.

See individual patch for changes.

Thanks,
Shannon
[1] http://lists.xenproject.org/archives/html/xen-devel/2015-11/msg01831.html

Naresh Bhat (1):
  xen/arm64: Add ACPI support

Parth Dixit (1):
  arm/p2m: Add helper functions to map memory regions

Shannon Zhao (20):
  arm/acpi: Estimate memory required for acpi/efi tables
  arm/acpi: Add a helper function to get the acpi table offset
  arm/acpi: Prepare FADT table for Dom0
  arm/gic: Add a new callback for creating MADT table for Dom0
  arm/acpi: Prepare MADT table for Dom0
  arm/acpi: Prepare STAO table for Dom0
  arm/acpi: Prepare XSDT table for Dom0
  arm/acpi: Prepare RSDP table for Dom0
  arm/acpi: Map all other tables for Dom0
  arm/acpi: Prepare EFI system table for Dom0
  arm/acpi: Prepare EFI memory descriptor for Dom0
  arm/acpi: Map the new created EFI and ACPI tables to Dom0
  arm/acpi: Create min DT stub for Dom0
  arm/acpi: Permit access all Xen unused SPIs for Dom0
  arm/acpi: Configure SPI interrupt type and route to Dom0 dynamically
  arm/gic: Add a new callback to deny Dom0 access to GIC regions
  arm/acpi: Permit MMIO access of Xen unused devices for Dom0
  hvm/params: Add a new delivery type for event-channel in
    HVM_PARAM_CALLBACK_IRQ
  xen/acpi: Fix event-channel interrupt when booting with ACPI
  xen/arm: Add a hypercall for device mmio mapping

 docs/misc/arm/device-tree/uefi.txt |  58 ++++
 xen/arch/arm/Kconfig               |   9 +
 xen/arch/arm/acpi/lib.c            |  15 +
 xen/arch/arm/domain.c              |   4 +
 xen/arch/arm/domain_build.c        | 588 ++++++++++++++++++++++++++++++++++++-
 xen/arch/arm/efi/Makefile          |   1 +
 xen/arch/arm/efi/efi-boot.h        |   4 +-
 xen/arch/arm/efi/efi-dom0.c        | 182 ++++++++++++
 xen/arch/arm/efi/efi-dom0.h        |   3 +
 xen/arch/arm/gic-v2.c              |  65 ++++
 xen/arch/arm/gic-v3.c              |  92 ++++++
 xen/arch/arm/gic.c                 |  10 +
 xen/arch/arm/mm.c                  |   3 +
 xen/arch/arm/p2m.c                 |  48 +++
 xen/arch/arm/vgic.c                |  32 ++
 xen/common/efi/runtime.c           |  12 +-
 xen/common/memory.c                |  16 +
 xen/include/asm-arm/acpi.h         |   2 +
 xen/include/asm-arm/config.h       |   4 +
 xen/include/asm-arm/gic.h          |   6 +
 xen/include/asm-arm/p2m.h          |  15 +
 xen/include/asm-arm/setup.h        |  12 +
 xen/include/public/hvm/params.h    |  13 +
 xen/include/public/memory.h        |   1 +
 24 files changed, 1186 insertions(+), 9 deletions(-)
 create mode 100644 docs/misc/arm/device-tree/uefi.txt
 create mode 100644 xen/arch/arm/efi/efi-dom0.c
 create mode 100644 xen/arch/arm/efi/efi-dom0.h

-- 
2.0.4



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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