From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 0/2] drivers/crypto/nx: fixes when input data is too large Date: Thu, 01 Aug 2013 19:26:24 +1000 Message-ID: <1375349184.3743.73.camel@pasglop> References: <1374858488-24658-1-git-send-email-mhcerri@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org To: Marcelo Cerri Return-path: Received: from gate.crashing.org ([63.228.1.57]:47185 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751166Ab3HAJ0b (ORCPT ); Thu, 1 Aug 2013 05:26:31 -0400 In-Reply-To: <1374858488-24658-1-git-send-email-mhcerri@linux.vnet.ibm.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Fri, 2013-07-26 at 14:08 -0300, Marcelo Cerri wrote: > This series of patches fixes two bugs that are triggered when the input data is > too large. The first one is caused by the miscalculation of physical addresses > and the second one by some limits that the co-processor has to the input data. BTW. Are these supposed to go upstream via my tree or via crypto ? They are not part of my latest pull request to Linus because they were not CC'ed to linuxppc-dev so I didn't see them while collecting patches from patchwork. If you intend to have them go via the crypto tree that's fine, but if you intend to have them go via powerpc, then please resend with the correct mailing list on CC. Cheers, Ben. > Marcelo Cerri (2): > drivers/crypto/nx: fix physical addresses added to sg lists > drivers/crypto/nx: fix limits to sg lists for SHA-2 > > drivers/crypto/nx/nx-sha256.c | 108 +++++++++++++++++++++++----------------- > drivers/crypto/nx/nx-sha512.c | 113 ++++++++++++++++++++++++------------------ > drivers/crypto/nx/nx.c | 22 ++++++-- > 3 files changed, 148 insertions(+), 95 deletions(-) >