[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 00/19] 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 version 3 of the series, see individual patches for changes. It can be fetched from git://oss.oracle.com/git/bostrovs/xen.git:acpi_v3 The series is probably still gated by lack of an ACK from Lenovo for the relicensing patch (included here as patch 1). Boris Ostrovsky (19): 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 | 20 +- 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 | 51 +++- tools/firmware/rombios/32bit/Makefile | 2 +- tools/firmware/rombios/32bit/tcgbios/Makefile | 2 +- tools/firmware/rombios/32bit/util.h | 2 +- tools/libacpi/Makefile | 79 ++++++ tools/{firmware/hvmloader/acpi => libacpi}/README | 16 +- .../{firmware/hvmloader/acpi => libacpi}/acpi2_0.h | 19 +- tools/{firmware/hvmloader/acpi => libacpi}/build.c | 302 +++++++++++---------- .../{firmware/hvmloader/acpi => libacpi}/dsdt.asl | 38 +-- tools/libacpi/dsdt_acpi_info.asl | 26 ++ .../{firmware/hvmloader/acpi => libacpi}/libacpi.h | 48 +++- .../{firmware/hvmloader/acpi => libacpi}/mk_dsdt.c | 20 ++ .../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 | 93 +++++++ 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 | 218 +++++++++++++++ tools/libxl/libxl_x86_acpi.h | 35 +++ xen/arch/x86/domain.c | 26 +- 38 files changed, 975 insertions(+), 394 deletions(-) delete mode 100644 tools/firmware/hvmloader/acpi/Makefile 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%) rename tools/{firmware/hvmloader/acpi => libacpi}/dsdt.asl (93%) create mode 100644 tools/libacpi/dsdt_acpi_info.asl rename tools/{firmware/hvmloader/acpi => libacpi}/libacpi.h (59%) rename tools/{firmware/hvmloader/acpi => libacpi}/mk_dsdt.c (95%) 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 |