OSDN Git Service

powerpc/pseries: Make CPU hotplug path endian safe
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Tue, 16 Sep 2014 20:15:45 +0000 (15:15 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Oct 2014 00:25:59 +0000 (11:25 +1100)
commitd6f1e7abdb95a7ea031e7604829e4b5514d7e2c1
treedb670fc5c988288ce66ccea21343105a7c35c361
parent4ff52b4dedcd4226cf1f2817eb14e8d733790eae
powerpc/pseries: Make CPU hotplug path endian safe

- ibm,rtas-configure-connector should treat the RTAS data as big endian.
- Treat ibm,ppc-interrupt-server#s as big-endian when setting
  smp_processor_id during hotplug.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Acked-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/dlpar.c
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/pseries.h