Skip to content

Reduce PACA save areas

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9powerpc/64s: slb_allocate_realmode() preserve r3arch/powerpc/mm/slb_low.S+14 -101 reply
2/9powerpc/64s: SLB miss handler avoid saving faulting address into EX_DARarch/powerpc/kernel/exceptions-64s.S+8 -50 replies
3/9powerpc/64s: SLB miss already has CTR saved for relocatable kernelarch/powerpc/kernel/exceptions-64s.S+5 -82 replies
4/9powerpc/64s: SLB miss handler avoid r3 save/restorearch/powerpc/kernel/exceptions-64s.S+18 -162 replies
5/9powerpc/64s: paca add EX_SIZE definition for exception save areasarch/powerpc/include/asm/exception-64s.h arch/powerpc/include/asm/paca.h+27 -150 replies
6/9powerpc/64s: paca EX_SRR0 is unused, remove itarch/powerpc/include/asm/exception-64s.h+10 -110 replies
7/9powerpc/64s: paca EX_LR can be merged with EX_DARarch/powerpc/include/asm/exception-64s.h+12 -50 replies
8/9powerpc/64s: paca EX_R3 can be merged with EX_DARarch/powerpc/include/asm/exception-64s.h+11 -50 replies
9/9powerpc/64s: paca EX_CTR is not used with !RELOCATABLE, remove itarch/powerpc/include/asm/exception-64s.h+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Reduce PACA save areas

I want to save another register in the PACA, so I had a look at what we might cut from it first. 3-4 fields are reasonably easy to remove.

Nicholas Piggin (9):
powerpc/64s: slb_allocate_realmode() preserve r3 powerpc/64s: SLB miss handler avoid saving faulting address into
EX_DAR
powerpc/64s: SLB miss already has CTR saved for relocatable kernel powerpc/64s: SLB miss handler avoid r3 save/restore powerpc/64s: paca add EX_SIZE definition for exception save areas powerpc/64s: paca EX_SRR0 is unused, remove it powerpc/64s: paca EX_LR can be merged with EX_DAR powerpc/64s: paca EX_R3 can be merged with EX_DAR powerpc/64s: paca EX_CTR is not used with !RELOCATABLE, remove it

 arch/powerpc/include/asm/exception-64s.h | 53 ++++++++++++++++++++++---------
 arch/powerpc/include/asm/paca.h          | 12 ++++---
 arch/powerpc/kernel/exceptions-64s.S     | 54 +++++++++++++++++---------------
 arch/powerpc/mm/slb_low.S                | 24 ++++++++------
 4 files changed, 88 insertions(+), 55 deletions(-)
Signature · 1 line
2.11.0