Changes to support SMMUv3.2 IP in Base_RevC FVP Model
A new flag "has_smmuv3_params" is introduced and is enabled in
the fvp-spm run fragment used to run SPM based tests.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I844f57f6b1a0fe851c16462ad09b4dec71115634
diff --git a/run_config/fvp-spm b/run_config/fvp-spm
index c84d5ea..5b607dd 100644
--- a/run_config/fvp-spm
+++ b/run_config/fvp-spm
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright (c) 2020, Arm Limited. All rights reserved.
+# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -18,6 +18,11 @@
post_fetch_tf_resource() {
local model="base-aemv8a"
- model="$model" arch_version="8.4" gen_model_params
+ # SPM(reference implementation of S-EL2 firmware) has SMMUv3 driver
+ # enabled to help with stage-2 translation and virtualization of
+ # upstream peripheral devices. Hence, enable the SMMUv3 IP in FVP
+ # by confuguring the appropriate parameters of the SMMUv3 AEM.
+ model="$model" arch_version="8.4" has_smmuv3_params="1" gen_model_params
+
model="$model" gen_fvp_yaml
}