crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions
authorLeonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>
Mon, 13 Jul 2015 16:51:39 +0000 (13:51 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jul 2015 06:56:48 +0000 (14:56 +0800)
commit2d6f0600b2cd755959527230ef5a6fba97bb762a
treedaecab27712eeca306e75969d9d0ef988feda758
parent72cd7b44bc99376b3f3c93cedcd052663fcdf705
crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions

vmx-crypto driver make use of some VSX instructions which are
only available if VSX is enabled. Running in cases where VSX
are not enabled vmx-crypto fails in a VSX exception.

In order to fix this enable_kernel_vsx() was added to turn on
VSX instructions for vmx-crypto.

Signed-off-by: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/vmx/aes.c
drivers/crypto/vmx/aes_cbc.c
drivers/crypto/vmx/aes_ctr.c
drivers/crypto/vmx/ghash.c