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

Ram Pai linuxram at us.ibm.com
Tue Nov 3 05:46:19 AEDT 2015


On Mon, Nov 02, 2015 at 12:24:36PM +1100, Michael Ellerman wrote:
> On Fri, 2015-10-30 at 15:13 -0700, Ram Pai wrote:
> 
> > The nx-842 compressor overshoots the output buffer corrupting memory. Verified
> > that the following patch the issue on a LE system.
> 
> This seems like a bug fix, so it should go to stable shouldn't it? If so which
> version(s) should it apply to?
> 
> And which commit introduced the breakage? Or has it always been broken?

Mike,

	Please ignore this patch. I still run into corruption even after
	this patch.  I am looking into the issue. Will have a more
	comprehensive fix.

	BTW: it has always been broken AFAICT. I find the issue even
	with lzo software compression. So may be I am doing something
	wrong in my driver, or there is more fundamental issue. Will dig
	this further.

RP

> 
> cheers

-- 
Ram Pai



More information about the Linuxppc-dev mailing list