arm-trusted-firmware/plat/arm/common/fconf
Olivier Deprez 0c86a846d9 fix(fconf): boot fails using ARM_ARCH_MINOR=8
When building TF-A (with SPMD support) with ARM_ARCH_MAJOR=8/
ARCH_ARCH_MINOR=8 options, this forces the -march=armv8.8-a compiler
option. In this condition, the compiler optimises statement [1] into
a store pair to an unaligned address resulting to a supposedly alignment
fault. With -march=armv8.7-a and earlier the compiler resolves with a
memcpy. Replacing this line by an explicit memcpy masks out the issue.
Prefer using the plain struct uuid in place of the uuid_helper union
for further clarity.

[1] https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/
plat/arm/common/fconf/arm_fconf_sp.c?h=v2.10#n77

Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I509b7bc50c7c4a894885d24dc8279d0fe634e8f2
2024-01-30 12:15:52 +01:00
..
arm_fconf_io.c feat(partition): add support to use backup GPT header 2023-10-27 08:31:54 -05:00
arm_fconf_sp.c fix(fconf): boot fails using ARM_ARCH_MINOR=8 2024-01-30 12:15:52 +01:00
fconf_ethosn_getter.c feat(ethos-n): add reserved memory address support 2023-04-04 11:37:37 +02:00
fconf_nv_cntr_getter.c plat/arm: Get the base address of nv-counters from device tree 2020-08-28 09:50:36 +00:00
fconf_sdei_getter.c plat/arm/fvp: Support performing SDEI platform setup in runtime 2020-05-15 10:05:06 -05:00
fconf_sec_intr_config.c plat/fvp: Add support for dynamic description of secure interrupts 2020-06-09 19:01:14 +00:00