Reporting Issues
Bug 3473 - UefiCpuPkg VTF0 X64: Build page tables using Linear-Address Translation to a 1-GByte Page
Summary: UefiCpuPkg VTF0 X64: Build page tables using Linear-Address Translation to a ...
Status: RESOLVED FIXED
Alias: None
Product: Tianocore Feature Requests
Classification: Unclassified
Component: Code (show other bugs)
Version: Current
Hardware: All All
: Normal normal
Assignee: Ray Ni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-02 08:12 UTC by Ashraf Ali S
Modified: 2021-09-19 11:09 UTC (History)
3 users (show)

See Also:
EDK II Code First industry standard specifications: ---
Branch URL:
Release(s) the issue is observed: EDK II Master
The OS the target platform is running: ---
Package: UefiCpuPkg
Release(s) the issues must be fixed: EDK II Master
Tianocore documents:


Attachments
[PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity (29.79 KB, patch)
2021-07-02 08:29 UTC, Ashraf Ali S
Details | Diff
[PATCH v3] UefiCpuPkg: VTF0 Linear-Address Translation to a 1-GByte Page till 512GB (51.70 KB, patch)
2021-09-11 08:10 UTC, Ashraf Ali S
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashraf Ali S 2021-07-02 08:12:51 UTC
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 Page table user can use more than 4G Memory by reducing the page table entries using 1-GByte Page, this patch attached can access memory range till 512GByte.

Build Scrips for Reset Vector currently based on Python 2 which is already EOL,
needs to modify the build script based on Python 3,
update the Binary accordingly.
Comment 1 Ashraf Ali S 2021-07-02 08:29:51 UTC
Created attachment 749 [details]
[PATCH] UefiCpuPkg VTF0 X64: Build page tables using 1-GByte Page Granularity
Comment 2 gaoliming 2021-07-13 21:52:02 UTC
Ray, can you give the comment for the attached patch?
Comment 3 Ashraf Ali S 2021-09-11 08:10:00 UTC
Created attachment 826 [details]
[PATCH v3] UefiCpuPkg: VTF0 Linear-Address Translation to a 1-GByte Page till 512GB