feat(interrupts): specify action in response to ns interrupt in manifest
As per FF-A v1.1 EAC0 spec, SP must specify action in response to non
secure interrupt in its manifest.
Possible actions:
> NS Interrupt queued:= 0
> NS Interrupt signaled with ME:= 1
> NS Interrupt signaled:= 2
Moreover, the unsupported field "run-time-model" is removed from the
manifest of various secure partitions.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ic350173e43379cf2421565e0973c6ba7995aa70b
diff --git a/spm/cactus/plat/arm/fvp/fdts/cactus-secondary.dts b/spm/cactus/plat/arm/fvp/fdts/cactus-secondary.dts
index 12d2175..92580e7 100644
--- a/spm/cactus/plat/arm/fvp/fdts/cactus-secondary.dts
+++ b/spm/cactus/plat/arm/fvp/fdts/cactus-secondary.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -28,8 +28,8 @@
xlat-granule = <0>; /* 4KiB */
boot-order = <0>;
messaging-method = <3>; /* Direct messaging only */
+ ns-interrupts-action = <2>; /* Non secure interrupts are signaled. */
notification-support; /* Support receipt of notifications. */
- run-time-model = <0>; /* Run to completion */
rx_tx-info {
compatible = "arm,ffa-manifest-rx_tx-buffer";
diff --git a/spm/cactus/plat/arm/fvp/fdts/cactus-tertiary.dts b/spm/cactus/plat/arm/fvp/fdts/cactus-tertiary.dts
index 9251763..856be85 100644
--- a/spm/cactus/plat/arm/fvp/fdts/cactus-tertiary.dts
+++ b/spm/cactus/plat/arm/fvp/fdts/cactus-tertiary.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -29,7 +29,7 @@
boot-order = <0>;
notification-support;
messaging-method = <3>; /* Direct messaging only */
- run-time-model = <0>; /* Run to completion */
+ managed-exit; /* Managed exit is supported */
memory-regions {
compatible = "arm,ffa-manifest-memory-regions";
diff --git a/spm/cactus/plat/arm/fvp/fdts/cactus.dts b/spm/cactus/plat/arm/fvp/fdts/cactus.dts
index 3c011c9..04f88d6 100644
--- a/spm/cactus/plat/arm/fvp/fdts/cactus.dts
+++ b/spm/cactus/plat/arm/fvp/fdts/cactus.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -28,9 +28,8 @@
xlat-granule = <0>; /* 4KiB */
boot-order = <0>;
messaging-method = <3>; /* Direct messaging only */
- managed-exit; /* Managed exit is supported */
+ ns-interrupts-action = <1>; /* Managed exit is supported */
notification-support; /* Support receipt of notifications. */
- run-time-model = <0>; /* Run to completion */
/* Boot protocol */
gp-register-num = <0>;
diff --git a/spm/ivy/app/plat/arm/fvp/fdts/ivy-sel1.dts b/spm/ivy/app/plat/arm/fvp/fdts/ivy-sel1.dts
index 62f59b9..36c04ba 100644
--- a/spm/ivy/app/plat/arm/fvp/fdts/ivy-sel1.dts
+++ b/spm/ivy/app/plat/arm/fvp/fdts/ivy-sel1.dts
@@ -25,6 +25,7 @@
entrypoint-offset = <0x00004000>;
boot-order = <0>;
messaging-method = <3>; /* Direct messaging only */
+ /* Non-secure interrupts are signaled by default. */
/* Boot protocol */
gp-register-num = <0x0>;