]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sve: Implement a helper to flush SVE registers
authorJulien Grall <julien.grall@arm.com>
Fri, 28 Aug 2020 18:11:52 +0000 (19:11 +0100)
committerWill Deacon <will@kernel.org>
Mon, 21 Sep 2020 17:06:33 +0000 (18:06 +0100)
commitfb10ae851d2d0eedc61cbebeebcd6f5e9db2fda4
tree704ec716cc72a2cdce2ef8dd0d2a3fb8c1c43868
parent923f0b3e58ecddb5ff924121789c16d8dd0fb41e
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.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/fpsimd.h
arch/arm64/include/asm/fpsimdmacros.h
arch/arm64/kernel/entry-fpsimd.S