Re: [edk2-devel] [PATCH 0/2] SEV-SNP guest support fixes

2023-11-27 Thread Lendacky, Thomas via groups.io
On 11/17/23 15:43, Tom Lendacky wrote: On 11/7/23 03:55, Gerd Hoffmann wrote: On Mon, Nov 06, 2023 at 04:45:29PM -0600, Tom Lendacky wrote: This patch series provides fixes around AP startup and sorting: - The CPUID_EXTENDED_TOPOLOGY CPUID leaf takes a sub-leaf as input. The    current

Re: [edk2-devel] [PATCH 0/2] SEV-SNP guest support fixes

2023-11-17 Thread Lendacky, Thomas via groups.io
On 11/7/23 03:55, Gerd Hoffmann wrote: On Mon, Nov 06, 2023 at 04:45:29PM -0600, Tom Lendacky wrote: This patch series provides fixes around AP startup and sorting: - The CPUID_EXTENDED_TOPOLOGY CPUID leaf takes a sub-leaf as input. The current SEV-SNP support is attempting to retrieve

Re: [edk2-devel] [PATCH 0/2] SEV-SNP guest support fixes

2023-11-07 Thread Gerd Hoffmann
On Mon, Nov 06, 2023 at 04:45:29PM -0600, Tom Lendacky wrote: > This patch series provides fixes around AP startup and sorting: > > - The CPUID_EXTENDED_TOPOLOGY CPUID leaf takes a sub-leaf as input. The > current SEV-SNP support is attempting to retrieve the this leaf with > sub-leaf 0, but

[edk2-devel] [PATCH 0/2] SEV-SNP guest support fixes

2023-11-06 Thread Lendacky, Thomas via groups.io
This patch series provides fixes around AP startup and sorting: - The CPUID_EXTENDED_TOPOLOGY CPUID leaf takes a sub-leaf as input. The current SEV-SNP support is attempting to retrieve the this leaf with sub-leaf 0, but is calling AsmCpuid(), which does not clear ECX before invoking the

Re: [edk2-devel] [PATCH 0/2] SEV-SNP guest support fixes

2023-03-10 Thread Lendacky, Thomas via groups.io
On 3/10/23 11:03, Tom Lendacky wrote: This patch series provides some fixes around AP creation: - An erratum on AMD hardware requires that a VMSA not be aligned on a 2MB boundary. To work around this issue, allocate 2 pages of memory and using the page that is not 2MB aligned and freeing

[edk2-devel] [PATCH 0/2] SEV-SNP guest support fixes

2023-03-10 Thread Lendacky, Thomas via groups.io
This patch series provides some fixes around AP creation: - An erratum on AMD hardware requires that a VMSA not be aligned on a 2MB boundary. To work around this issue, allocate 2 pages of memory and using the page that is not 2MB aligned and freeing the other. - When parking APs after