Skip to content

Rewrite ARCv2 interrupt/expecption entry code

Vineet Gupta linux-snps-arc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARCv2: entry: comments about hardware auto-save on taken interruptsarch/arc/include/asm/entry-arcv2.h+62 -160 replies
2/5ARCv2: entry: push out the Z flag unclobber from common EXCEPTION_PROLOGUEarch/arc/include/asm/entry-arcv2.h arch/arc/mm/tlbex.S+11 -80 replies
3/5ARCv2: entry: avoid a brancharch/arc/include/asm/entry-arcv2.h+2 -30 replies
4/5ARCv2: entry: rewrite to enable use of double load/stores LDD/STDarch/arc/include/asm/entry-arcv2.h arch/arc/include/asm/linkage.h arch/arc/kernel/asm-offsets.c +1 more+167 -1590 replies
5/5ARC: entry: EV_Trap expects r10 (vs. r9) to have exception causearch/arc/include/asm/entry-arcv2.h arch/arc/include/asm/entry-compact.h arch/arc/kernel/entry.S+5 -60 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/5] Rewrite ARCv2 interrupt/expecption entry code

This was along pending todo item to remove the copy-paste from NO_AUTOSAVE support as well use LDD/STD instructions for better generated code.

Thx,
-Vineet

Vineet Gupta (5):
ARCv2: entry: comments about hardware auto-save on taken interrupts
ARCv2: entry: push out the Z flag unclobber from common
EXCEPTION_PROLOGUE
ARCv2: entry: avoid a branch
ARCv2: entry: rewrite to enable use of double load/stores LDD/STD
ARC: entry: EV_Trap expects r10 (vs. r9) to have exception cause

 arch/arc/include/asm/entry-arcv2.h   | 361 ++++++++++++++++++-----------------
 arch/arc/include/asm/entry-compact.h |   4 +-
 arch/arc/include/asm/linkage.h       |  18 ++
 arch/arc/kernel/asm-offsets.c        |   7 +
 arch/arc/kernel/entry-arcv2.S        |   4 +-
 arch/arc/kernel/entry.S              |   4 +-
 arch/arc/mm/tlbex.S                  |  11 ++
 7 files changed, 232 insertions(+), 177 deletions(-)
Signature · 1 line
2.7.4