Thread (2 messages) 2 messages, 2 authors, 2021-06-26

Re: [PATCH] powerpc/64s: Make prom_init require RELOCATABLE

flat view

From: Michael Ellerman <hidden>
Date: 2021-06-26 10:42:09

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help