linux/arch/ppc/kernel
Michael Ellerman 3d1229d6ae [PATCH] powerpc: Merge kexec
This patch merges, to some extent, the PPC32 and PPC64 kexec implementations.

We adopt the PPC32 approach of having ppc_md callbacks for the kexec functions.
The current PPC64 implementation becomes the "default" implementation for PPC64
which platforms can select if they need no special treatment.

I've added these default callbacks to pseries/maple/cell/powermac, this means
iSeries no longer supports kexec - but it never worked anyway.

I've renamed PPC32's machine_kexec_simple to default_machine_kexec, inline with
PPC64. Judging by the comments it might be better named machine_kexec_non_of,
or something, but at the moment it's the only implementation for PPC32 so it's
the "default".

Kexec requires machine_shutdown(), which is in machine_kexec.c on PPC32, but we
already have in setup-common.c on powerpc. All this does is call
ppc_md.nvram_sync, which only powermac implements, so instead make
machine_shutdown a ppc_md member and have it call core99_nvram_sync directly
on powermac.

I've also stuck relocate_kernel.S into misc_32.S for powerpc.

Built for ARCH=ppc, and 32 & 64 bit ARCH=powerpc, with KEXEC=y/n. Booted on
P5 LPAR and successfully kexec'ed.

Should apply on top of 493f25ef40.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 14:48:52 +11:00
..
asm-offsets.c powerpc: Fix some compile problems with the VDSO stuff 2005-11-11 23:04:40 +11:00
cpu_setup_6xx.S
cpu_setup_power4.S
dma-mapping.c
entry.S
head_4xx.S
head_8xx.S
head_44x.S [PATCH] ppc32: Allow ERPN for early serial to depend on CPU type 2005-11-07 07:53:26 -08:00
head_booke.h [PATCH] ppc32: fix ppc44x fpu build 2005-11-10 11:24:06 +11:00
head_fsl_booke.S [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
head.S
idle_6xx.S
idle_power4.S
idle.c [PATCH] arch/ppc/kernel/idle.c: don't declare cpu variable in non-SMP kernels 2006-01-06 08:33:30 -08:00
l2cr.S
machine_kexec.c powerpc: Merge asm-ppc/kexec.h and asm-ppc64/kexec.h 2005-11-03 15:35:45 +11:00
Makefile [PATCH] powerpc: Merge kexec 2006-01-09 14:48:52 +11:00
misc.S [PATCH] powerpc: Merge cacheflush.h and cache.h 2005-11-10 13:09:22 +11:00
module.c
pci.c powerpc: Fix a couple of compile warnings for 32-bit compiles 2005-11-18 15:54:12 +11:00
perfmon_fsl_booke.c
ppc_htab.c
ppc_ksyms.c [PATCH] PPC_PREP: remove unneeded exports 2006-01-09 14:48:47 +11:00
ppc-stub.c
process.c [PATCH] ppc: fix floating point register corruption 2005-11-29 19:47:03 -08:00
relocate_kernel.S
rio.c [PATCH] RapidIO support: ppc32 2005-11-07 07:53:47 -08:00
semaphore.c
setup.c [PATCH] ppc: Fix boot with yaboot with ARCH=ppc 2005-11-16 13:51:58 +11:00
smp-tbsync.c
smp.c [PATCH] ppc32: set smp_tb_synchronized on UP with SMP kernel 2005-12-12 14:26:39 +11:00
softemu8xx.c
swsusp.S
temp.c
time.c Merge ../linux-2.6 by hand 2005-10-31 13:37:12 +11:00
traps.c [PATCH] ppc: Fix ARCH=ppc build with xmon 2005-11-08 11:19:48 +11:00
vmlinux.lds.S