Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753064AbbFDIOn (ORCPT ); Thu, 4 Jun 2015 04:14:43 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:35912 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752919AbbFDIOa (ORCPT ); Thu, 4 Jun 2015 04:14:30 -0400 Date: Thu, 4 Jun 2015 16:14:21 +0800 From: Herbert Xu To: Dan Streetman Cc: "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: fix nx-842 pSeries driver minimum buffer size Message-ID: <20150604081421.GB23360@gondor.apana.org.au> References: <1433272930-5991-1-git-send-email-ddstreet@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433272930-5991-1-git-send-email-ddstreet@ieee.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1052 Lines: 23 On Tue, Jun 02, 2015 at 03:22:10PM -0400, Dan Streetman wrote: > Reduce the nx-842 pSeries driver minimum buffer size from 128 to 8. > Also replace the single use of IO_BUFFER_ALIGN macro with the standard > and correct DDE_BUFFER_ALIGN. > > The hw sometimes rejects buffers that contain padding past the end of the > 8-byte aligned section where it sees the "end" marker. With the minimum > buffer size set too high, some highly compressed buffers were being padded > and the hw was incorrectly rejecting them; this sets the minimum correctly > so there will be no incorrect padding. > > Signed-off-by: Dan Streetman Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/