linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fixing opcode issue on vmx-crypto
@ 2015-08-21 20:27 Leonidas S Barbosa
  2015-08-24 14:14 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Leonidas S Barbosa @ 2015-08-21 20:27 UTC (permalink / raw)
  To: linux-crypto, Herbert Xu
  Cc: LKML, Paulo Smorigo, David S. Miller, linux-next, Paul Gortmaker


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(+)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fixing opcode issue on vmx-crypto
  2015-08-21 20:27 [PATCH] Fixing opcode issue on vmx-crypto Leonidas S Barbosa
@ 2015-08-24 14:14 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2015-08-24 14:14 UTC (permalink / raw)
  To: Leonidas S Barbosa
  Cc: linux-crypto, LKML, Paulo Smorigo, David S. Miller, linux-next,
	Paul Gortmaker

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.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-24 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21 20:27 [PATCH] Fixing opcode issue on vmx-crypto Leonidas S Barbosa
2015-08-24 14:14 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).