Re: [edk2-devel] [PATCH V4 2/2] OvmfPkg: Update CcProbeLib to DxeCcProbeLib

2022-08-29 Thread Min Xu
On August 29, 2022 9:37 PM, Tom Lendacky wrote: > On 8/26/22 18:07, Min Xu wrote: > > From: Min M Xu > > > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3974 > > > > To gurantee the GuestType is cached, we read the value in both > > s/gurantee/guarantee/ Thanks for reminder. It will be

Re: [edk2-devel] [PATCH V4 2/2] OvmfPkg: Update CcProbeLib to DxeCcProbeLib

2022-08-29 Thread Lendacky, Thomas via groups.io
On 8/26/22 18:07, Min Xu wrote: From: Min M Xu BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3974 CcProbeLib once was designed to probe the Confidential Computing guest type by checking the PcdOvmfWorkArea. But this memory is allocated with either EfiACPIMemoryNVS or EfiBootServicesData.

[edk2-devel] [PATCH V4 2/2] OvmfPkg: Update CcProbeLib to DxeCcProbeLib

2022-08-26 Thread Min Xu
From: Min M Xu BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3974 CcProbeLib once was designed to probe the Confidential Computing guest type by checking the PcdOvmfWorkArea. But this memory is allocated with either EfiACPIMemoryNVS or EfiBootServicesData. It cannot be accessed after