summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/fsl_booke_entry_mapping.S
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior2010-04-04 22:19:01 +0200
committerKumar Gala2010-05-24 21:00:53 +0200
commit2289d2d1a8574a11e66b00c5a59090c6fc227751 (patch)
treefe4029daf1b04922b6f058a74a11240f0b9fca0e /arch/powerpc/kernel/fsl_booke_entry_mapping.S
parentpowerpc/85xx: Enable support for ports 3 and 4 on 8548 CDS (diff)
downloadkernel-qcow2-linux-2289d2d1a8574a11e66b00c5a59090c6fc227751.tar.gz
kernel-qcow2-linux-2289d2d1a8574a11e66b00c5a59090c6fc227751.tar.xz
kernel-qcow2-linux-2289d2d1a8574a11e66b00c5a59090c6fc227751.zip
powerpc/fsl-booke: fix the case where we are not in the first page
During boot we change the mapping a few times until we have a "defined" mapping. During this procedure a small 4KiB mapping is created and after that one a 64MiB. Currently the offset of the 4KiB page in that we run is zero because the complete startup up code is in first page which starts at RPN zero. If the code is recycled and moved to another location then its execution will fail because the start address in 64 MiB mapping is computed wrongly. It does not consider the offset to the page from the begin of the memory. This patch fixes this. Usually (system boot) r25 is zero so this does not change anything unless the code is recycled. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/fsl_booke_entry_mapping.S')
0 files changed, 0 insertions, 0 deletions