[edk2-devel] [PATCH] ArmVirtPkg/ArmVirtQemu: always build XIP code with strict alignment

2024-04-19 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel The optimization that enabled entry with MMU and caches enabled at EL1 removed the strict alignment requirement for XIP code (roughly, any code that might execute with the MMU and caches off, which means SEC and PEI phase modules but also *all* BASE libraries), on the basis

[edk2-devel] [PATCH 1/1] EmbeddedPkg/NonCoherentIoMmuDxe: Make SetAttributes always succeed

2024-03-12 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel NonCoherentIoMmuSetAttribute() does nothing except return EFI_UNSUPPORTED. This was fine when it was introduced, but now, the PCI bus driver will fail a PCI I/O Map() operation if the SetAttributes fails. So return EFI_SUCCESS instead. Signed-off-by: Ard Biesheuvel ---

[edk2-devel] [PATCH edk2-platforms 1/1] Platform/RPI4: Grow FV size to accommodate DEBUG build

2024-03-12 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel The DEBUG build no longer fits when all build options used by the release script on github.com/pftf are used, presumably due to the OpenSSL upgrade. So bump the size for all builds. Signed-off-by: Ard Biesheuvel --- Platform/RaspberryPi/RPi4/RPi4.fdf | 14 +++---

[edk2-devel] [PATCH edk2-platforms 1/1] Maintainers: Remove Ard as Platform/ARM reviewer

2024-01-12 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel Remove me as reviewer for ARM development platforms: I am no longer employed by ARM and have no access to or knowledge about ARM development/reference hardware. Signed-off-by: Ard Biesheuvel --- Maintainers.txt | 1 - 1 file changed, 1 deletion(-) diff --git

[edk2-devel] [PATCH edk2-platforms 1/1] Silicon/SynQuacer: Fix CLANGDWARF build

2023-12-26 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel Drop the CLANG3x build options, and add ones for CLANGDWARF so that SynQuacer based platforms can be built with it. Instead of copying the -no-integrated-as option that CLANG3x used, let's fix the assembler code so it can be built with Clang's integrated assembler. Also

[edk2-devel] [PATCH edk2-platforms] Platform, Silicon: Drop AMD Seattle support

2023-12-19 Thread Ard Biesheuvel via groups.io
From: Ard Biesheuvel AMD Seattle support in edk2-platforms is implemented using a number of closed source components delivered as binary drivers via edk2-non-osi, some of which have dependencies on internal EDK2 APIs that are not considered stable, and some of which have evolved over the years

[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