1
0
Fork 0
alistair23-linux/arch/powerpc/crypto
Anton Blanchard dc4fbba11e powerpc: Create disable_kernel_{fp,altivec,vsx,spe}()
The enable_kernel_*() functions leave the relevant MSR bits enabled
until we exit the kernel sometime later. Create disable versions
that wrap the kernel use of FP, Altivec VSX or SPE.

While we don't want to disable it normally for performance reasons
(MSR writes are slow), it will be used for a debug boot option that
does this and catches bad uses in other areas of the kernel.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-12-01 13:52:25 +11:00
..
Makefile crypto: powerpc - move files to fix build error 2015-03-09 21:06:19 +11:00
aes-spe-core.S crypto: powerpc/aes - assembler core 2015-03-01 23:02:28 +13:00
aes-spe-glue.c powerpc: Create disable_kernel_{fp,altivec,vsx,spe}() 2015-12-01 13:52:25 +11:00
aes-spe-keys.S crypto: powerpc/aes - key handling 2015-03-01 23:02:28 +13:00
aes-spe-modes.S crypto: powerpc/aes - ECB/CBC/CTR/XTS modes 2015-03-01 23:02:28 +13:00
aes-spe-regs.h crypto: powerpc/aes - register defines 2015-03-01 23:02:27 +13:00
aes-tab-4k.S crypto: powerpc/aes - aes tables 2015-03-01 23:02:27 +13:00
md5-asm.S crypto: powerpc/md5 - assembler 2015-03-04 22:12:40 +13:00
md5-glue.c crypto: powerpc/md5 - use md5 IV MD5_HX instead of their raw value 2015-05-18 12:20:20 +08:00
sha1-powerpc-asm.S powerpc: Fix compile of sha1-powerpc-asm.S on 32-bit 2013-03-05 16:56:26 +11:00
sha1-spe-asm.S crypto: powerpc - move files to fix build error 2015-03-09 21:06:19 +11:00
sha1-spe-glue.c powerpc: Create disable_kernel_{fp,altivec,vsx,spe}() 2015-12-01 13:52:25 +11:00
sha1.c crypto: add missing crypto module aliases 2015-01-13 22:29:11 +11:00
sha256-spe-asm.S crypto: ppc/sha256 - assembler 2015-02-27 22:48:45 +13:00
sha256-spe-glue.c powerpc: Create disable_kernel_{fp,altivec,vsx,spe}() 2015-12-01 13:52:25 +11:00