From: Manish Pandey Date: Tue, 14 Mar 2023 13:44:53 +0000 (+0000) Subject: fix(fvp): correct ehf priority for SPM_MM X-Git-Tag: baikal/aarch64/sdk5.10~1^2~73^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=fb2fd558d8102ad79e5970714e0afec31a6138d7;p=arm-tf.git fix(fvp): correct ehf priority for SPM_MM PLAT_SP_PRI is used by SPM_MM and it is assigned same value as RAS priority. Which is not allowed by exception handling framework and causes build failure if both SPM_MM and RAS is enabled. To fix this problem assign SP a different priority than RAS. Signed-off-by: Manish Pandey Change-Id: Iff64ac547f0966c0d94ac7c3ab0eb1e3151fb314 --- diff --git a/plat/arm/board/fvp/include/platform_def.h b/plat/arm/board/fvp/include/platform_def.h index 84e2e826f..79d7451ef 100644 --- a/plat/arm/board/fvp/include/platform_def.h +++ b/plat/arm/board/fvp/include/platform_def.h @@ -404,7 +404,7 @@ defined(IMAGE_BL2) && MEASURED_BOOT #define PLAT_ARM_SP_IMAGE_STACK_BASE (PLAT_SP_IMAGE_NS_BUF_BASE + \ PLAT_SP_IMAGE_NS_BUF_SIZE) -#define PLAT_SP_PRI PLAT_RAS_PRI +#define PLAT_SP_PRI 0x20 /* * Physical and virtual address space limits for MMU in AARCH64 & AARCH32 modes