arm64/sve: Track vector lengths for tasks in an array
authorMark Brown <broonie@kernel.org>
Tue, 19 Oct 2021 17:22:14 +0000 (18:22 +0100)
committerWill Deacon <will@kernel.org>
Thu, 21 Oct 2021 09:18:17 +0000 (10:18 +0100)
commit5838a155798479e3fe7e1482a31f0db657d5bbdd
treec18be9ebffb090c46147fb23c1e1e6781da9d595
parentddc806b5c4752d35bdaa4dfa2aaa72785711a3da
arm64/sve: Track vector lengths for tasks in an array

As for SVE we will track a per task SME vector length for tasks. Convert
the existing storage for the vector length into an array and update
fpsimd_flush_task() to initialise this in a function.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211019172247.3045838-10-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/processor.h
arch/arm64/include/asm/thread_info.h
arch/arm64/kernel/fpsimd.c