[POWERPC] 85xx: Respect KERNELBASE, PAGE_OFFSET, and PHYSICAL_START on e500
authorDale Farnsworth <dale@farnsworth.org>
Thu, 22 Nov 2007 15:46:20 +0000 (08:46 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 24 Jan 2008 01:34:36 +0000 (19:34 -0600)
commite8b63761554aca641bd9020447d487bfd85111bf
tree7cd22409d58839e6a9d7302630c8c15c38c619c5
parent6c7e072b1682eeb7c17ed5fdec0672fcf3ccb205
[POWERPC] 85xx: Respect KERNELBASE, PAGE_OFFSET, and PHYSICAL_START on e500

The e500 MMU init code previously assumed KERNELBASE always equaled
PAGE_OFFSET and PHYSICAL_START was 0.  This is useful for kdump
support as well as asymetric multicore.

For the initial kdump support the secondary kernel will run at 32M
but need access to all of memory so we bump the initial TLB up to
64M.  This also matches with the forth coming ePAPR spec.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/mm/fsl_booke_mmu.c