diff options
author | Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> | 2023-01-12 15:18:16 +0000 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2023-04-28 11:57:42 +0200 |
commit | 65bb8b880826807bee92f40d077f58b92d192dc1 (patch) | |
tree | 902e3afe44829895071720b8a7aa72e29c8f3b6c | |
parent | 41edd01af9fd5b1e6be45a9d045d96fe9171ff02 (diff) |
ci(sme): add build and run configs for SME2
This patch adds the following:
1. TF-A build config with SME2 support.
2. Run configuration to generate model parameters for FEAT_SME2.
3. CI test configuration to verify SME2 support.
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Change-Id: Ibd80e7ee0e8657048c052cc93cc5bb7376c55f47
-rw-r--r-- | group/tftf-l2-fvp/fvp-sme2,fvp-cpu-extensions:fvp-tftf-fip.tftf-aemv8a.sme2-debug | 5 | ||||
-rw-r--r-- | model/base-aemva-common.sh | 5 | ||||
-rw-r--r-- | run_config/fvp-aemv8a.sme2 | 15 | ||||
-rw-r--r-- | tf_config/fvp-sme2 | 9 |
4 files changed, 33 insertions, 1 deletions
diff --git a/group/tftf-l2-fvp/fvp-sme2,fvp-cpu-extensions:fvp-tftf-fip.tftf-aemv8a.sme2-debug b/group/tftf-l2-fvp/fvp-sme2,fvp-cpu-extensions:fvp-tftf-fip.tftf-aemv8a.sme2-debug new file mode 100644 index 00000000..8c2d6473 --- /dev/null +++ b/group/tftf-l2-fvp/fvp-sme2,fvp-cpu-extensions:fvp-tftf-fip.tftf-aemv8a.sme2-debug @@ -0,0 +1,5 @@ +# +# Copyright (c) 2023, Arm Limited. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# diff --git a/model/base-aemva-common.sh b/model/base-aemva-common.sh index 7812f019..5923f249 100644 --- a/model/base-aemva-common.sh +++ b/model/base-aemva-common.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# Copyright (c) 2019-2022, Arm Limited. All rights reserved. +# Copyright (c) 2019-2023, Arm Limited. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -54,6 +54,8 @@ reset_var sve_plugin reset_var has_sme +reset_var has_sme2 + reset_var bmcov_plugin reset_var retain_flash @@ -113,6 +115,7 @@ ${sve_plugin+--plugin=$sve_plugin_path} ${sve_plugin+-C SVE.ScalableVectorExtension.enable_at_reset=0} ${sve_plugin+-C SVE.ScalableVectorExtension.veclen=$((128 / 8))} ${has_sme+-C SVE.ScalableVectorExtension.has_sme=1} +${has_sme2+-C SVE.ScalableVectorExtension.has_sme2=1} ${bmcov_plugin+--plugin=$bmcov_plugin_path} diff --git a/run_config/fvp-aemv8a.sme2 b/run_config/fvp-aemv8a.sme2 new file mode 100644 index 00000000..62f0fa94 --- /dev/null +++ b/run_config/fvp-aemv8a.sme2 @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# +# Copyright (c) 2023, Arm Limited. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + +generate_lava_job() { + local model="base-aemv8a" + + model="$model" \ + sve_plugin="1" has_sme="1" has_sme2="1" arch_version="9.2" \ + gen_model_params + model="$model" gen_fvp_yaml +} diff --git a/tf_config/fvp-sme2 b/tf_config/fvp-sme2 new file mode 100644 index 00000000..795c3239 --- /dev/null +++ b/tf_config/fvp-sme2 @@ -0,0 +1,9 @@ +ARM_ARCH_MAJOR=8 +ARM_ARCH_MINOR=6 +CROSS_COMPILE=aarch64-none-elf- +CTX_INCLUDE_AARCH32_REGS=0 +ENABLE_FEAT_HCX=1 +ENABLE_SME_FOR_NS=1 +ENABLE_SME2_FOR_NS=1 +ENABLE_SVE_FOR_NS=1 +PLAT=fvp |