Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 43e8f7386d9db4a40d66cae061f99e54f4ce2ab5
https://github.com/tianocore/edk2/commit/43e8f7386d9db4a40d66cae061f99e54f4ce2ab5
Author: Sami Mujawar <[email protected]>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M ArmVirtPkg/ArmVirtKvmTool.dsc
Log Message:
-----------
ArmVirtPkg: Kvmtool: Use Null version of DebugLib in PrePi
The patch at "6c8a08bd8a680 ArmVirtPkg/PrePi: Ensure timely
execution of library constructors" moved the processing of
library constructors before the MMU is initialised.
This resulted in the BaseDebugLibSerialPort library constructor
BaseDebugLibSerialPortConstructor () which initialises the serial
port, being invoked before the MMU is enabled.
However, the Realm code requires the protection attribute of
the MMIO regions to be configured as unprotected (shared with
the host), which requires the MMU to be enabled. Otherwise,
accesses to the MMIO region result in a synchronous external
abort being reflected to the Realm by the RMM.
Therefore, link the Null version of DebugLib in PrePi stage.
Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 09d62049217235670db86318299782e645783cca
https://github.com/tianocore/edk2/commit/09d62049217235670db86318299782e645783cca
Author: Sami Mujawar <[email protected]>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf
M ArmVirtPkg/PrePi/ModuleEntryPoint.S
Log Message:
-----------
ArmVirtPkg: Arm CCA configure system memory in early Pei
When a VMM creates a Realm, a small amount of DRAM (which contains
the firmware image) and the initial content is configured as Protected
RAM. The remaining System Memory is in the Protected Empty state. The
firmware must then initialise the remaining System Memory as Protected
RAM before it can be accessed.
Therefore, call the ArmCcaConfigureSystemMemory () in the early Pei
phase so that the System Memory is configured as Protected RAM.
Note: ArmCcaConfigureSystemMemory () is implemented in ArmCcaInitPeiLib
for which a Null implementation is provided. Therefore, this change
should not have an impact for non-Arm CCA enabled systems.
Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Sami Mujawar <[email protected]>
Commit: a2465b43cc01d9063bd60c44d507db1be3f08114
https://github.com/tianocore/edk2/commit/a2465b43cc01d9063bd60c44d507db1be3f08114
Author: Sami Mujawar <[email protected]>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M ArmVirtPkg/ArmVirtKvmTool.dsc
Log Message:
-----------
ArmVirtPkg: Add Arm CCA libraries for Kvmtool guest firmware
The following libraries have been introduced for Arm CCA:
* ArmCcaInitPeiLib - provides functions for ARM CCA
initialisations in early PEI phase.
* ArmCcaLib - provides the necessary helper functions
for Arm CCA
* ArmCcaRsiLib - implements functions to call the Realm
Service Interface.
Therefore, add these libraries in the Kvmtool guest firmware
workspace as part of enabling support for Arm CCA.
Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Sami Mujawar <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/32c6128b1e62...a2465b43cc01
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits