arm64/sve: Implement a helper to flush SVE registers
Introduce a new helper that will zero all SVE registers but the first 128-bits of each vector. This will be used by subsequent patches to avoid costly store/maipulate/reload sequences in places like do_sve_acc(). 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-6-broonie@kernel.orgSigned-off-by:
Will Deacon <will@kernel.org>
Showing
Please register or sign in to comment