[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v5 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 5 of the series, see individual patches for changes. It can be fetched from git://oss.oracle.com/git/bostrovs/xen.git:acpi_v5 Major changes: * Generate GPL-licensed portion of DSDT (patch 3) Boris Ostrovsky (21): acpi: Makefile should better tolerate interrupts 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 libxc/libxl: Allow multiple ACPI modules libxl/acpi: Add ACPI e820 entry libxl/pvhv2: Include APIC page in MMIO hole for PVHv2 guests libxl: 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 | 18 +- MAINTAINERS | 1 + tools/firmware/hvmloader/Makefile | 24 +- tools/firmware/hvmloader/acpi/Makefile | 72 ---- 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 | 4 +- tools/firmware/rombios/32bit/Makefile | 2 +- tools/firmware/rombios/32bit/tcgbios/Makefile | 2 +- tools/firmware/rombios/32bit/util.h | 2 +- tools/libacpi/COPYING | 480 +++++++++++++++++++++ tools/libacpi/Makefile | 96 +++++ tools/{firmware/hvmloader/acpi => libacpi}/README | 16 +- .../{firmware/hvmloader/acpi => libacpi}/acpi2_0.h | 19 +- tools/{firmware/hvmloader/acpi => libacpi}/build.c | 303 +++++++------ .../{firmware/hvmloader/acpi => libacpi}/dsdt.asl | 51 +-- tools/libacpi/dsdt_acpi_info.asl | 26 ++ tools/libacpi/gpl/COPYING | 22 + tools/libacpi/gpl/mk_dsdt_gpl.sh | 110 +++++ .../{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 | 19 +- tools/libxl/libxl_arch.h | 9 + tools/libxl/libxl_create.c | 22 +- tools/libxl/libxl_dom.c | 53 ++- tools/libxl/libxl_x86.c | 43 +- tools/libxl/libxl_x86_acpi.c | 240 +++++++++++ tools/libxl/libxl_x86_acpi.h | 35 ++ xen/arch/x86/domain.c | 26 +- 42 files changed, 1623 insertions(+), 474 deletions(-) delete mode 100644 tools/firmware/hvmloader/acpi/Makefile delete mode 100644 tools/firmware/hvmloader/acpi/ssdt_tpm.asl create mode 100644 tools/libacpi/COPYING 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%) rename tools/{firmware/hvmloader/acpi => libacpi}/dsdt.asl (91%) create mode 100644 tools/libacpi/dsdt_acpi_info.asl create mode 100644 tools/libacpi/gpl/COPYING create mode 100755 tools/libacpi/gpl/mk_dsdt_gpl.sh 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |