Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4f4a2c3b0768cd389c8f27ec77871887ba89e6f5
      
https://github.com/tianocore/edk2/commit/4f4a2c3b0768cd389c8f27ec77871887ba89e6f5
  Author: Ard Biesheuvel <[email protected]>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M ArmPkg/Include/Library/ArmLib.h
    M ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c

  Log Message:
  -----------
  ArmPkg/ArmMmuLib: Drop buggy secure memory type check

Jake reports that the IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE() macro is
no longer accurate since commit 852227a9d52e3cb9 ("ArmPkg/Mmu: Remove
handling of NONSECURE memory regions").

Fortunately, it only affects the NS bit in level 1 short descriptors,
which is ignored when executing in non-secure mode. And given that
running UEFI in the secure world is not a use case we aim to support,
let's just drop this logic altogether.

Reported-by: Jake Garver <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to