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

[Xen-devel] [PATCH v4 00/21] Make ACPI builder available to components other than hvmloader



The goal here is to build ACPI tables for PVHv2/HVMlite guests while reusing 
existing
hvmloader's ACPI builder code. The builder is provided as a library in 
tools/libacpi.

This is verion 4 of the series, see individual patches for changes. It can
be fetched from git://oss.oracle.com/git/bostrovs/xen.git:acpi_v4

The most "interesting" part here (besides addressing v3 comments) is working 
around
licensing issues. This is mostly patch 2.

Boris Ostrovsky (21):
  acpi: Extract acpi info description into a separate ASL file
  acpi: Prevent GPL-only code from seeping into non-GPL binaries
  acpi: Re-license ACPI builder files from GPLv2 to LGPLv2.1
  acpi/hvmloader: Collect processor and NUMA info in hvmloader
  acpi/hvmloader: Set TIS header address in hvmloader
  acpi/hvmloader: Make providing IOAPIC in MADT optional
  acpi/hvmloader: Build WAET optionally
  acpi/hvmloader: Replace mem_alloc() and virt_to_phys() with memory ops
  acpi/hvmloader: Translate all addresses when assigning addresses in
    ACPI tables
  acpi/hvmloader: Link ACPI object files directly
  acpi/hvmloader: Include file/paths adjustments
  acpi: Move ACPI code to tools/libacpi
  x86: Allow LAPIC-only emulation_flags for HVM guests
  libacpi: Build DSDT for PVH guests
  acpi: Makefile should better tolerate interrupts
  libxc/libxl: Allow multiple ACPI modules
  libxl/acpi: Add ACPI e820 entry
  libxl/pvhv2: Include APIC page in MMIO hole for PVHv2 guests
  ilibxl: Initialize domain build info before calling libxl__domain_make
  libxl/acpi: Build ACPI tables for HVMlite guests
  libxc/xc_dom_core: Copy ACPI tables to guest space

 .gitignore                                         |  20 +-
 MAINTAINERS                                        |   1 +
 tools/firmware/hvmloader/Makefile                  |  24 +-
 tools/firmware/hvmloader/acpi/Makefile             |  72 --
 tools/firmware/hvmloader/acpi/dsdt.asl             | 480 ------------
 tools/firmware/hvmloader/acpi/ssdt_tpm.asl         |  30 -
 tools/firmware/hvmloader/config.h                  |   2 +
 tools/firmware/hvmloader/hvmloader.c               |   2 +-
 tools/firmware/hvmloader/ovmf.c                    |   2 +-
 tools/firmware/hvmloader/rombios.c                 |   2 +-
 tools/firmware/hvmloader/seabios.c                 |   5 +-
 tools/firmware/hvmloader/util.c                    |  52 +-
 tools/firmware/hvmloader/util.h                    |   2 +-
 tools/firmware/rombios/32bit/Makefile              |   2 +-
 tools/firmware/rombios/32bit/tcgbios/Makefile      |   2 +-
 tools/firmware/rombios/32bit/util.h                |   2 +-
 tools/libacpi/Makefile                             |  84 ++
 tools/{firmware/hvmloader/acpi => libacpi}/README  |  16 +-
 .../{firmware/hvmloader/acpi => libacpi}/acpi2_0.h |  19 +-
 tools/{firmware/hvmloader/acpi => libacpi}/build.c | 303 ++++----
 tools/libacpi/dsdt_acpi_info.asl                   |  26 +
 tools/libacpi/gpl/COPYING                          |   5 +
 tools/libacpi/gpl/dsdt.asl                         | 846 +++++++++++++++++++++
 .../{firmware/hvmloader/acpi => libacpi}/libacpi.h |  37 +-
 .../{firmware/hvmloader/acpi => libacpi}/mk_dsdt.c |  88 +--
 .../hvmloader/acpi => libacpi}/ssdt_pm.asl         |  11 +-
 .../hvmloader/acpi => libacpi}/ssdt_s3.asl         |  11 +-
 .../hvmloader/acpi => libacpi}/ssdt_s4.asl         |  11 +-
 tools/libacpi/ssdt_tpm.asl                         |  28 +
 .../hvmloader/acpi => libacpi}/static_tables.c     |  18 +-
 tools/libxc/include/xc_dom.h                       |   5 +-
 tools/libxc/xc_dom_core.c                          |  95 +++
 tools/libxc/xc_dom_hvmloader.c                     |   3 +-
 tools/libxl/Makefile                               |  20 +-
 tools/libxl/libxl_arch.h                           |   9 +
 tools/libxl/libxl_create.c                         |  22 +-
 tools/libxl/libxl_dom.c                            |  53 +-
 tools/libxl/libxl_x86.c                            |  45 +-
 tools/libxl/libxl_x86_acpi.c                       | 243 ++++++
 tools/libxl/libxl_x86_acpi.h                       |  35 +
 xen/arch/x86/domain.c                              |  26 +-
 41 files changed, 1847 insertions(+), 912 deletions(-)
 delete mode 100644 tools/firmware/hvmloader/acpi/Makefile
 delete mode 100644 tools/firmware/hvmloader/acpi/dsdt.asl
 delete mode 100644 tools/firmware/hvmloader/acpi/ssdt_tpm.asl
 create mode 100644 tools/libacpi/Makefile
 rename tools/{firmware/hvmloader/acpi => libacpi}/README (60%)
 rename tools/{firmware/hvmloader/acpi => libacpi}/acpi2_0.h (95%)
 rename tools/{firmware/hvmloader/acpi => libacpi}/build.c (63%)
 create mode 100644 tools/libacpi/dsdt_acpi_info.asl
 create mode 100644 tools/libacpi/gpl/COPYING
 create mode 100644 tools/libacpi/gpl/dsdt.asl
 rename tools/{firmware/hvmloader/acpi => libacpi}/libacpi.h (64%)
 rename tools/{firmware/hvmloader/acpi => libacpi}/mk_dsdt.c (82%)
 rename tools/{firmware/hvmloader/acpi => libacpi}/ssdt_pm.asl (97%)
 rename tools/{firmware/hvmloader/acpi => libacpi}/ssdt_s3.asl (62%)
 rename tools/{firmware/hvmloader/acpi => libacpi}/ssdt_s4.asl (62%)
 create mode 100644 tools/libacpi/ssdt_tpm.asl
 rename tools/{firmware/hvmloader/acpi => libacpi}/static_tables.c (90%)
 create mode 100644 tools/libxl/libxl_x86_acpi.c
 create mode 100644 tools/libxl/libxl_x86_acpi.h

-- 
1.8.3.1


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

 


Rackspace

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