lkml.org 
[lkml]   [2022]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 00/10] xtensa: support coprocessors on SMP
Date
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(-)

--
2.30.2

\
 
 \ /
  Last update: 2022-04-21 12:11    [W:0.046 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site