[PATCH 00/10] powerpc/64s/exception: initial reworking of
Nicholas Piggin
npiggin at gmail.com
Wed Aug 21 22:23:05 AEST 2019
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(-)
--
2.22.0
More information about the Linuxppc-dev
mailing list