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

[Xen-devel] [PATCH v8 00/21] 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

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
  xen/acpi: Fix event-channel interrupt when booting with ACPI
  xen/arm: Add a hypercall for device mmio mapping
  xen/arm64: Add ACPI support

 docs/misc/arm/device-tree/guest.txt |  60 ++++
 xen/arch/arm/Kconfig                |   9 +
 xen/arch/arm/acpi/lib.c             |  15 +
 xen/arch/arm/domain.c               |   4 +
 xen/arch/arm/domain_build.c         | 634 +++++++++++++++++++++++++++++++++++-
 xen/arch/arm/efi/Makefile           |   1 +
 xen/arch/arm/efi/efi-boot.h         |   4 +-
 xen/arch/arm/efi/efi-dom0.c         | 187 +++++++++++
 xen/arch/arm/efi/efi-dom0.h         |   8 +
 xen/arch/arm/gic-v2.c               |  69 ++++
 xen/arch/arm/gic-v3.c               |  97 ++++++
 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                 |  17 +-
 xen/include/asm-arm/acpi.h          |  10 +
 xen/include/asm-arm/gic.h           |   6 +
 xen/include/asm-arm/p2m.h           |  15 +
 xen/include/asm-arm/setup.h         |  11 +
 xen/include/public/memory.h         |   1 +
 22 files changed, 1242 insertions(+), 11 deletions(-)
 create mode 100644 docs/misc/arm/device-tree/guest.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®.