summaryrefslogtreecommitdiff
path: root/make_helpers
diff options
context:
space:
mode:
authorJayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>2023-03-07 10:43:19 +0000
committerManish V Badarkhe <manish.badarkhe@arm.com>2023-03-28 17:19:13 +0200
commit2b0bc4e028a75d75c6d6942ddd404ef331db29be (patch)
tree43ffe9ea8787fcf8e71c411045d59a36df313936 /make_helpers
parent45007acd46981b9f289f03b283eb53e7ba37bb67 (diff)
downloadarm-trusted-firmware-2b0bc4e028a75d75c6d6942ddd404ef331db29be.tar.gz
feat(cpufeat): enable FEAT_SVE for FEAT_STATE_CHECKED
Add support for runtime detection (ENABLE_SVE_FOR_NS=2), by splitting sve_supported() into an ID register reading function and a second function to report the support status. That function considers both build time settings and runtime information (if needed), and is used before we do SVE specific setup. Change the FVP platform default to the now supported dynamic option (=2), so the right decision can be made by the code at runtime. Change-Id: I1caaba2216e8e2a651452254944a003607503216 Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Diffstat (limited to 'make_helpers')
-rw-r--r--make_helpers/defaults.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk
index ef917f65b..63617b2ae 100644
--- a/make_helpers/defaults.mk
+++ b/make_helpers/defaults.mk
@@ -373,7 +373,7 @@ ENABLE_AMU_FCONF := 0
AMU_RESTRICT_COUNTERS := 0
# Enable SVE for non-secure world by default
-ENABLE_SVE_FOR_NS := 1
+ENABLE_SVE_FOR_NS := 2
# SVE is only supported on AArch64 so disable it on AArch32.
ifeq (${ARCH},aarch32)
override ENABLE_SVE_FOR_NS := 0