summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/vmx
diff options
context:
space:
mode:
authorLeonidas Da Silva Barbosa <leosilva@linux.vnet.ibm.com>2015-08-21 17:27:43 -0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-08-24 22:07:43 +0800
commit73613a8159ddbf5a9ead0c03174458fa8210bdf7 (patch)
tree7ae3b845e7a972e97976e6348b66b6a28bc98ac8 /drivers/crypto/vmx
parent9c4f9733e26f0d6977096fcafe71ea2ba9f0cd7c (diff)
downloadlinux-73613a8159ddbf5a9ead0c03174458fa8210bdf7.tar.gz
linux-73613a8159ddbf5a9ead0c03174458fa8210bdf7.tar.bz2
linux-73613a8159ddbf5a9ead0c03174458fa8210bdf7.zip
crypto: vmx - Fixing opcode issue
In build time vadduqm opcode is not being mapped correctly. Adding a new map in ppc-xlate to do this. Signed-off-by: Leonidas S Barbosa <leosilva@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/vmx')
-rw-r--r--drivers/crypto/vmx/ppc-xlate.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/vmx/ppc-xlate.pl b/drivers/crypto/vmx/ppc-xlate.pl
index a59188494af8..b9997335f193 100644
--- a/drivers/crypto/vmx/ppc-xlate.pl
+++ b/drivers/crypto/vmx/ppc-xlate.pl
@@ -169,6 +169,7 @@ my $vpmsumd = sub { vcrypto_op(@_, 1224); };
my $vpmsubh = sub { vcrypto_op(@_, 1096); };
my $vpmsumw = sub { vcrypto_op(@_, 1160); };
my $vaddudm = sub { vcrypto_op(@_, 192); };
+my $vadduqm = sub { vcrypto_op(@_, 256); };
my $mtsle = sub {
my ($f, $arg) = @_;