Re: [PATCH v3] xen/x86/pvh: handle ACPI RSDT table in PVH Dom0 build

2024-04-25 Thread Roger Pau Monné
On Thu, Apr 25, 2024 at 09:26:59AM +0200, Jan Beulich wrote: > On 25.04.2024 09:10, Roger Pau Monné wrote: > > On Thu, Apr 25, 2024 at 08:12:09AM +0200, Jan Beulich wrote: > >> On 24.04.2024 21:18, Daniel P. Smith wrote: > >>> @@ -1089,6 +1098,9 @@ static int __init pvh_setup_acpi_xsdt(struct

Re: [PATCH v3] xen/x86/pvh: handle ACPI RSDT table in PVH Dom0 build

2024-04-25 Thread Jan Beulich
On 25.04.2024 09:10, Roger Pau Monné wrote: > On Thu, Apr 25, 2024 at 08:12:09AM +0200, Jan Beulich wrote: >> On 24.04.2024 21:18, Daniel P. Smith wrote: >>> @@ -1089,6 +1098,9 @@ static int __init pvh_setup_acpi_xsdt(struct domain >>> *d, paddr_t madt_addr, >>> xsdt->header = *table; >>>

Re: [PATCH v3] xen/x86/pvh: handle ACPI RSDT table in PVH Dom0 build

2024-04-25 Thread Roger Pau Monné
On Thu, Apr 25, 2024 at 08:12:09AM +0200, Jan Beulich wrote: > On 24.04.2024 21:18, Daniel P. Smith wrote: > > @@ -1089,6 +1098,9 @@ static int __init pvh_setup_acpi_xsdt(struct domain > > *d, paddr_t madt_addr, > > xsdt->header = *table; > > acpi_os_unmap_memory(table, sizeof(*table));

Re: [PATCH v3] xen/x86/pvh: handle ACPI RSDT table in PVH Dom0 build

2024-04-25 Thread Roger Pau Monné
On Wed, Apr 24, 2024 at 03:18:26PM -0400, Daniel P. Smith wrote: > From: Stefano Stabellini > > Xen always generates as XSDT table even if the firmware provided an RSDT > table. ^ only As providing an RSDT doesn't exclude from a XSDT

Re: [PATCH v3] xen/x86/pvh: handle ACPI RSDT table in PVH Dom0 build

2024-04-25 Thread Jan Beulich
On 24.04.2024 21:18, Daniel P. Smith wrote: > From: Stefano Stabellini > > Xen always generates as XSDT table even if the firmware provided an RSDT > table. > Copy the RSDT header from the firmware table, adjusting the signature, for the > XSDT table when not provided by the firmware. > >

[PATCH v3] xen/x86/pvh: handle ACPI RSDT table in PVH Dom0 build

2024-04-24 Thread Daniel P. Smith
From: Stefano Stabellini Xen always generates as XSDT table even if the firmware provided an RSDT table. Copy the RSDT header from the firmware table, adjusting the signature, for the XSDT table when not provided by the firmware. Fixes: 1d74282c455f ('x86: setup PVHv2 Dom0 ACPI tables')