Skip to content

next batch of interrupt handler improvements

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest13 patches 1 replyIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13powerpc/64s/exception: clean up system call entryarch/powerpc/kernel/exceptions-64s.S+7 -171 reply
2/13powerpc/64s/exception: avoid SPR RAW scoreboard stall in real mode entryarch/powerpc/kernel/exceptions-64s.S+7 -70 replies
3/13powerpc/64s/exception: mtmsrd L=1 cleanuparch/powerpc/kernel/exceptions-64s.S+2 -70 replies
4/13powerpc/64s/exception: windup use r9 consistently to restore SPRsarch/powerpc/kernel/exceptions-64s.S+6 -60 replies
5/13powerpc/64s/exception: move machine check windup in_mce handlingarch/powerpc/kernel/exceptions-64s.S+4 -40 replies
6/13powerpc/64s/exception: simplify hmi windup codearch/powerpc/kernel/exceptions-64s.S+18 -40 replies
7/13powerpc/64s/exception: shuffle windup code aroundarch/powerpc/kernel/exceptions-64s.S+16 -240 replies
8/13powerpc/64s/exception: use common macro for winduparch/powerpc/kernel/exceptions-64s.S+36 -760 replies
9/13powerpc/64s/exception: add dar and dsisr options to exception macroarch/powerpc/kernel/exceptions-64s.S+45 -560 replies
10/13powerpc/64s/exception: machine check use standard macros to save dar/dsisrarch/powerpc/kernel/exceptions-64s.S+1 -50 replies
11/13powerpc/64s/exception: denorm handler use standard scratch save macroarch/powerpc/kernel/exceptions-64s.S+1 -10 replies
12/13powerpc/64s/exception: move SET_SCRATCH0 into EXCEPTION_PROLOG_0arch/powerpc/kernel/exceptions-64s.S+1 -240 replies
13/13powerpc/tm: update comment about interrupt re-entrancyarch/powerpc/kernel/tm.S+2 -20 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/13] next batch of interrupt handler improvements

This is the next set of patches after the previous 26, these change the generated code around a bit more than the first batch, but mostly fairly trivial.

End result is making exception written and generated code more common. Next steps are improvements to the "special" real mode handlers (sreset, mce, hmi) to bring them into the fold (as of now they're all doing slightly different things or the same things in different ways).

Nicholas Piggin (13):
powerpc/64s/exception: clean up system call entry powerpc/64s/exception: avoid SPR RAW scoreboard stall in real mode
entry
powerpc/64s/exception: mtmsrd L=1 cleanup powerpc/64s/exception: windup use r9 consistently to restore SPRs powerpc/64s/exception: move machine check windup in_mce handling powerpc/64s/exception: simplify hmi windup code powerpc/64s/exception: shuffle windup code around powerpc/64s/exception: use common macro for windup powerpc/64s/exception: add dar and dsisr options to exception macro powerpc/64s/exception: machine check use standard macros to save
dar/dsisr
powerpc/64s/exception: denorm handler use standard scratch save macro powerpc/64s/exception: move SET_SCRATCH0 into EXCEPTION_PROLOG_0 powerpc/tm: update comment about interrupt re-entrancy

 arch/powerpc/kernel/exceptions-64s.S | 289 ++++++++++-----------------
 arch/powerpc/kernel/tm.S             |   4 +-
 2 files changed, 103 insertions(+), 190 deletions(-)
Signature · 1 line
2.20.1