[PATCH v2 0/2] powerpc/64: More PCREL preparation

Nicholas Piggin npiggin at gmail.com
Sun Mar 26 00:24:33 AEDT 2023


Here's a couple more PCREL prerequisites I'll see if there is
any appetite to merge. These are mucking around with very early
boot which is always scary. I've definitely not tested it on
enough platform either...

After this though, PCREL enablement only requires trivial
changes to boot asm code so these would be a big step toward
that.

Thanks,
Nick

Nicholas Piggin (2):
  powerpc/64: Move initial base and TOC pointer calculation
  powerpc/64s: Run at the kernel virtual address earlier in boot

 arch/powerpc/kernel/head_64.S | 106 +++++++++++++++++++---------------
 1 file changed, 61 insertions(+), 45 deletions(-)

-- 
2.37.2



More information about the Linuxppc-dev mailing list