Re: [edk2-devel] [PATCH] OvmfPkg/RiscVVirt: Fix issues in VarStore Blockmap config

2023-08-16 Thread Li, Yong
Hi Sunil, Qingyu is from Penglai team, when we were working together in enabling StandaloneMm variable service, we found an issue in OvmfPkg/RiscVVirt/VarStore.fdf.inc, in which the blockmap config is not aligned with the value in OvmfPkg/RiscVVirt/Library/VirtNorFlashPlatformLib/VirtNorFlashS

[edk2-devel] [PATCH] BaseTools: Update for riscv64 default compiling option

2023-03-08 Thread Li, Yong
aarch64 ones. Cc: "Warkentin, Andrei" Cc: "Li, Pan" Signed-off-by: "Li, Yong" --- BaseTools/Conf/tools_def.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 471eb

[edk2-devel] [PATCH] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-05-26 Thread Li, Yong
From: Yong Li Impelement the SpeculationBarrier with implementations consisting of fence instruction which provides finer-grain memory orderings. Data Barrier: fence rw,rw Instruction Barrier: fence.i; fence r,r More detail is in Chapter 17, RVWMO Memory Consistency Model https://github.com/riscv

[edk2-devel] [PATCH 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-05-28 Thread Li, Yong
Impelement the SpeculationBarrier with implementations consisting of fence instruction which provides finer-grain memory orderings. Perform Data Barrier in RiscV: fence rw,rw Perform Instruction Barrier in RiscV: fence.i; fence r,r More detail is in Chapter 17, RVWMO Memory Consistency Model https:

Re: [edk2-devel] [PATCH 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-05-28 Thread Li, Yong
advance for your time and kind helping for this first patch. On 2023/5/29 13:24, Li, Yong wrote: > Impelement the SpeculationBarrier with implementations consisting of > fence instruction which provides finer-grain memory orderings. > Perform Data Barrier in RiscV: fence rw,rw

Re: [edk2-devel] [PATCH 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-06-01 Thread Li, Yong
On 2023/6/1 15:26, Sunil V L wrote: > On Mon, May 29, 2023 at 01:51:46PM +0800, Li, Yong wrote: >> >> Hi Sunil, >> >> Could you help review this my first patch to edk2 community for RiscV, this >> is the change to MdePkg/Library/BaseLib/RiscV64. >> Sinc

[edk2-devel] [PATCH v2 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-06-01 Thread Li, Yong
Implement the SpeculationBarrier with implementations consisting of fence instruction which provides finer-grain memory orderings. Perform Data Barrier in RiscV: fence rw,rw Perform Instruction Barrier in RiscV: fence.i; fence r,r More detail is in Appendix A: RVWMO Explanatory Material in https://

Re: [edk2-devel] [PATCH v2 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-06-02 Thread Li, Yong
Hi Michael This is the change to MdePkg/Library/BaseLib/RiscV64. Since it is for RiscV specific, I somehow got the review from Sunil. Not sure need additional reviewer and or anything else from my side ? It is my first patch to edk2, please help proceed and look for the feedback. Thanks On 20

Re: [edk2-devel] [PATCH v2 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-06-05 Thread Li, Yong
Hi Michael, I updated the commit messages and the EDK II CI passes, The PR link is as below. https://github.com/tianocore/edk2/pull/4480 Please help merge, thanks for the helping On 2023/6/3 14:13, Li, Yong wrote: > Hi Michael > > This is the change to MdePkg/Library/BaseLi

[edk2-devel] [PATCH 1/1] [staging/RiscV64StandaloneMm] Branch to implement StandaloneMm on RiscV64

2023-06-24 Thread Li, Yong
This branch is for porting StandaloneMmPkg on RiscV64. The code base of development is edk2/master, and will do regular rebase to track during development. Please refer to the patch of Readme.md to get the detailed introduction. Cc: Andrei Warkentin Cc: Evan Chai Cc: Sunil V L Cc: Tuan Phan C