[edk2-devel] [PATCH v7 06/31] OvmfPkg/ResetVector: pre-validate the data pages used in SEC phase

Gerd Hoffmann kraxel at redhat.com
Thu Sep 16 08:26:44 UTC 2021


  Hi,

> +; GHCB page table
> +GhcbPageTable:
> +  DD  GHCB_PT_ADDR
> +  DD  GHCB_PT_SIZE
> +  DD  OVMF_SECTION_TYPE_SEC_MEM

Hmm, TDX will re-use those pages for something else.  So as long as TDX
is happy with OVMF_SECTION_TYPE_SEC_MEM everything should work fine and
just mentioning that in the comments will be ok.

If not we might need a SEV_SECTION_TYPE_SEC_MEM to indicate the entry is
valid for SEV only and Intel can add a separate
TDX_SECTION_TYPE_SOMETHING_ELSE entry for the same address range.

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80759): https://edk2.groups.io/g/devel/message/80759
Mute This Topic: https://groups.io/mt/85582693/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