]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bd544b90069340c7d214a3b67b41b4c533be93c
treedaecab27712eeca306e75969d9d0ef988feda758
parentbc1fcec39c77cfa7e000745fbfa8577247e88499
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