diff options
author | Julien Grall <julien.grall@arm.com> | 2020-08-28 19:11:53 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-21 18:06:33 +0100 |
commit | 9c4b4c701e53183df94f6b9802b63762f0c0e1e3 (patch) | |
tree | 2e91c9e01c34d0a85c73e18ef31761ab86af5ec0 /arch/arm64/kernel/vdso.c | |
parent | 1e530f1352a2709d7bcacdb8b6d42c8900ba2c80 (diff) |
arm64/sve: Implement a helper to load SVE registers from FPSIMD state
In a follow-up patch, we may save the FPSIMD rather than the full SVE
state when the state has to be zeroed on return to userspace (e.g
during a syscall).
Introduce an helper to load SVE vectors from FPSIMD state and zero the rest
of SVE registers.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20200828181155.17745-7-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/vdso.c')
0 files changed, 0 insertions, 0 deletions