From fb2fd558d8102ad79e5970714e0afec31a6138d7 Mon Sep 17 00:00:00 2001 From: Manish Pandey Date: Tue, 14 Mar 2023 13:44:53 +0000 Subject: [PATCH] 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 --- plat/arm/board/fvp/include/platform_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5