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 is calling AsmCpuid(), which does not clear ECX before
>   invoking the CPUID instruction. Therefore, because of the calling
>   convention, the leaf value becomes the sub-leaf value and ends up
>   returning incorrect information. Change the call from AsmCpuid() to
>   AsmCpuidEx().
> 
> - When sorting the CPUs by APIC ID, the VMSA associated with the vCPU
>   should follow the APIC ID. Update the sorting code to swap the VMSA
>   pointer during the sort.

Series:
Acked-by: Gerd Hoffmann <kra...@redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#110831): https://edk2.groups.io/g/devel/message/110831
Mute This Topic: https://groups.io/mt/102432041/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to