As I documented in the comment:

This patch provides the SmmRelocationLib library instance
for OVMF to handle the logic difference, and it won't change
the existing implementation code logic.

But as I said, it depends on you. I will drop the OvmfPkg/SmmRelocationLib 
since confirmed we can use the ADM version for OVMF.  

Thanks,
Jiaxin

> -----Original Message-----
> From: Gerd Hoffmann <[email protected]>
> Sent: Tuesday, April 23, 2024 4:43 PM
> To: Wu, Jiaxin <[email protected]>
> Cc: [email protected]; Ni, Ray <[email protected]>; Zeng, Star
> <[email protected]>; Kumar, Rahul R <[email protected]>; Dong,
> Guo <[email protected]>; Rhodes, Sean <[email protected]>; Lu,
> James <[email protected]>; Guo, Gua <[email protected]>; Ard Biesheuvel
> <[email protected]>; Yao, Jiewen <[email protected]>; Abdul
> Lateef Attar <[email protected]>; Abner Chang
> <[email protected]>; Tom Lendacky <[email protected]>
> Subject: Re: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib
> 
> On Tue, Apr 23, 2024 at 07:31:18AM +0000, Wu, Jiaxin wrote:
> > Thanks Gerd, I will try the S3 on OVMF.
> >
> > And for AmdSmmRelocationLib usage in OVMF, do you prefer:
> > 1. use the AmdSmmRelocationLib directly in this patch set? Or
> > 2. still keep the original to create the OvmfPkg/SmmRelocationLib, and clean
> the code in the future patch?
> 
> Clear preference for (1), why introduce OvmfPkg/SmmRelocationLib only to
> delete it shortly thereafter?
> 
> take care,
>   Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118137): https://edk2.groups.io/g/devel/message/118137
Mute This Topic: https://groups.io/mt/105593568/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to