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

[Xen-devel] [PATCH v4 00/24] 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 (2):
  arm/acpi: Read acpi memory info from uefi
  arm/p2m: Add helper functions to map memory regions

Shannon Zhao (21):
  arm/acpi: Define a enum for reserved tables
  arm/acpi: Add placeholder for efi and acpi load address
  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/acpi: Permit MMIO access of Xen unused devices for Dom0
  hvm/params: Add a new dilivery 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/xen.txt |  58 ++++
 xen/arch/arm/Kconfig              |   1 +
 xen/arch/arm/acpi/lib.c           |  14 +
 xen/arch/arm/domain.c             |   4 +
 xen/arch/arm/domain_build.c       | 583 +++++++++++++++++++++++++++++++++++++-
 xen/arch/arm/efi/efi-boot.h       |  23 ++
 xen/arch/arm/gic-v2.c             |  34 +++
 xen/arch/arm/gic-v3.c             |  47 +++
 xen/arch/arm/gic.c                |   5 +
 xen/arch/arm/mm.c                 |   4 +
 xen/arch/arm/p2m.c                |  49 ++++
 xen/arch/arm/vgic.c               |  32 +++
 xen/common/efi/boot.c             | 149 ++++++++++
 xen/common/efi/runtime.c          |   8 +-
 xen/common/memory.c               |  14 +
 xen/include/asm-arm/acpi.h        |  14 +
 xen/include/asm-arm/config.h      |   5 +
 xen/include/asm-arm/domain.h      |   5 +
 xen/include/asm-arm/gic.h         |   3 +
 xen/include/asm-arm/p2m.h         |  15 +
 xen/include/asm-arm/setup.h       |  12 +
 xen/include/public/hvm/params.h   |   9 +
 xen/include/public/memory.h       |   1 +
 23 files changed, 1086 insertions(+), 3 deletions(-)
 create mode 100644 docs/misc/arm/device-tree/xen.txt

-- 
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®.