Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 084ce2b04bdd9b3ed8f2a1eb51d09355c04c692c
https://github.com/tianocore/edk2/commit/084ce2b04bdd9b3ed8f2a1eb51d09355c04c692c
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M ArmVirtPkg/PrePi/ModuleEntryPoint.S
Log Message:
-----------
ArmVirtPkg: Clear TPIDR_EL0 before early HOB lookups
TPIDR_EL0 is used to hold the PrePi HOB list pointer, but its reset
value is unknown. Some early boot paths can call GetHobList() before
PrePiMain() creates and installs the HOB list.
Clear TPIDR_EL0 at the SEC entry point so those early lookups see NULL
rather than an invalid pointer.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 760bb2d2fd7f648dea6ae8d2bf04c69e260d9181
https://github.com/tianocore/edk2/commit/760bb2d2fd7f648dea6ae8d2bf04c69e260d9181
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
A OvmfPkg/Include/Library/MapMmioLib.h
A OvmfPkg/Library/MapMmioLib/MapMmioLib.c
A OvmfPkg/Library/MapMmioLib/MapMmioLib.inf
M OvmfPkg/OvmfPkg.dec
Log Message:
-----------
OvmfPkg/MapMmioLib: Introduce a library for mapping MMIO regions
Introduce MapMmioLib to add MMIO regions to the GCD memory map.
MapMmioMemory() normalizes the requested range to page boundaries, adds
missing MMIO descriptors, and updates attributes for new and existing MMIO
descriptors. Existing descriptors of any other type are reported as
conflicts.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 838240263a476ae54ffb6f694cc4bc0a0ce42727
https://github.com/tianocore/edk2/commit/838240263a476ae54ffb6f694cc4bc0a0ce42727
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M OvmfPkg/Include/Library/MapMmioLib.h
M OvmfPkg/Library/MapMmioLib/MapMmioLib.c
M OvmfPkg/Library/MapMmioLib/MapMmioLib.inf
Log Message:
-----------
OvmfPkg/MapMmioLib: Support runtime drivers
Allow MapMmioLib to be consumed by DXE_RUNTIME_DRIVER modules.
MapMmioMemory() depends on DXE services, so it cannot map new
ranges after ExitBootServices(). Return EFI_ACCESS_DENIED when
called at runtime.
This allows runtime drivers such as
ArmVirtPkg/Library/KvmtoolRtcFdtClientLib to use MapMmioLib for
boot-time MMIO setup.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: b2b548c05750105d51fe86770974fffc1bafd50a
https://github.com/tianocore/edk2/commit/b2b548c05750105d51fe86770974fffc1bafd50a
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M ArmVirtPkg/ArmVirt.dsc.inc
Log Message:
-----------
ArmVirtPkg: Include MapMmioLib in ArmVirt.dsc.inc
Add the MapMmioLib instance to the ArmVirt DXE_DRIVER library class
list so DXE drivers can map MMIO regions through the common helper.
Also add the runtime-driver library class mapping in ArmVirt.dsc.inc
so that runtime modules like KvmtoolRtcFdtClientLib can use
MapMmioLib.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 28526dbba322e043c8089706f8e8e4c78012ee10
https://github.com/tianocore/edk2/commit/28526dbba322e043c8089706f8e8e4c78012ee10
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.c
M ArmVirtPkg/Library/ArmVirtGicArchLib/ArmVirtGicArchLib.inf
Log Message:
-----------
ArmVirtPkg: Map GIC MMIO ranges before configuring GIC
Discover the GIC register ranges from the device tree and map them into
the GCD memory map before ArmGicDxe configures the interrupt controller.
Map the distributor and redistributor ranges for GICv3, and the
distributor and CPU interface ranges for GICv2, using MapMmioLib.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 9dcf9d317a0273482ca38a5b161a761e35cca18a
https://github.com/tianocore/edk2/commit/9dcf9d317a0273482ca38a5b161a761e35cca18a
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.c
M ArmVirtPkg/Library/KvmtoolRtcFdtClientLib/KvmtoolRtcFdtClientLib.inf
Log Message:
-----------
ArmVirtPkg/KvmtoolRtcFdtClientLib: Use MapMmioLib for MMIO mapping
Replace the local RTC MMIO mapping sequence with MapMmioMemory(), while
keeping the explicit GCD allocation so the RTC page remains owned by the
driver image handle.
This reuses the common MMIO mapping path for GCD attributes.
Also update the incorrect error code documentation to reflect that
EFI_NOT_FOUND can be returned if the GCD space is not found and
drop the depex on gEfiCpuArchProtocolGuid as this is now done
by MapMmioLib which is where the Cpu Arch protocol is utilised.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: d46e38c5ea4cefa6ccb7a291196ab255c9d528ef
https://github.com/tianocore/edk2/commit/d46e38c5ea4cefa6ccb7a291196ab255c9d528ef
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c
M OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
M OvmfPkg/LoongArchVirt/LoongArchVirtQemu.dsc
M OvmfPkg/Microvm/MicrovmX64.dsc
M OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc
Log Message:
-----------
OvmfPkg/FdtPciHostBridgeLib: Use MapMmioLib for MMIO mapping
Replace the local GCD MMIO mapping helper with MapMmioMemory() when
mapping the PCI ECAM region and the translated I/O MMIO window.
This keeps the FDT PCI host bridge code aligned with the common MMIO
mapping helper and avoids duplicating AddMemorySpace() and
SetMemorySpaceAttributes() handling.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: da1ccea67ce0fa58dd934abc5535443d7197004b
https://github.com/tianocore/edk2/commit/da1ccea67ce0fa58dd934abc5535443d7197004b
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M OvmfPkg/Fdt/FdtPciHostBridgeLib/FdtPciHostBridgeLib.c
Log Message:
-----------
OvmfPkg/FdtPciHostBridgeLib: Map PCI MMIO windows in GCD
Map the PCI MMIO32 and MMIO64 windows into the GCD memory
map after parsing the DT ranges property.
This makes the PCI memory apertures available as MMIO
regions.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 2adf8dc56d1036eb9f8c00a11620f68d71bf277b
https://github.com/tianocore/edk2/commit/2adf8dc56d1036eb9f8c00a11620f68d71bf277b
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
A
ArmVirtPkg/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortProbeLib.c
A
ArmVirtPkg/Library/Fdt16550SerialPortHookLib/EarlyFdt16550SerialPortProbeLib.inf
Log Message:
-----------
ArmVirtPkg: Add early FDT 16550 serial port probe library
Fdt16550SerialPortHookLib does not provide a constructor and
expects SerialPortLib to call PlatformHookSerialPortInitialize().
Add an early FDT 16550 serial port probe library that invokes the
platform serial hook from its constructor. This allows the FDT to be
parsed early, the 16550 serial port base address to be extracted, and
the serial port PCD to be populated. It is needed during early boot so
the serial port memory map can be set up using the populated serial
port PCD.
The probe library wraps the hook call in its constructor instead of
reusing PlatformHookSerialPortInitialize() directly. This avoids
duplicate global definitions in modules that already link against the
PlatformHookLib instance.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 2f91cf9045bf43a24c99c8df799a92841eb9ad28
https://github.com/tianocore/edk2/commit/2f91cf9045bf43a24c99c8df799a92841eb9ad28
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M ArmVirtPkg/ArmVirtKvmTool.dsc
M ArmVirtPkg/Library/KvmtoolVirtMemInfoLib/KvmtoolVirtMemInfoLib.c
M ArmVirtPkg/Library/KvmtoolVirtMemInfoLib/KvmtoolVirtMemInfoLib.inf
Log Message:
-----------
ArmVirtPkg: Refactor memory map configuration for Kvmtool Guest VM
Refactor the memory mapping configuration for Kvmtool Guest VM to
only setup the memory map for the System Memory, FV and the Serial
Port.
The memory mappings for he remaining devices are expected to be
configured by the respective drivers, this could be done as part
of the DXE drivers itself or using a Probe Library that adds the
device memory regions to the memory map.
The only special cases that remain are the System Memory, FV and
the Serial Port for which the memory mappings are created by the
KvmtoolVirtMemInfoLib. The memory mapping for the Serial port
is added as it is utilised for logging before the DXE driver
is loaded.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 422cc775a910e0f42f70162d3ed6a228a8a1437d
https://github.com/tianocore/edk2/commit/422cc775a910e0f42f70162d3ed6a228a8a1437d
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
A OvmfPkg/Library/VirtioMmioProbeLib/VirtioMmioProbeLib.c
A OvmfPkg/Library/VirtioMmioProbeLib/VirtioMmioProbeLib.inf
Log Message:
-----------
OvmfPkg: Introduce a Virtio MMIO probe lib
Introduce a Virtio MMIO probe library that discovers virtio-mmio
nodes from the FDT and maps their MMIO ranges before the virtio
transport driver creates virtio devices and accesses the device
MMIO regions.
Signed-off-by: Sami Mujawar <[email protected]>
Commit: 74caea295623fc7ec3f27a71f3488662864cbb4e
https://github.com/tianocore/edk2/commit/74caea295623fc7ec3f27a71f3488662864cbb4e
Author: Sami Mujawar <[email protected]>
Date: 2026-07-21 (Tue, 21 Jul 2026)
Changed paths:
M ArmVirtPkg/ArmVirt.dsc.inc
Log Message:
-----------
ArmVirtPkg: Link VirtioMmioProbeLib to VirtioFdtDxe
Link VirtioMmioProbeLib to VirtioFdtDxe so that the Virtio MMIO
probe constructor maps the virtio-mmio ranges before the transport
driver accesses the device MMIO regions.
Signed-off-by: Sami Mujawar <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/2b842a208161...74caea295623
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