|
[Patch V2 8/8] MdeModulePkg/DxeIpl: Refinement to the code to set PageTable as RO
2 messages
Code refinement to the code to set page table as RO in DxeIpl module. Set all page table pools as ReadOnly by calling PageTableMap() in CpuPageTableLib multiple times instead of searching each page ta
Code refinement to the code to set page table as RO in DxeIpl module. Set all page table pools as ReadOnly by calling PageTableMap() in CpuPageTableLib multiple times instead of searching each page ta
|
By
duntan
·
|
|
[Patch V2 6/8] MdeModulePkg/DxeIpl: Create page table by CpuPageTableLib
2 messages
Modify CreateIdentityMappingPageTables() to create page table based on CpuPageTableLib in DxeIpl module. This function can be used to create both IA32 PAE paging and long mode 4-level, 5-level paging
Modify CreateIdentityMappingPageTables() to create page table based on CpuPageTableLib in DxeIpl module. This function can be used to create both IA32 PAE paging and long mode 4-level, 5-level paging
|
By
duntan
·
|
|
[Patch V2 1/8] EmulatorPkg: Add CpuPageTableLib required by DxeIpl in DSC
2 messages
Add CpuPageTableLib instance required by DxeIpl in EmulatorPkg.dsc. Signed-off-by: Dun Tan <dun.tan@...> Cc: Andrew Fish <afish@...> Cc: Ray Ni <ray.ni@...> --- EmulatorPkg/EmulatorPkg.dsc | 3 ++- 1 f
Add CpuPageTableLib instance required by DxeIpl in EmulatorPkg.dsc. Signed-off-by: Dun Tan <dun.tan@...> Cc: Andrew Fish <afish@...> Cc: Ray Ni <ray.ni@...> --- EmulatorPkg/EmulatorPkg.dsc | 3 ++- 1 f
|
By
duntan
·
|
|
[RFT PATCH v3 3/5] UefiCpuPkg/CpuExceptionHandlerLib: Make runtime fixups XCODE-only
3 messages
The CPU exception handler library code was rewritten at some point to populate the vector code templates with absolute references at runtime, given that the XCODE linker does not permit absolute refer
The CPU exception handler library code was rewritten at some point to populate the vector code templates with absolute references at runtime, given that the XCODE linker does not permit absolute refer
|
By
Ard Biesheuvel
·
|
|
[PATCH v2 2/2] OvmfPkg/RiscVVirt: Enable CMO support
Cc: Ard Biesheuvel <ardb+tianocore@...> Cc: Jiewen Yao <jiewen.yao@...> Cc: Jordan Justen <jordan.l.justen@...> Cc: Gerd Hoffmann <kraxel@...> Cc: Sunil V L <sunilvl@...> Cc: Andrei Warkentin <andrei.
Cc: Ard Biesheuvel <ardb+tianocore@...> Cc: Jiewen Yao <jiewen.yao@...> Cc: Jordan Justen <jordan.l.justen@...> Cc: Gerd Hoffmann <kraxel@...> Cc: Sunil V L <sunilvl@...> Cc: Andrei Warkentin <andrei.
|
By
Dhaval Sharma
·
|
|
[PATCH v2 1/2] WIP: MdePkg/RiscVCMOCacheMaintenanceLib:Enable RISCV CMO
Adding code to support Cache Management Operations (CMO) defined by RV spec https://github.com/riscv/riscv-CMOs Notes: 1. CMO only supports block based Operations. Meaning complete cache flush/invd/cl
Adding code to support Cache Management Operations (CMO) defined by RV spec https://github.com/riscv/riscv-CMOs Notes: 1. CMO only supports block based Operations. Meaning complete cache flush/invd/cl
|
By
Dhaval Sharma
·
|
|
[PATCH v2 0/2] WIP: Enable CMO support for RiscV64
Current implementation for cache management (instruction/data flush/invd) depends on fence.i instruction. All RV platforms may not use the same method for cache management. Instead RV defines CMO Cach
Current implementation for cache management (instruction/data flush/invd) depends on fence.i instruction. All RV platforms may not use the same method for cache management. Instead RV defines CMO Cach
|
By
Dhaval Sharma
·
|
|
[Patch V2 7/8] MdeModulePkg/DxeIpl: Remove duplicated code to enable NX
In IA32 code, remove the duplicated code to enable NX. In the previous patch, IA32 code also uses the new CreateIdentityMappingPageTables() to create PAE page table. This function calls EnableExecuteD
In IA32 code, remove the duplicated code to enable NX. In the previous patch, IA32 code also uses the new CreateIdentityMappingPageTables() to create PAE page table. This function calls EnableExecuteD
|
By
duntan
·
|
|
[Patch V2 2/8] IntelFsp2Pkg: Add CpuPageTableLib required by DxeIpl in DSC
Add CpuPageTableLib instance required by DxeIpl in QemuFspPkg.dsc of IntelFsp2Pkg. Signed-off-by: Dun Tan <dun.tan@...> Reviewed-by: Chasel Chiu <chasel.chiu@...> Cc: Nate DeSimone <nathaniel.l.desimo
Add CpuPageTableLib instance required by DxeIpl in QemuFspPkg.dsc of IntelFsp2Pkg. Signed-off-by: Dun Tan <dun.tan@...> Reviewed-by: Chasel Chiu <chasel.chiu@...> Cc: Nate DeSimone <nathaniel.l.desimo
|
By
duntan
·
|
|
[PATCH 0/6] Substract TME-MK KEY_ID_BITS from CPU max PA
11 messages
Ray Ni (6): MdePkg: Add TME-MK related CPUID and MSR definitions UefiCpuPkg/MtrrTest: Only claim CPUID max leaf as 1 UefiCpuPkg/MtrrLib: Substract TME-MK KEY_ID_BITS from CPU max PA UefiCpuPkg/CpuDxe:
Ray Ni (6): MdePkg: Add TME-MK related CPUID and MSR definitions UefiCpuPkg/MtrrTest: Only claim CPUID max leaf as 1 UefiCpuPkg/MtrrLib: Substract TME-MK KEY_ID_BITS from CPU max PA UefiCpuPkg/CpuDxe:
|
By
Ni, Ray
·
|
|
[RFT PATCH v3 5/5] UefiCpuPkg/CpuExceptionHandlerLib: Drop special XCODE5 version
This library is no longer used or needed, so let's remove it. Signed-off-by: Ard Biesheuvel <ardb@...> Reviewed-by: Ray Ni <ray.ni@...> --- UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExc
This library is no longer used or needed, so let's remove it. Signed-off-by: Ard Biesheuvel <ardb@...> Reviewed-by: Ray Ni <ray.ni@...> --- UefiCpuPkg/Library/CpuExceptionHandlerLib/Xcode5SecPeiCpuExc
|
By
Ard Biesheuvel
·
|
|
[RFT PATCH v3 4/5] OvmfPkg: Drop special Xcode5 version of exception handler library
The generic and XCODE5 versions of this library are now identical, so drop the special case. The library will be removed entirely in a subsequent patch. Signed-off-by: Ard Biesheuvel <ardb@...> Acked-
The generic and XCODE5 versions of this library are now identical, so drop the special case. The library will be removed entirely in a subsequent patch. Signed-off-by: Ard Biesheuvel <ardb@...> Acked-
|
By
Ard Biesheuvel
·
|
|
[RFT PATCH v3 1/5] BaseTools/tools_def CLANGDWARF: Permit text relocations
We rely on PIE executables to get the codegen that is suitable for PE/COFF conversion where the resulting executables can be loaded anywhere in the address space. However, ELF linkers may default to d
We rely on PIE executables to get the codegen that is suitable for PE/COFF conversion where the resulting executables can be loaded anywhere in the address space. However, ELF linkers may default to d
|
By
Ard Biesheuvel
·
|
|
[RFT PATCH v2 4/6] UefiCpuPkg/CpuExceptionHandlerLib: Remove needless runtime fixups
5 messages
Recent versions of the XCODE linker can be instructed to permit text relocations, so we no longer have to work around this, which is especially nice as our workaround assumes that the .text section is
Recent versions of the XCODE linker can be instructed to permit text relocations, so we no longer have to work around this, which is especially nice as our workaround assumes that the .text section is
|
By
Ard Biesheuvel
·
|
|
[RFT PATCH v2 3/6] UefiCpuPkg/CpuExceptionHandlerLib: Use single SEC/PEI version
4 messages
Currently, we use the non-Xcode5 version of ExceptionHandlerAsm.nasm only for the SEC and PEI phases, and this version was not compatible with the XCODE or LLD linkers, which do not permit absolute re
Currently, we use the non-Xcode5 version of ExceptionHandlerAsm.nasm only for the SEC and PEI phases, and this version was not compatible with the XCODE or LLD linkers, which do not permit absolute re
|
By
Ard Biesheuvel
·
|
|
[PATCH v2 0/2] SEV-SNP guest support fixes
3 messages
This patch series provides some fixes around AP creation: - An erratum on AMD hardware requires that a VMSA not be aligned on a 2MB boundary. To work around this issue, allocate 2 pages of memory and
This patch series provides some fixes around AP creation: - An erratum on AMD hardware requires that a VMSA not be aligned on a 2MB boundary. To work around this issue, allocate 2 pages of memory and
|
By
Lendacky, Thomas
·
|
|
[PATCH 9/9] MdeModulePkg/DxeIpl: Refinement to the code to set PageTable as RO
3 messages
Code refinement to the code to set page table as RO in DxeIpl module. Set all page table pools as ReadOnly by calling PageTableMap() in CpuPageTableLib multiple times instead of searching each page ta
Code refinement to the code to set page table as RO in DxeIpl module. Set all page table pools as ReadOnly by calling PageTableMap() in CpuPageTableLib multiple times instead of searching each page ta
|
By
duntan
·
|
|
[PATCH 6/9] MdeModulePkg: Add UefiCpuPkg.dec to pass DependencyCheck
2 messages
Add UefiCpuPkg/UefiCpuPkg.dec in MdeModulePkg.ci.yaml to pass DependencyCheck since DxeIpl in MdeModulePkg needs to consume CpuPageTableLib in UefiCpuPkg. Signed-off-by: Dun Tan <dun.tan@...> Cc: Limi
Add UefiCpuPkg/UefiCpuPkg.dec in MdeModulePkg.ci.yaml to pass DependencyCheck since DxeIpl in MdeModulePkg needs to consume CpuPageTableLib in UefiCpuPkg. Signed-off-by: Dun Tan <dun.tan@...> Cc: Limi
|
By
duntan
·
|
|
[PATCH 7/9] MdeModulePkg/DxeIpl: Create page table by CpuPageTableLib
3 messages
Modify CreateIdentityMappingPageTables() to create page table based on CpuPageTableLib in DxeIpl module. This function can be used to create both IA32 PAE paging and long mode 4-level, 5-level paging
Modify CreateIdentityMappingPageTables() to create page table based on CpuPageTableLib in DxeIpl module. This function can be used to create both IA32 PAE paging and long mode 4-level, 5-level paging
|
By
duntan
·
|
|
[PATCH 8/9] MdeModulePkg/DxeIpl: Remove duplicated code to enable NX
2 messages
In IA32 code, remove the duplicated code to enable NX. In the previous patch, IA32 code also uses the new CreateIdentityMappingPageTables() to create PAE page table. This function calls EnableExecuteD
In IA32 code, remove the duplicated code to enable NX. In the previous patch, IA32 code also uses the new CreateIdentityMappingPageTables() to create PAE page table. This function calls EnableExecuteD
|
By
duntan
·
|