Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 5bdf8acc138474408a7f39e793e5dfe571d0421b
      
https://github.com/tianocore/edk2/commit/5bdf8acc138474408a7f39e793e5dfe571d0421b
  Author: Sami Mujawar <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M MdePkg/Include/AArch64/AArch64.h
    M MdePkg/Include/Library/ArmLib.h
    M MdePkg/Library/ArmLib/AArch64/AArch64Lib.c

  Log Message:
  -----------
  MdePkg: Add helper function to detect RME

Add helper function to check if the Realm Management
Extension (RME) is implemented by the hardware.

Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Signed-off-by: Sami Mujawar <[email protected]>


  Commit: 90f40e654c1cb1c72c3386be1eede1d378a9a084
      
https://github.com/tianocore/edk2/commit/90f40e654c1cb1c72c3386be1eede1d378a9a084
  Author: Jean-Philippe Brucker <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M UefiCpuPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c

  Log Message:
  -----------
  UefiCpuPkg/ArmMmuLib: Handle Realm unprotected bit

When creating the identity mapping, copy the 'unprotected' top bit from
the physical address as an attribute in the PTE. The virtual address
then points to the top half of the address space, which in a Realm is
the unprotected half, shared with the host.

Signed-off-by: Jean-Philippe Brucker <[email protected]>


  Commit: 691b92fe05cdea1f757ad7a71184f64f3841b6e3
      
https://github.com/tianocore/edk2/commit/691b92fe05cdea1f757ad7a71184f64f3841b6e3
  Author: Sami Mujawar <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M UefiCpuPkg/Include/Library/ArmMmuLib.h
    M UefiCpuPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c

  Log Message:
  -----------
  UefiCpuPkg/ArmMmuLib: Introduce ArmCcaSetMemoryProtectionAttribute()

Arm CCA requires the software in a Realm to treat the most
significant bit of an IPA as a protection attribute. To
enable/disable sharing of memory regions with the host, the
protection attribute needs to be set/cleared accordingly.

Therefore, introduce ArmCcaSetMemoryProtectionAttribute() so
that the memory regions can be shared/unshared with the host.

Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Signed-off-by: Sami Mujawar <[email protected]>


  Commit: b5f11993237d547c2056fc6fb6ff917c6d6d9e0a
      
https://github.com/tianocore/edk2/commit/b5f11993237d547c2056fc6fb6ff917c6d6d9e0a
  Author: Sami Mujawar <[email protected]>
  Date:   2026-04-21 (Tue, 21 Apr 2026)

  Changed paths:
    M EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c

  Log Message:
  -----------
  EmbeddedPkg: Add missing FreeAlignedPages() implementation

The PrePiMemoryAllocationLib supports AllocateAlignedPages(),
however is missing the corresponding FreeAlignedPages().

Although the FreeAlignedPages() in PrePiMemoryAllocationLib
does not support the ability to free pages in the PrePei Memory
Allocator and the allocated memory is lost, it would be good
to have an empty implementation of FreeAlignedPages() so that
implementations utilises the correct deallocation function.

Signed-off-by: Sami Mujawar <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/c31b880bd21c...b5f11993237d

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

Reply via email to