Re: [edk2-devel] [Patch V3 07/18] UefiCpuPkg/CpuPageTableLib:Add check for Mask and Attr

2023-03-20 Thread duntan
Gred, Thanks for the test. I found the root cause and will fix the issue in next version patch. Thanks, Dun -Original Message- From: Gerd Hoffmann Sent: Monday, March 20, 2023 7:43 PM To: Tan, Dun Cc: devel@edk2.groups.io; Dong, Eric ; Ni, Ray ; Kumar, Rahul R Subject: Re: [Patch

Re: [edk2-devel] [Patch V3 07/18] UefiCpuPkg/CpuPageTableLib:Add check for Mask and Attr

2023-03-20 Thread Gerd Hoffmann
On Mon, Mar 20, 2023 at 01:33:18PM +0800, Dun Tan wrote: > For different usage, check if the combination for Mask and > Attr is valid when creating or updating page table. > > 1.For non-present range > 1.1Mask.Present is 0 but some other attributes is provided. > This case is invalid. >

[edk2-devel] [Patch V3 07/18] UefiCpuPkg/CpuPageTableLib:Add check for Mask and Attr

2023-03-19 Thread duntan
For different usage, check if the combination for Mask and Attr is valid when creating or updating page table. 1.For non-present range 1.1Mask.Present is 0 but some other attributes is provided. This case is invalid. 1.2Mask.Present is 1 and Attr.Present is 0. In this case,all other