Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-17 Thread Abner Chang
Hi all, below is the plan to move some module/libraries from Arm*Pkg to other packages for RiscVVirtPkg and RiscVPkg. 1. FdtClientDxe - which is a useful protocol for parsing FDT nodes. Move to stay with FdtLib under EmbeddedPkg. gFdtClientProtocolGuid will be also moved to under EmbeddedPkg. 2

Re: [edk2-devel] [PATCH V6 1/1] OvmfPkg: Enable TDX in ResetVector

2021-09-17 Thread Min Xu
Hi, Brijesh On September 17, 2021 11:52 PM, Brijesh Singh wrote: > > Hi Min, > > On 9/17/21 7:55 AM, Xu, Min M wrote: > ... > > > > > As I mentioned in my last mail, in the beginning I missed the limitation of > smsw. > > So I update the code (ResetVectorVtf0.asm) as below using mov CRx. > >

Re: [edk2-devel] [PATCH v2] UefiCpuPkg: SecCoreNative without ResetVector

2021-09-17 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: S, Ashraf Ali > Sent: Thursday, September 16, 2021 10:27 PM > To: devel@edk2.groups.io > Cc: S, Ashraf Ali ; Ni, Ray ; > Kumar, Rahul1 ; De, > Debkumar ; Han, Harry ; West, > Catharine ; > Solanki, Digant H ; V, Sangeetha > > Subject:

Re: [edk2-devel] [PATCH] MdeModulePkg/PciBusDxe: Enumerator to check for RCiEP before looking for RP

2021-09-17 Thread Ni, Ray
If a device is a RCiEP, PciIoDev->Parent points to a virtual PCI_IO_DEVICE for the RootComplex. The PCI_IO_EVICE.Parent equals to NULL for RootComplex. Which means, we can create a helper function BOOLEAN IsRootBridge(PciIo) { return (BOOLEAN) (PciIo->Parent == NULL); } your code can call this h

Re: [edk2-devel] [PATCH V6 1/1] OvmfPkg: Enable TDX in ResetVector

2021-09-17 Thread Brijesh Singh via groups.io
Hi Min, On 9/17/21 7:55 AM, Xu, Min M wrote: ... As I mentioned in my last mail, in the beginning I missed the limitation of smsw. So I update the code (ResetVectorVtf0.asm) as below using mov CRx. <1> BITS 16 176 0800 0F20C0

Re: [edk2-devel] [PATCH V6 1/1] OvmfPkg: Enable TDX in ResetVector

2021-09-17 Thread Min Xu
On September 15, 2021 3:53 AM, Brijesh Singh wrote: > > Hi Vishal, > > On 9/14/21 2:00 PM, Vishal Annapurve wrote: > > Hi Min, Brijesh, > > > > Regarding: > >> diff --git a/OvmfPkg/ResetVector/Ia16/ResetVectorVtf0.asm > >> b/OvmfPkg/ResetVector/Ia16/ResetVectorVtf0.asm > >> ... > >> +%ifdef ARCH_

Re: [edk2-devel] [PATCH v3] OvmfPkg: set a default value for the WorkAreaHeader PCD

2021-09-17 Thread Yao, Jiewen
Hi Corvin Bad news: CI fails. https://github.com/tianocore/edk2/pull/1990 Would you please take a look? You are welcome to submit to CI by yourself. (It won't be pushed.) Thank you Yao Jiewen > -Original Message- > From: devel@edk2.groups.io On Behalf Of Corvin > Köhne > Sent: Friday,