|
[Patch V5 04/22] UefiCpuPkg/CpuPageTableLib: Fix the non-1:1 mapping issue
In previous code logic, when splitting a leaf parent entry to smaller granularity child page table, if the parent entry Attribute&Mask(without PageTableBaseAddress field) is equal to the input attribu
In previous code logic, when splitting a leaf parent entry to smaller granularity child page table, if the parent entry Attribute&Mask(without PageTableBaseAddress field) is equal to the input attribu
|
By
duntan
·
|
|
[Patch V5 03/22] UefiCpuPkg/CpuPageTableLib:Initialize some LocalVariable at beginning
Move some local variable initialization to the beginning of the function. Also delete duplicated calculation for RegionLength. Signed-off-by: Dun Tan <dun.tan@...> Cc: Eric Dong <eric.dong@...> Review
Move some local variable initialization to the beginning of the function. Also delete duplicated calculation for RegionLength. Signed-off-by: Dun Tan <dun.tan@...> Cc: Eric Dong <eric.dong@...> Review
|
By
duntan
·
|
|
[Patch V5 01/22] UefiCpuPkg/CpuPageTableLib: Remove unneeded 'if' condition
Remove unneeded 'if' condition in CpuPageTableLib code. The deleted code is in the code branch for present non-leaf parent entry. So the 'if' check for (ParentPagingEntry->Pnle.Bits.Present == 0) is a
Remove unneeded 'if' condition in CpuPageTableLib code. The deleted code is in the code branch for present non-leaf parent entry. So the 'if' check for (ParentPagingEntry->Pnle.Bits.Present == 0) is a
|
By
duntan
·
|
|
[Patch V5 00/22] Fix issues in CpuPageTableLib
In the V5 atch set: 1. In 'Fix the non-1:1 mapping issue' patch, add (UINT64) for PagingEntryIndex to avoid IA32 build failure 2. In 'Fix issue when splitting leaf entry', still use IA32_PE_BASE_ADDRE
In the V5 atch set: 1. In 'Fix the non-1:1 mapping issue' patch, add (UINT64) for PagingEntryIndex to avoid IA32 build failure 2. In 'Fix issue when splitting leaf entry', still use IA32_PE_BASE_ADDRE
|
By
duntan
·
|
|
回复: [PATCH 2/3] BaseTools: Replace duplicate __PcdSet prototype with __PcdGet
Reviewed-by: Liming Gao <gaoliming@...> > -----邮件原件----- > 发件人: Rebecca Cran <rebecca@...> > 发送时间: 2023年2月25日 8:55 > 收件人: devel@edk2.groups.io; Bob Feng <bob.c.feng@...>; Liming > Gao <gaoliming@...>;
Reviewed-by: Liming Gao <gaoliming@...> > -----邮件原件----- > 发件人: Rebecca Cran <rebecca@...> > 发送时间: 2023年2月25日 8:55 > 收件人: devel@edk2.groups.io; Bob Feng <bob.c.feng@...>; Liming > Gao <gaoliming@...>;
|
By
gaoliming
·
|
|
[PATCH v3] MdePkg/Include: Add DMTF MCTP definitions
3 messages
From: Abner Chang <abner.chang@...> BZ #4355 This change adds definitions for DMTF MCTP base specification. Spec ref: https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.1.pdf Sig
From: Abner Chang <abner.chang@...> BZ #4355 This change adds definitions for DMTF MCTP base specification. Spec ref: https://www.dmtf.org/sites/default/files/standards/documents/DSP0236_1.3.1.pdf Sig
|
By
Chang, Abner
·
|
|
[Patch V4 06/21] UefiCpuPkg/CpuPageTableLib: Fix issue when splitting leaf entry
3 messages
When splitting leaf parent entry to smaller granularity, create child page table before modifing parent entry. In previous code logic, when splitting a leaf parent entry, parent entry will point to a
When splitting leaf parent entry to smaller granularity, create child page table before modifing parent entry. In previous code logic, when splitting a leaf parent entry, parent entry will point to a
|
By
duntan
·
|
|
[Patch V4 08/21] UefiCpuPkg/CpuPageTableLib:Add check for Mask and Attr
3 messages
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
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
|
By
duntan
·
|
|
[PATCH V5 4/8] OvmfPkg/PlatformPei: Update ReserveEmuVariableNvStore
3 messages
From: Min M Xu <min.m.xu@...> ReserveEmuVariableNvStore is updated with below 2 functions defined in PlatformInitLib: - PlatformReserveEmuVariableNvStore - PlatformInitEmuVariableNvStore PlatformInitE
From: Min M Xu <min.m.xu@...> ReserveEmuVariableNvStore is updated with below 2 functions defined in PlatformInitLib: - PlatformReserveEmuVariableNvStore - PlatformInitEmuVariableNvStore PlatformInitE
|
By
Min Xu
·
|
|
[PATCH v3] MdePkg/Include: Add IPMI KCS definitions
4 messages
From: Abner Chang <abner.chang@...> BZ #4354 This change adds definitions for IPMI KCS. Spec ref: https://www.intel.com/content/www/us/en/products/docs/servers/ipmi/ipmi-second-gen-interface-spec-v2-r
From: Abner Chang <abner.chang@...> BZ #4354 This change adds definitions for IPMI KCS. Spec ref: https://www.intel.com/content/www/us/en/products/docs/servers/ipmi/ipmi-second-gen-interface-spec-v2-r
|
By
Chang, Abner
·
|
|
[PATCH 2/3] BaseTools: Replace duplicate __PcdSet prototype with __PcdGet
2 messages
Replace the duplicate __PcdSet prototype in PcdValueCommon.h with the prototype for __PcdGet. Signed-off-by: Rebecca Cran <rebecca@...> --- BaseTools/Source/C/Common/PcdValueCommon.h | 13 ++++++------
Replace the duplicate __PcdSet prototype in PcdValueCommon.h with the prototype for __PcdGet. Signed-off-by: Rebecca Cran <rebecca@...> --- BaseTools/Source/C/Common/PcdValueCommon.h | 13 ++++++------
|
By
Rebecca Cran
·
|
|
[Patch V4 21/21] UefiCpuPkg/CpuPageTableLib: Reduce the number of random tests
2 messages
Reduce the number of random tests. In previous patch, non-1:1 mapping is enbaled and it may need more than an hour and a half for the CI test, which may lead to CI timeout. Reduce the number of random
Reduce the number of random tests. In previous patch, non-1:1 mapping is enbaled and it may need more than an hour and a half for the CI test, which may lead to CI timeout. Reduce the number of random
|
By
duntan
·
|
|
[Patch V4 19/21] UefiCpuPkg/CpuPageTableLib: Enable PAE paging
2 messages
Modify CpuPageTableLib code to enable PAE paging. In PageTableMap() API: When creating new PAE page table, after creating page table, set all MustBeZero fields of 4 PDPTE to 0. The MustBeZero fields a
Modify CpuPageTableLib code to enable PAE paging. In PageTableMap() API: When creating new PAE page table, after creating page table, set all MustBeZero fields of 4 PDPTE to 0. The MustBeZero fields a
|
By
duntan
·
|
|
[Patch V4 18/21] UefiCpuPkg: Combine branch for non-present and leaf ParentEntry
2 messages
Combine 'if' condition branch for non-present and leaf Parent Entry in PageTableLibMapInLevel. Most steps of these two condition are the same. This commit doesn't change any functionality. Signed-off-
Combine 'if' condition branch for non-present and leaf Parent Entry in PageTableLibMapInLevel. Most steps of these two condition are the same. This commit doesn't change any functionality. Signed-off-
|
By
duntan
·
|
|
[Patch V4 17/21] UefiCpuPkg/CpuPageTableLib: Add check for page table creation
2 messages
Add code to compare ParentPagingEntry Attribute&Mask and input Attribute&Mask to decide if new next level page table is needed in non-present ParentPagingEntry condition. This can help avoid unneccess
Add code to compare ParentPagingEntry Attribute&Mask and input Attribute&Mask to decide if new next level page table is needed in non-present ParentPagingEntry condition. This can help avoid unneccess
|
By
duntan
·
|
|
[Patch V4 20/21] UefiCpuPkg/CpuPageTableLib: Add RandomTest for PAE paging
2 messages
Add RandomTest for PAE paging. Signed-off-by: Dun Tan <dun.tan@...> Cc: Eric Dong <eric.dong@...> Cc: Ray Ni <ray.ni@...> Cc: Rahul Kumar <rahul1.kumar@...> Cc: Gerd Hoffmann <kraxel@...> --- UefiCpuP
Add RandomTest for PAE paging. Signed-off-by: Dun Tan <dun.tan@...> Cc: Eric Dong <eric.dong@...> Cc: Ray Ni <ray.ni@...> Cc: Rahul Kumar <rahul1.kumar@...> Cc: Gerd Hoffmann <kraxel@...> --- UefiCpuP
|
By
duntan
·
|
|
[PATCH 1/1] OvmfPkg: replace SECURE_BOOT_FEATURE_ENABLED with PcdSecureBootSupported
Drop the '-D SECURE_BOOT_FEATURE_ENABLED' compile time option, use a new FeaturePcd instead. Signed-off-by: Gerd Hoffmann <kraxel@...> --- OvmfPkg/OvmfPkg.dec | 3 +++ OvmfPkg/CloudHv/CloudHvX64.dsc |
Drop the '-D SECURE_BOOT_FEATURE_ENABLED' compile time option, use a new FeaturePcd instead. Signed-off-by: Gerd Hoffmann <kraxel@...> --- OvmfPkg/OvmfPkg.dec | 3 +++ OvmfPkg/CloudHv/CloudHvX64.dsc |
|
By
Gerd Hoffmann
·
|
|
[PATCH 7/8] BaseTools: remove duplicate includes: IndustryStandard/PeImage.h
2 messages
Use the MdePkg version instead of maintaining a copy in BaseTools. Signed-off-by: Gerd Hoffmann <kraxel@...> --- .../C/Include/IndustryStandard/PeImage.h | 779 ------------------ 1 file changed, 779 d
Use the MdePkg version instead of maintaining a copy in BaseTools. Signed-off-by: Gerd Hoffmann <kraxel@...> --- .../C/Include/IndustryStandard/PeImage.h | 779 ------------------ 1 file changed, 779 d
|
By
Gerd Hoffmann
·
|
|
[Patch V4 15/21] UefiCpuPkg: Fix IA32 build failure in CpuPageTableLib.inf
2 messages
From: Zhiguang Liu <zhiguang.liu@...> The definition of IA32_MAP_ATTRIBUTE has 64 bits, and one of the bit field PageTableBaseAddress is from bit 12 to bit 52. This means if the compiler treats the 64
From: Zhiguang Liu <zhiguang.liu@...> The definition of IA32_MAP_ATTRIBUTE has 64 bits, and one of the bit field PageTableBaseAddress is from bit 12 to bit 52. This means if the compiler treats the 64
|
By
duntan
·
|
|
[Patch V4 14/21] UefiCpuPkg/CpuPageTableLib: Modify RandomTest to check IsModified
2 messages
Modify RandomTest to check if parameter IsModified of PageTableMap() correctlly indicates whether input page table is modified or not. Signed-off-by: Dun Tan <dun.tan@...> Cc: Eric Dong <eric.dong@...
Modify RandomTest to check if parameter IsModified of PageTableMap() correctlly indicates whether input page table is modified or not. Signed-off-by: Dun Tan <dun.tan@...> Cc: Eric Dong <eric.dong@...
|
By
duntan
·
|