]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Revert CHRP boot wrapper to real-base = 12MB on 32-bit
authorPaul Mackerras <paulus@samba.org>
Mon, 20 Oct 2008 17:42:42 +0000 (17:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 21 Oct 2008 04:19:13 +0000 (15:19 +1100)
commit504d033b7a06d5f7ba67a0159842450b71fba65e
tree138849b6a25f3d185b59f8de15937d43a30a97ba
parent9b11079a9133a8aab77ee023a1c76de0a7321b53
powerpc: Revert CHRP boot wrapper to real-base = 12MB on 32-bit

Commit a1b430f4cc294ed0cecb87ffa0d41885f3b5cce9 ("powerpc: Change the
default link address for pSeries zImage kernels") changed the
real-base value in the CHRP note added by addnote to the zImage from
12MB to 32MB.  It turns out that this causes unnecessary extra reboots
on old 32-bit CHRP machines.  This therefore adds a -r flag to addnote
to allow us to specify what real-base value it should put in the CHRP
note, and adjusts the wrapper script to pass -r c00000 to addnote when
making a zImage for a CHRP machine.  Also, CHRP machines ignore the
RPA note, so we don't need to arrange for it to be the same as the
kernel's.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/addnote.c
arch/powerpc/boot/wrapper