Skip to content

powerpc/64s/exception: initial reworking of

Nicholas Piggin linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10powerpc/64s/exception: Add ISIDE optionarch/powerpc/kernel/exceptions-64s.S+16 -70 replies
2/10powerpc/64s/exception: move real->virt switch into the common handlerarch/powerpc/include/asm/exception-64s.h arch/powerpc/kernel/exceptions-64s.S+106 -1460 replies
3/10powerpc/64s/exception: move soft-mask test to common codearch/powerpc/kernel/exceptions-64s.S+51 -570 replies
4/10powerpc/64s/exception: move KVM test to common codearch/powerpc/kernel/exceptions-64s.S arch/powerpc/kvm/book3s_hv_rmhandlers.S arch/powerpc/kvm/book3s_segment.S+115 -1380 replies
5/10powerpc/64s/exception: remove confusing IEARLY optionarch/powerpc/kernel/exceptions-64s.S+24 -240 replies
6/10powerpc/64s/exception: remove the SPR saving patch code macrosarch/powerpc/kernel/exceptions-64s.S+28 -540 replies
7/10powerpc/64s/exception: trim unused arguments from KVMTEST macroarch/powerpc/kernel/exceptions-64s.S+5 -50 replies
8/10powerpc/64s/exception: hdecrementer avoid touching the stackarch/powerpc/include/asm/time.h arch/powerpc/kernel/exceptions-64s.S arch/powerpc/kernel/time.c+20 -150 replies
9/10powerpc/64s/exception: re-inline some handlersarch/powerpc/kernel/exceptions-64s.S+3 -30 replies
10/10powerpc/64s/exception: add more comments for interrupt handlersarch/powerpc/kernel/exceptions-64s.S+369 -390 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] powerpc/64s/exception: initial reworking of

This applies on top of the previous exception series.

Until now the focus was on making the code generation macros sane, ironing out irregularities and needless differences in handlers, and sharing code. Some change of generated code was required, but minimised as much as possible.

This series begins to change generated code in a bigger way. This is an assortment of changes, one of the big goals goals is really moving code and especially branches and logic and conditional compilation out of "unrelocated" interrupt entry points, with the hope of making KASLR more effective when it is implemented.

After this is a more significant rework of the instruction sequences with the aim of improving performance, but I will stop here for the next merge window.

Thanks,
Nick

Nicholas Piggin (10):
powerpc/64s/exception: Add ISIDE option powerpc/64s/exception: move real->virt switch into the common handler powerpc/64s/exception: move soft-mask test to common code powerpc/64s/exception: move KVM test to common code powerpc/64s/exception: remove confusing IEARLY option powerpc/64s/exception: remove the SPR saving patch code macros powerpc/64s/exception: trim unused arguments from KVMTEST macro powerpc/64s/exception: hdecrementer avoid touching the stack powerpc/64s/exception: re-inline some handlers powerpc/64s/exception: add more comments for interrupt handlers

 arch/powerpc/include/asm/exception-64s.h |    4 -
 arch/powerpc/include/asm/time.h          |    1 -
 arch/powerpc/kernel/exceptions-64s.S     | 1151 ++++++++++++++--------
 arch/powerpc/kernel/time.c               |    9 -
 arch/powerpc/kvm/book3s_hv_rmhandlers.S  |   11 -
 arch/powerpc/kvm/book3s_segment.S        |    7 -
 6 files changed, 716 insertions(+), 467 deletions(-)
Signature · 1 line
2.22.0