Re: [XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-26 Thread Roger Pau Monné
On Mon, Mar 25, 2024 at 02:30:35PM +, Alejandro Vallejo wrote: > Hi, > > On 14/03/2024 13:50, Jan Beulich wrote: > > On 13.03.2024 16:35, Matthew Barnes wrote: > >> libacpi is a tool that is used by libxl (for PVH guests) and hvmloader > >> (for HVM guests) to construct ACPI tables for

Re: [XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-26 Thread Matthew Barnes
On Tue, Mar 26, 2024 at 05:15:46PM +0100, Jan Beulich wrote: > On 26.03.2024 16:57, Matthew Barnes wrote: > >>> This patch scans each APIC ID before constructing the MADT, and uses the > >>> x2APIC entry for each vCPU whose APIC ID exceeds the size limit imposed > >>> by regular APIC entries. > >>

Re: [XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-26 Thread Jan Beulich
On 26.03.2024 16:57, Matthew Barnes wrote: >>> This patch scans each APIC ID before constructing the MADT, and uses the >>> x2APIC entry for each vCPU whose APIC ID exceeds the size limit imposed >>> by regular APIC entries. >> >> It is my understanding that if you use any x2APIC entry, every CPU

Re: [XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-26 Thread Matthew Barnes
> > This patch scans each APIC ID before constructing the MADT, and uses the > > x2APIC entry for each vCPU whose APIC ID exceeds the size limit imposed > > by regular APIC entries. > > It is my understanding that if you use any x2APIC entry, every CPU needs > to have one. In the ACPI 6.4

Re: [XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-25 Thread Alejandro Vallejo
Hi, On 14/03/2024 13:50, Jan Beulich wrote: > On 13.03.2024 16:35, Matthew Barnes wrote: >> libacpi is a tool that is used by libxl (for PVH guests) and hvmloader >> (for HVM guests) to construct ACPI tables for guests. >> >> Currently, libacpi only uses APIC entries to enumerate processors for

Re: [XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-14 Thread Jan Beulich
On 13.03.2024 16:35, Matthew Barnes wrote: > libacpi is a tool that is used by libxl (for PVH guests) and hvmloader > (for HVM guests) to construct ACPI tables for guests. > > Currently, libacpi only uses APIC entries to enumerate processors for > guests in the MADT. > > The APIC ID field in

[XEN PATCH] tools: add x2APIC entries in MADT based on APIC ID

2024-03-13 Thread Matthew Barnes
libacpi is a tool that is used by libxl (for PVH guests) and hvmloader (for HVM guests) to construct ACPI tables for guests. Currently, libacpi only uses APIC entries to enumerate processors for guests in the MADT. The APIC ID field in APIC entries is an octet big, which is fine for xAPIC IDs,