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 <jayanthdodderi.chidanand@arm.com>
This commit is contained in:
Jayanth Dodderi Chidanand 2023-04-03 11:24:26 +01:00
parent fc259b6c3a
commit 6a25ebbf63

View file

@ -436,11 +436,12 @@ Common build options
This is to avoid corruption of the Non-secure world data in the Z-registers 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 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 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 assert on platforms where SVE is implemented and ``ENABLE_SVE_FOR_NS`` enabled.
1. This flag can take the values 0 to 2, to align with the ``FEATURE_DETECTION`` 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 mechanism. The default is 2 but is automatically disabled when
ENABLE_SME_FOR_NS=1 since SME encompasses SVE. At this time, this build ENABLE_SME_FOR_NS is enabled ( set to 1 or 2) since SME encompasses SVE.
option cannot be used on systems that have SPM_MM enabled. 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. - ``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 SVE is an optional architectural feature for AArch64. Note that this option