-
- Downloads
arm64: add support for kernel mode NEON in interrupt context
This patch modifies kernel_neon_begin() and kernel_neon_end(), so
they may be called from any context. To address the case where only
a couple of registers are needed, kernel_neon_begin_partial(u32) is
introduced which takes as a parameter the number of bottom 'n' NEON
q-registers required. To mark the end of such a partial section, the
regular kernel_neon_end() should be used.
Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org>
Showing
- arch/arm64/include/asm/fpsimd.h 15 additions, 0 deletionsarch/arm64/include/asm/fpsimd.h
- arch/arm64/include/asm/fpsimdmacros.h 35 additions, 0 deletionsarch/arm64/include/asm/fpsimdmacros.h
- arch/arm64/include/asm/neon.h 5 additions, 1 deletionarch/arm64/include/asm/neon.h
- arch/arm64/kernel/entry-fpsimd.S 24 additions, 0 deletionsarch/arm64/kernel/entry-fpsimd.S
- arch/arm64/kernel/fpsimd.c 30 additions, 14 deletionsarch/arm64/kernel/fpsimd.c
Loading
Please register or sign in to comment