[PATCH] powerpc/64s: Make prom_init require RELOCATABLE
Michael Ellerman
patch-notifications at ellerman.id.au
Sat Jun 26 20:37:24 AEST 2021
On Wed, 23 Jun 2021 23:04:54 +1000, Michael Ellerman wrote:
> When we boot from open firmware (OF) using PPC_OF_BOOT_TRAMPOLINE, aka.
> prom_init, we run parts of the kernel at an address other than the link
> address. That happens because OF loads the kernel above zero (OF is at
> zero) and we run prom_init before copying the kernel down to zero.
>
> Currently that works even for non-relocatable kernels, because we do
> various fixups to the prom_init code to make it run where it's loaded.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64s: Make prom_init require RELOCATABLE
https://git.kernel.org/powerpc/c/24d33ac5b8ffb7a0e697344fea8591376162548f
cheers
More information about the Linuxppc-dev
mailing list