Re: [PATCH] nx-842: Endian swap ->count before handing over to the nx-842 compressor

2015-10-31 Thread Ram Pai
On Sat, Oct 31, 2015 at 08:38:17AM -0400, Dan Streetman wrote: > On Fri, Oct 30, 2015 at 6:45 PM, Ram Pai wrote: > > The nx-842 compressor overshoots the output buffer corrupting memory. > > Verified > > that the following patch fixes the issue on a little-endian system. > > > > Signed-off-by: Ra

Re: [PATCH] nx-842: Endian swap ->count before handing over to the nx-842 compressor

2015-10-31 Thread Dan Streetman
On Fri, Oct 30, 2015 at 6:45 PM, Ram Pai wrote: > The nx-842 compressor overshoots the output buffer corrupting memory. Verified > that the following patch fixes the issue on a little-endian system. > > Signed-off-by: Ram Pai > --- > drivers/crypto/nx/nx-842-powernv.c |2 +- > 1 files change

Re: [PATCH] nx-842: Ignore bit 3 of condition register returned by icswx

2015-10-31 Thread Dan Streetman
On Fri, Oct 30, 2015 at 6:43 PM, Ram Pai wrote: > icswx occasionally under heavy load sets bit 3 of condition register 0. > It has no software implication. > > Currently that bit is interpreted by the driver as a failure, when > it should have calmly ignored it. > > Signed-off-by: Ram Pai Acked-