Commit 3fd97cf3 authored by Mark Brown's avatar Mark Brown Committed by Catalin Marinas
Browse files

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: default avatarEdmund Grimley-Evans <edmund.grimley-evans@arm.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarDave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20240124-arm64-sve-sme-doc-v2-3-fe3964fb3c19@kernel.org


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent ae357927
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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.
+2 −3
Original line number Diff line number Diff line
@@ -423,9 +423,8 @@ The regset data starts with struct user_sve_header, containing:
/proc/sys/abi/sve_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_SVE_SET_VL.

    The result can be determined by reopening the file and reading its
    contents.