]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
fix(fvp): correct ehf priority for SPM_MM
authorManish Pandey <manish.pandey2@arm.com>
Tue, 14 Mar 2023 13:44:53 +0000 (13:44 +0000)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 24 Apr 2023 15:49:00 +0000 (17:49 +0200)
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 <manish.pandey2@arm.com>
Change-Id: Iff64ac547f0966c0d94ac7c3ab0eb1e3151fb314

plat/arm/board/fvp/include/platform_def.h

index 84e2e826f96aa9bc3d4079f073d54921d046391b..79d7451efc1ac69a0ccf57dd6527ab91de0af300 100644 (file)
@@ -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