Re: [edk2-devel] [PATCH] ArmPkg/ArmMmuLib: Drop buggy secure memory type check

2023-09-12 Thread Ard Biesheuvel
On Tue, 12 Sept 2023 at 12:01, Leif Lindholm wrote: > > On Tue, Sep 12, 2023 at 07:42:30 +, Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > > > Jake reports that the IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE() macro is > > no longer accurate since commit 852227a9d52e3cb9 ("ArmPkg/Mmu: Remove

Re: [edk2-devel] [PATCH] ArmPkg/ArmMmuLib: Drop buggy secure memory type check

2023-09-12 Thread Leif Lindholm
On Tue, Sep 12, 2023 at 07:42:30 +, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > 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 o

[edk2-devel] [PATCH] ArmPkg/ArmMmuLib: Drop buggy secure memory type check

2023-09-12 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel 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 e