On March 28, 2022 9:20 AM, Ni Ray wrote:
> All look good! 3 minor comments:
> 1. DxeMpLib.c may not need to include MpIntelTdx.h 2. You may use "ASSERT
> (!ExcludeBsp)" in below code. Otherwise, it may confuse reader that when
> ExcludeBsp is TRUE, SUCCESS is returned when ProcessorCount is 1 which is not
> right.
>
> if (CC_GUEST_IS_TDX (PcdGet64 (PcdConfidentialComputingGuestAttr))) {
> if (!ExcludeBsp) {
> //
> // Start BSP.
> //
> Procedure (ProcedureArgument);
> }
>
> return EFI_SUCCESS;
> }
>
> 3. TdxMpInitLibGetProcessorInfo may not need to call
> GetProcessorLocationByApicId. You can directly set Package/Core/Thread to 0.
>
Thanks Ray for the comments. They'll be updated in the next version.
Min
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88089): https://edk2.groups.io/g/devel/message/88089
Mute This Topic: https://groups.io/mt/89989222/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-