mbox series

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

Message ID 20230325132435.2459170-1-npiggin@gmail.com (mailing list archive)
Headers show
Series powerpc/64: More PCREL preparation | expand

Message

Nicholas Piggin March 25, 2023, 1:24 p.m. UTC
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(-)