arch/powerpc: Support Older Machine Name for LSI Axxia

Older U-Boot versions pass ibm,acpx1-4xx instead of lsi,acp.  This
commit adds support for the older name.

Signed-off-by: John Jacques <john.jacques@lsi.com>
ARM: axxia: Alloc GIC to be initialized from non-primary core

The condition to only initialize the distributor interface from the primary
core of each cluster could fail when the primary core is not started (e.g. in a
crash kernel started via kexec). In this case, the one and only CPU may be any
core in a cluster.

This change handles this by initializing the GIC distributor interface via the
first CPU calling the init function, by keeping a state which clusters have
been initialized.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
ARM: axxia: Fix release of CPUs with booted via kexec

When booting a crash kernel via kexec, the memory specified by the
cpu-release-addr property is not valid physical memory (not part of
the crash kernel reserved memory area). In this case the memory needs an
ioremap to be written.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
Signed-off-by: Fredrik Markström <fredrik.markstrom@gmail.com>
ARM: axxia: Flush L3 in kexec_reinit

Add flushing of L3 cache before turning off MMU and caches and calling the
kexec kernel using the hook kexec_reinit.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
ARM: 7815/1: kexec: offline non panic CPUs on Kdump panic

Backport of commit 4f9b4fb7a2091eec339413a460b1665758401828 of
http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

In case of normal kexec kernel load, all cpu's are offlined
before calling machine_kexec().But in case crash panic cpus
are relaxed in machine_crash_nonpanic_core() SMP function
but not offlined.

When crash kernel is loaded with kexec and on panic trigger
machine_kexec() checks for number of cpus online.
If more than one cpu is online machine_kexec() fails to load
with below error

kexec: error: multiple CPUs still online

In machine_crash_nonpanic_core() SMP function, offline CPU
before cpu_relax

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Anders Berg <anders.berg@lsi.com>