summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorDave Martin <Dave.Martin@arm.com>2017-10-31 16:51:08 +0100
committerWill Deacon <will.deacon@arm.com>2017-11-03 16:24:16 +0100
commit7582e22038a266444eb87bc07c372592ad647439 (patch)
treef7f83b24d17a6bacacbeeb3273d81f0570c793c7 /arch/m32r
parentarm64/sve: Signal handling support (diff)
downloadlinux-7582e22038a266444eb87bc07c372592ad647439.tar.xz
linux-7582e22038a266444eb87bc07c372592ad647439.zip
arm64/sve: Backend logic for setting the vector length
This patch implements the core logic for changing a task's vector length on request from userspace. This will be used by the ptrace and prctl frontends that are implemented in later patches. The SVE architecture permits, but does not require, implementations to support vector lengths that are not a power of two. To handle this, logic is added to check a requested vector length against a possibly sparse bitmap of available vector lengths at runtime, so that the best supported value can be chosen. Signed-off-by: Dave Martin <Dave.Martin@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions