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

2023-08-23 Thread gaoliming via groups.io
k2.groups.io; Liming Gao > 抄送: Li, Yong ; 2931013...@sjtu.edu.cn; Warkentin, > Andrei > 主题: Re: [edk2-devel] [PATCH] OvmfPkg/RiscVVirt: Fix issues in VarStore > Blockmap config > > Hi Liming, > > This is a bug fix and can cause data loss if the variable size > 4k. > Ca

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

2023-08-21 Thread Sunil V L
Hi Liming, This is a bug fix and can cause data loss if the variable size > 4k. Can it be included for the edk2-stable202308? Let me know if it requires a BZ id. I tried running the CI tests for this patch. But 2 of tests failed and I don't think it has anything to do with this patch. If you are

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

2023-08-16 Thread Qingyu Shang
月 16, 2023 05:03:00 PM 主题: Re: [edk2-devel] [PATCH] OvmfPkg/RiscVVirt: Fix issues in VarStore Blockmap config On Wed, Aug 16, 2023 at 07:08:58AM +, Li, Yong wrote: > Hi Sunil, > > Qingyu is from Penglai team, when we were working together in enabling > StandaloneMm variabl

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

2023-08-16 Thread Sunil V L
On Wed, Aug 16, 2023 at 07:08:58AM +, Li, Yong wrote: > 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 va

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

2023-08-16 Thread Li, Yong
u.edu.cn> Subject: [edk2-devel] [PATCH] OvmfPkg/RiscVVirt: Fix issues in VarStore Blockmap config The block size configuration of Blockmap does not match that in Qemu VirtNorFlash, which causes variable data to be written into FtwWorkBlock by mistake, resulting in data loss during reboot. Fix it

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

2023-08-11 Thread Qingyu Shang
The block size configuration of Blockmap does not match that in Qemu VirtNorFlash, which causes variable data to be written into FtwWorkBlock by mistake, resulting in data loss during reboot. Fix it and update new checksum value. Signed-off-by: Qingyu Shang <2931013...@sjtu.edu.cn> --- OvmfPkg/Ri