Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-06-28 Thread Alejandro Vallejo via groups.io
On Thu Apr 25, 2024 at 2:58 PM BST, Gerd Hoffmann wrote: > Hi, > > > It's a bit more complicated than setting it at build time, but we can > > always ask Xen how many vcpu we have and set the PCD accordingly. This > > is something that can happen in OvmfPkg/XenPlatformPei module. > > Exactly. >

Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-04-25 Thread Anthony PERARD via groups.io
On Thu, Apr 25, 2024 at 11:42:01AM +0100, Alejandro Vallejo wrote: > Hi, > > On 25/04/2024 08:31, Gerd Hoffmann wrote: > > On Wed, Apr 24, 2024 at 02:36:32PM +0100, Alejandro Vallejo wrote: > >> Bump the compile-time constant for maximum processor count from 64 to 128 > >> in order to allow that m

Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-04-25 Thread Gerd Hoffmann
Hi, > It's a bit more complicated than setting it at build time, but we can > always ask Xen how many vcpu we have and set the PCD accordingly. This > is something that can happen in OvmfPkg/XenPlatformPei module. Exactly. > But to be honest, I don't know if it's worth it, because I don't kno

Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-04-25 Thread Alejandro Vallejo via groups.io
Hi, On 25/04/2024 08:31, Gerd Hoffmann wrote: > On Wed, Apr 24, 2024 at 02:36:32PM +0100, Alejandro Vallejo wrote: >> Bump the compile-time constant for maximum processor count from 64 to 128 >> in order to allow that many vCPUs to be brought online on Xen guests with >> the default OVMF configura

Re: [edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-04-25 Thread Gerd Hoffmann
On Wed, Apr 24, 2024 at 02:36:32PM +0100, Alejandro Vallejo wrote: > Bump the compile-time constant for maximum processor count from 64 to 128 > in order to allow that many vCPUs to be brought online on Xen guests with > the default OVMF configuration. > + # UefiCpuPkg PCDs related to initial AP

[edk2-devel] [PATCH] OvmfPkg: Set PcdCpuMaxLogicalProcessorNumber in OvmfXen

2024-04-24 Thread Alejandro Vallejo via groups.io
Bump the compile-time constant for maximum processor count from 64 to 128 in order to allow that many vCPUs to be brought online on Xen guests with the default OVMF configuration. Cc: Anthony Perard Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Signed-off-by: Alejandro Vallejo --- Ovmf