[PULL 00/25] Xtensa updates for v4.21

From: Max Filippov
Date: Fri Dec 28 2018 - 13:31:45 EST


Hi Linus,

please pull the following batch of updates for the Xtensa architecture.

The following changes since commit 2595646791c319cadfdbf271563aac97d0843dc7:

Linux 4.20-rc5 (2018-12-02 15:07:55 -0800)

are available in the git repository at:

git://github.com/jcmvbkbc/linux-xtensa.git tags/xtensa-20181228

for you to fetch changes up to 64711f9a47d4defa90417f5e8db8ed0060bc3275:

xtensa: implement jump_label support (2018-12-20 14:44:38 -0800)

----------------------------------------------------------------
Xtensa updates for v4.21:

- switch to generated syscall table
- switch ptrace to regsets, use regsets for core dumps
- complete tracehook implementation
- add syscall tracepoints support
- add jumplabels support
- add memtest support
- drop unused/duplicated code from entry.S, ptrace.c, coprocessor.S,
elf.h and syscall.h
- clean up warnings caused by WSR/RSR macros
- clean up DTC warnings about SPI controller node names in xtfpga.dtsi
- simplify coprocessor.S
- get rid of explicit 'l32r' instruction usage in assembly

----------------------------------------------------------------
Dmitry V. Levin (2):
Move EM_XTENSA to uapi/linux/elf-em.h
xtensa: define syscall_get_arch()

Firoz Khan (3):
xtensa: add __NR_syscalls along with __NR_syscall_count
xtensa: add system call table generation support
xtensa: generate uapi header and syscall table header files

Max Filippov (20):
xtensa: drop fast_syscall_kernel
xtensa: drop unused field from the struct exc_table
xtensa: drop custom PTRACE_{PEEK,POKE}{TEXT,DATA}
xtensa: drop unused coprocessor helper functions
xtensa: clean up syscall.h
xtensa: drop unused declarations from elf.h
xtensa: clean up WSR*/RSR*/get_sr/set_sr
xtensa: simplify coprocessor.S
xtensa: don't clear cpenable unconditionally on release
xtensa: xtfpga.dtsi: fix dtc warnings about SPI
xtensa: don't use l32r opcode directly
xtensa: support memtest
xtensa: use NO_SYSCALL instead of -1
xtensa: call do_syscall_trace_{enter,leave} selectively
xtensa: implement task_user_regset_view
xtensa: implement TIE regset
xtensa: enable CORE_DUMP_USE_REGSET
xtensa: implement tracehook functions and enable HAVE_ARCH_TRACEHOOK
xtensa: implement syscall tracepoints
xtensa: implement jump_label support

.../features/core/jump-labels/arch-support.txt | 2 +-
arch/xtensa/Kconfig | 3 +
arch/xtensa/Makefile | 3 +
arch/xtensa/boot/boot-elf/bootstrap.S | 29 +-
arch/xtensa/boot/dts/xtfpga.dtsi | 2 +-
arch/xtensa/include/asm/Kbuild | 1 +
arch/xtensa/include/asm/coprocessor.h | 23 -
arch/xtensa/include/asm/elf.h | 33 +-
arch/xtensa/include/asm/futex.h | 8 +-
arch/xtensa/include/asm/irqflags.h | 1 +
arch/xtensa/include/asm/jump_label.h | 65 ++
arch/xtensa/include/asm/processor.h | 18 +-
arch/xtensa/include/asm/ptrace.h | 7 +
arch/xtensa/include/asm/syscall.h | 109 ++-
arch/xtensa/include/asm/thread_info.h | 9 +-
arch/xtensa/include/asm/timex.h | 18 +-
arch/xtensa/include/asm/traps.h | 2 -
arch/xtensa/include/asm/uaccess.h | 10 +-
arch/xtensa/include/asm/unistd.h | 2 +
arch/xtensa/include/uapi/asm/Kbuild | 1 +
arch/xtensa/include/uapi/asm/ptrace.h | 20 +-
arch/xtensa/include/uapi/asm/unistd.h | 781 +--------------------
arch/xtensa/kernel/Makefile | 1 +
arch/xtensa/kernel/asm-offsets.c | 2 -
arch/xtensa/kernel/coprocessor.S | 102 +--
arch/xtensa/kernel/entry.S | 45 +-
arch/xtensa/kernel/head.S | 8 +-
arch/xtensa/kernel/hw_breakpoint.c | 21 +-
arch/xtensa/kernel/jump_label.c | 99 +++
arch/xtensa/kernel/process.c | 55 +-
arch/xtensa/kernel/ptrace.c | 353 ++++++----
arch/xtensa/kernel/setup.c | 8 +-
arch/xtensa/kernel/signal.c | 8 +-
arch/xtensa/kernel/syscall.c | 11 +-
arch/xtensa/kernel/syscalls/Makefile | 38 +
arch/xtensa/kernel/syscalls/syscall.tbl | 374 ++++++++++
arch/xtensa/kernel/syscalls/syscallhdr.sh | 36 +
arch/xtensa/kernel/syscalls/syscalltbl.sh | 32 +
arch/xtensa/kernel/traps.c | 10 +-
arch/xtensa/mm/init.c | 3 +
drivers/irqchip/irq-xtensa-mx.c | 10 +-
drivers/irqchip/irq-xtensa-pic.c | 8 +-
include/uapi/linux/audit.h | 1 +
include/uapi/linux/elf-em.h | 1 +
44 files changed, 1117 insertions(+), 1256 deletions(-)
create mode 100644 arch/xtensa/include/asm/jump_label.h
create mode 100644 arch/xtensa/kernel/jump_label.c
create mode 100644 arch/xtensa/kernel/syscalls/Makefile
create mode 100644 arch/xtensa/kernel/syscalls/syscall.tbl
create mode 100644 arch/xtensa/kernel/syscalls/syscallhdr.sh
create mode 100644 arch/xtensa/kernel/syscalls/syscalltbl.sh

Thanks.
-- Max