diff mbox

Fixing opcode issue on vmx-crypto

Message ID 20150821202740.GA25407@bluepex.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Leonidas Da Silva Barbosa Aug. 21, 2015, 8:27 p.m. UTC
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>
---
 drivers/crypto/vmx/ppc-xlate.pl | 1 +
 1 file changed, 1 insertion(+)

--
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Herbert Xu Aug. 24, 2015, 2:14 p.m. UTC | #1
On Fri, Aug 21, 2015 at 05:27:43PM -0300, Leonidas S Barbosa wrote:
> 
> 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>

Applied.
diff mbox

Patch

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) = @_;