lsslot/drmgr: little endian support for cpu

This patch adds some support in retrieving cpu slot information
on little endian systems.  These changes have only been tested using
lsslot.  Adding or removing cpu's via drmgr has not been attempted.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
lsslot/drmgr: little endian support for memory

This patch adds some support in retrieving memory slot information
on little endian systems.  These changes have only been tested using
lsslot.  Adding or removing memory via drmgr has not been attempted.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
drmgr/lsslot: increase number of max cpu threads.

The Power8 cpu can support eight threads per cpu core.  This
patch increases the maximum number of threads from four to eight.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
nvram: Handle endianness in the nvram --unzip option.

Handle endianness of the oops log size in the --unzip
option.

Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
ppc64_cpu: Remove parameter from do_info

It is unused.

Also add a forward declaration at the top so we can call do_info in other
interesting places.

Signed-off-by: Joel Stanley <joel@jms.id.au>
ppc64_cpu: Be verbose about inconsistant SMT state

With the use of splitcore, users are more likely to end up in a strange
SMT state. Be kind and display what the online state of all our CPUs is,
and explain how to get out of this hole.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Prep for powerpc-utils-1.2.22 release.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>