Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7cc7c52670684a44f805e593a1f7846b79703820
      
https://github.com/tianocore/edk2/commit/7cc7c52670684a44f805e593a1f7846b79703820
  Author: Min M Xu <[email protected]>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M OvmfPkg/TdxDxe/TdxDxe.c

  Log Message:
  -----------
  OvmfPkg: Set default Pci PCDs in Tdx guest

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 <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Tom Lendacky <[email protected]>
Signed-off-by: Min Xu <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to