Re: [PATCH] powerpc/powernv: Fix endian issues in memory error handling code

2014-06-06 Thread Mahesh J Salgaonkar
On 2014-06-04 14:48:48 Wed, Anton Blanchard wrote: > struct OpalMemoryErrorData is passed to us from firmware, so we > have to byteswap it. > > Signed-off-by: Anton Blanchard Tested-by: Mahesh Salgaonkar > --- > > Having enums in a firmware interface concerns me, but that cleanup > can be in

[PATCH] powerpc/powernv: Fix endian issues in memory error handling code

2014-06-03 Thread Anton Blanchard
struct OpalMemoryErrorData is passed to us from firmware, so we have to byteswap it. Signed-off-by: Anton Blanchard --- Having enums in a firmware interface concerns me, but that cleanup can be in a subsequent patch. Mahesh, could you give this a test to see if it works? Index: b/arch/powerpc/