Re: [PATCH v2 2/2] pseries: Fix endian issues in cpu hot-removal

2014-09-16 Thread Michael Ellerman
On Mon, 2014-09-15 at 12:16 +0530, Bharata B Rao wrote: > On Sat, Sep 13, 2014 at 12:41 AM, Thomas Falcon > wrote: > > > > diff --git a/arch/powerpc/platforms/pseries/dlpar.c > > b/arch/powerpc/platforms/pseries/dlpar.c > > index 9e9f30b2..343dfdf 100644 > > --- a/arch/powerpc/platforms/pseries/d

Re: [PATCH v2 2/2] pseries: Fix endian issues in cpu hot-removal

2014-09-14 Thread Bharata B Rao
On Sat, Sep 13, 2014 at 12:41 AM, Thomas Falcon wrote: > When removing a cpu, this patch makes sure that values > gotten from or passed to firmware are in the correct > endian format. > > Signed-off-by: Thomas Falcon > --- > Changes in v2: > > Followed suggestions from Michael Ellerman: >Con

[PATCH v2 2/2] pseries: Fix endian issues in cpu hot-removal

2014-09-12 Thread Thomas Falcon
When removing a cpu, this patch makes sure that values gotten from or passed to firmware are in the correct endian format. Signed-off-by: Thomas Falcon --- Changes in v2: Followed suggestions from Michael Ellerman: Conversion of intserv to cpu endian occurs once. Conversion of drc_index t