[edk2-devel] [PATCH 1/1] OvmfPkg: Set default Pci PCDs in Tdx guest

Gerd Hoffmann kraxel at redhat.com
Fri Aug 26 05:27:38 UTC 2022


On Fri, Aug 26, 2022 at 08:41:09AM +0800, Min Xu wrote:
> From: Min M Xu <min.m.xu at intel.com>
> 
> In previous implementation below Pci related PCDs were set based on the
> ResourceDescriptor passed in TdHob.
>  - PcdPciMmio64Base / PcdPciMmio64Size
>  - PcdPciMmio32Base / PcdPciMmio32Size
>  - PcdPciIoBase / PcdPciIoSize
> 
> The PCDs will not be set if TdHob doesn't include these information. This
> patch set the PCDs with the information initialized in PlatformInitLib
> by default. Then TdxDxe will check the ResourceDescriptor in TdHob and
> reset them if they're included.
> 
> Cc: Erdem Aktas <erdemaktas at google.com>
> Cc: James Bottomley <jejb at linux.ibm.com>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Tom Lendacky <thomas.lendacky at amd.com>
> Signed-off-by: Min Xu <min.m.xu at intel.com>

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92842): https://edk2.groups.io/g/devel/message/92842
Mute This Topic: https://groups.io/mt/93260974/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list