[PATCH 7/11] powerpc: Fixups for kernel linked at 32 MB

Paul Mackerras paulus at samba.org
Wed Dec 7 13:57:14 EST 2005


Michael Ellerman writes:

> There's a few places where we need to fix things up for the kernel to work
> if it's linked at 32MB:
> 
>  - platforms/powermac/smp.c
>    To start secondary cpus on pmac we patch the reset vector, which is fine.
>    Except if we're above 32MB we don't have enough bits for an absolute branch,
>    it needs to relative.

A relative branch at 0x100 is only going to get 0x100 bytes further
than an absolute branch, and I don't think that's far enough.

Did you consider putting the kdump kernel at 24MB rather than 32MB?
That would solve this and other branch issues.

Paul.



More information about the Linuxppc64-dev mailing list