]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(sve): support full SVE vector length
authorMark Brown <broonie@kernel.org>
Wed, 20 Apr 2022 17:14:32 +0000 (18:14 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2022 16:17:11 +0000 (17:17 +0100)
commitbebcf27f1c75f48cc129e8608cba113d0db32ef8
treea40c0e4dcaa5f43ce0658a3da94158d2881c1e6c
parente45ffa18d388b8ae0eea94901b4d2884839d2773
feat(sve): support full SVE vector length

Currently the SVE code hard codes a maximum vector length of 512 bits
when configuring SVE rather than the architecture supported maximum.
While this is fine for current physical implementations the architecture
allows for vector lengths up to 2048 bits and emulated implementations
generally allow any length up to this maximum.

Since there may be system specific reasons to limit the maximum vector
length make the limit configurable, defaulting to the architecture
maximum. The default should be suitable for most implementations since
the hardware will limit the actual vector length selected to what is
physically supported in the system.

Signed-off-by: Mark Brown <broonie@kernel.org>
Change-Id: I22c32c98a81c0cf9562411189d8a610a5b61ca12
Makefile
docs/getting_started/build-options.rst
lib/extensions/sve/sve.c
make_helpers/defaults.mk