From 6a25ebbf638f056e99dbd4e6e2988fd4e5e7b6e0 Mon Sep 17 00:00:00 2001 From: Jayanth Dodderi Chidanand Date: Mon, 3 Apr 2023 11:24:26 +0100 Subject: [PATCH] docs(sve): update defaults for FEAT_SVE FEAT_SVE build macro, "ENABLE_SVE_FOR_NS" default value has been updated to 2, to support its existing behavior of dynamic detection as well as keep it aligned with the changes concerning STATE=FEAT_STATE_CHECKED(2), part of Feature Detection procedure. Change-Id: Iee43e899f19dc9d5eb57c235998758f462a8c397 Signed-off-by: Jayanth Dodderi Chidanand --- docs/getting_started/build-options.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/getting_started/build-options.rst b/docs/getting_started/build-options.rst index 1ee07d9ac..a5c2c9e24 100644 --- a/docs/getting_started/build-options.rst +++ b/docs/getting_started/build-options.rst @@ -436,11 +436,12 @@ Common build options This is to avoid corruption of the Non-secure world data in the Z-registers which are aliased by the SIMD and FP registers. The build option is not compatible with the ``CTX_INCLUDE_FPREGS`` build option, and will raise an - assert on platforms where SVE is implemented and ``ENABLE_SVE_FOR_NS`` set to - 1. This flag can take the values 0 to 2, to align with the ``FEATURE_DETECTION`` - mechanism. The default is 1 but is automatically disabled when - ENABLE_SME_FOR_NS=1 since SME encompasses SVE. At this time, this build - option cannot be used on systems that have SPM_MM enabled. + assert on platforms where SVE is implemented and ``ENABLE_SVE_FOR_NS`` enabled. + This flag can take the values 0 to 2, to align with the ``FEATURE_DETECTION`` + mechanism. The default is 2 but is automatically disabled when + ENABLE_SME_FOR_NS is enabled ( set to 1 or 2) since SME encompasses SVE. + At this time, this build option cannot be used on systems that have SPM_MM + enabled. - ``ENABLE_SVE_FOR_SWD``: Boolean option to enable SVE for the Secure world. SVE is an optional architectural feature for AArch64. Note that this option