xtensa: support coprocessors on SMP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 0 repliesNew
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- clean up exception handler prototypes
- merge SAVE_CP_REGS_TAB and LOAD_CP_REGS_TAB
- get rid of stack frame in coprocessor_flush
- document rules for coprocessor context management
- clean up context management from the LKMM point of view, introduce and document barriers
- support CPU hotplug
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | xtensa: clean up function declarations in traps.carch/ arch/ | +32 | 0 replies | |
| 2/10 | xtensa: clean up exception handler prototypesarch/ arch/ arch/ | +13 | 0 replies | |
| 3/10 | xtensa: clean up declarations in coprocessor.harch/ | +3 | 0 replies | |
| 4/10 | xtensa: clean up excsave1 initializationarch/ arch/ | +3 | 0 replies | |
| 5/10 | xtensa: use callx0 opcode in fast_coprocessorarch/ | +8 | 0 replies | |
| 6/10 | xtensa: handle coprocessor exceptions in kernel modearch/ | +1 | 0 replies | |
| 7/10 | xtensa: add xtensa_xsr macroarch/ | +7 | 0 replies | |
| 8/10 | xtensa: merge SAVE_CP_REGS_TAB and LOAD_CP_REGS_TABarch/ | +37 | 0 replies | |
| 9/10 | xtensa: get rid of stack frame in coprocessor_flusharch/ | +5 | 0 replies | |
| 10/10 | xtensa: support coprocessors on SMParch/ arch/ arch/ +8 more | +230 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/10] xtensa: support coprocessors on SMP
Hello,
this series does a bunch of small cleanups around exception and coprocessor handling code and adds coprocessors support in SMP configurations.
Changes v1->v2:
- clean up exception handler prototypes
- merge SAVE_CP_REGS_TAB and LOAD_CP_REGS_TAB
- get rid of stack frame in coprocessor_flush
- document rules for coprocessor context management
- clean up context management from the LKMM point of view, introduce and document barriers
- support CPU hotplug
Max Filippov (10):
xtensa: clean up function declarations in traps.c
xtensa: clean up exception handler prototypes
xtensa: clean up declarations in coprocessor.h
xtensa: clean up excsave1 initialization
xtensa: use callx0 opcode in fast_coprocessor
xtensa: handle coprocessor exceptions in kernel mode
xtensa: add xtensa_xsr macro
xtensa: merge SAVE_CP_REGS_TAB and LOAD_CP_REGS_TAB
xtensa: get rid of stack frame in coprocessor_flush
xtensa: support coprocessors on SMP
arch/xtensa/include/asm/coprocessor.h | 11 +- arch/xtensa/include/asm/processor.h | 7 + arch/xtensa/include/asm/thread_info.h | 7 +- arch/xtensa/include/asm/traps.h | 40 +++-- arch/xtensa/kernel/asm-offsets.c | 8 +- arch/xtensa/kernel/coprocessor.S | 230 +++++++++++++++----------- arch/xtensa/kernel/entry.S | 12 +- arch/xtensa/kernel/process.c | 112 ++++++++++--- arch/xtensa/kernel/ptrace.c | 3 +- arch/xtensa/kernel/s32c1i_selftest.c | 7 +- arch/xtensa/kernel/signal.c | 3 +- arch/xtensa/kernel/smp.c | 7 + arch/xtensa/kernel/traps.c | 69 ++++---- 13 files changed, 334 insertions(+), 182 deletions(-)
Signature · 1 line
2.30.2