summaryrefslogtreecommitdiff
path: root/Documentation/arch/arm64/sme.rst
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-01-24 18:12:37 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2024-02-21 18:02:46 +0000
commit3fd97cf3234c5ffbd420319d1d510e4940183843 (patch)
tree8602c6036df4e1f59b308439edc4e9fcb0b34281 /Documentation/arch/arm64/sme.rst
parentae35792764bcba1dc13d2de62480eae8b97c2c41 (diff)
downloadlwn-3fd97cf3234c5ffbd420319d1d510e4940183843.tar.gz
lwn-3fd97cf3234c5ffbd420319d1d510e4940183843.zip
arm64/fp: Clarify effect of setting an unsupported system VL
The documentation for system vector length configuration does not cover all cases where unsupported values are written, tighten it up. Reported-by: Edmund Grimley-Evans <edmund.grimley-evans@arm.com> Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Link: https://lore.kernel.org/r/20240124-arm64-sve-sme-doc-v2-3-fe3964fb3c19@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/arch/arm64/sme.rst')
-rw-r--r--Documentation/arch/arm64/sme.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/arch/arm64/sme.rst b/Documentation/arch/arm64/sme.rst
index 3133d0e91b48..f4376c06f447 100644
--- a/Documentation/arch/arm64/sme.rst
+++ b/Documentation/arch/arm64/sme.rst
@@ -379,9 +379,8 @@ The regset data starts with struct user_za_header, containing:
/proc/sys/abi/sme_default_vector_length
Writing the text representation of an integer to this file sets the system
- default vector length to the specified value, unless the value is greater
- than the maximum vector length supported by the system in which case the
- default vector length is set to that maximum.
+ default vector length to the specified value rounded to a supported value
+ using the same rules as for setting vector length via PR_SME_SET_VL.
The result can be determined by reopening the file and reading its
contents.