From: Leonidas Da Silva Barbosa Date: Fri, 21 Aug 2015 20:27:43 +0000 (-0300) Subject: crypto: vmx - Fixing opcode issue X-Git-Tag: v5.15~14878^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73613a8159ddbf5a9ead0c03174458fa8210bdf7;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/vmx/ppc-xlate.pl b/drivers/crypto/vmx/ppc-xlate.pl index a591884..b999733 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) = @_;