Re: [Xen-devel] [RFC PATCH V3 3/3] hvmload: Add x2apic entry support in the MADT build

2017-09-19 Thread Roger Pau Monné
Forgot something on the previous reply. On Tue, Sep 19, 2017 at 02:41:39PM +0100, Roger Pau Monné wrote: > On Wed, Sep 13, 2017 at 12:52:49AM -0400, Lan Tianyu wrote: > > @@ -88,7 +88,14 @@ static struct acpi_20_madt *construct_madt(struct > > acpi_ctxt *ctxt, > > for ( i = 0; i < hvminfo->n

Re: [Xen-devel] [RFC PATCH V3 3/3] hvmload: Add x2apic entry support in the MADT build

2017-09-19 Thread Roger Pau Monné
On Wed, Sep 13, 2017 at 12:52:49AM -0400, Lan Tianyu wrote: > @@ -88,7 +88,14 @@ static struct acpi_20_madt *construct_madt(struct > acpi_ctxt *ctxt, > sz = sizeof(struct acpi_20_madt); > sz += sizeof(struct acpi_20_madt_intsrcovr) * 16; > sz += sizeof(struct acpi_20_madt_ioapic);

[Xen-devel] [RFC PATCH V3 3/3] hvmload: Add x2apic entry support in the MADT build

2017-09-13 Thread Lan Tianyu
This patch is to add x2apic entry support for ACPI MADT table according to ACPI spec 5.2.12.12 Processor Local x2APIC Structure. Signed-off-by: Chao Gao Signed-off-by: Lan Tianyu --- tools/libacpi/acpi2_0.h | 10 + tools/libacpi/build.c | 56 ---