Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-22 Thread Ni, Ray
Ashraf, Thanks for the summary. Can you send a V2 patch which only take cares the 1G page table assembly logic? Thanks, Ray > -Original Message- > From: S, Ashraf Ali > Sent: Friday, July 23, 2021 12:58 AM > To: Ni, Ray ; Dov Murik ; Ard > Biesheuvel ; Brijesh Singh > ; James

Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-22 Thread Ashraf Ali S
Hi. Ray Based on Dov Murik Comments to take the python script changes separately, I have filed the Bugzilla for that separately. https://bugzilla.tianocore.org/show_bug.cgi?id=3506 verified the binary. More details are in Bugzilla. Regards, Ashraf Ali S Intel Technology India Pvt. Ltd. 

Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-21 Thread Ni, Ray
OVMF's ResetVector is including the UefiCpuPkg's ResetVector. So, OVMF owners please do evaluate the impact. I think this change assumes platform owner knows which format of page table should be chosen in build time. -Original Message- From: Dov Murik Sent: Tuesday, July 20, 2021

Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-19 Thread Dov Murik
On 19/07/2021 10:09, Ard Biesheuvel wrote: > On Mon, 19 Jul 2021 at 05:14, Ni, Ray wrote: >> >> This change generates the reset vector binary which only contains 1G page >> table. If a platform doesn't support 1G page table, this will cause system >> hang. >> >> To Ard and Jordan, >> Can you

Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-19 Thread Lendacky, Thomas via groups.io
On 7/19/21 2:09 AM, Ard Biesheuvel via groups.io wrote: > On Mon, 19 Jul 2021 at 05:14, Ni, Ray wrote: >> >> This change generates the reset vector binary which only contains 1G page >> table. If a platform doesn't support 1G page table, this will cause system >> hang. >> >> To Ard and Jordan,

Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-19 Thread Ard Biesheuvel
On Mon, 19 Jul 2021 at 05:14, Ni, Ray wrote: > > This change generates the reset vector binary which only contains 1G page > table. If a platform doesn't support 1G page table, this will cause system > hang. > > To Ard and Jordan, > Can you evaluate whether this change impacts OVMF? > I don't

Re: [edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-18 Thread Ni, Ray
This change generates the reset vector binary which only contains 1G page table. If a platform doesn't support 1G page table, this will cause system hang. To Ard and Jordan, Can you evaluate whether this change impacts OVMF? To Prince, Can you evaluate whether this change impacts

[edk2-devel] [PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity

2021-07-02 Thread Ashraf Ali S
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3473 X64 Reset Vector Code can access the memory range till 4GB using the Linear-Address Translation to a 2-MByte Page, when user wants to use more than 4G using 2M Page it will leads to use more number of Page table entries. using the 1-GByte