[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220421101033.216394-1-jcmvbkbc@gmail.com>
Date: Thu, 21 Apr 2022 03:10:23 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: linux-xtensa@...ux-xtensa.org
Cc: Chris Zankel <chris@...kel.net>, linux-kernel@...r.kernel.org,
Max Filippov <jcmvbkbc@...il.com>
Subject: [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(-)
--
2.30.2
Powered by blists - more mailing lists