Skip to contentSkip to conversation

xtensa updates for v5.19

GIT PULL Merged Max Filippov 2 participants 2 messages May 23, 2022 – May 24, 2022

lore
Share & tools
lore
#0 lore raw

Hi Linus,

please pull the following updates for the xtensa architecture.

The following changes since commit 672c0c5173427e6b3e2a9bbb7be51ceeec78093a:

Linux 5.18-rc5 (2022-05-01 13:57:58 -0700)

are available in the Git repository at:

https://github.com/jcmvbkbc/linux-xtensa.git tags/xtensa-20220523

for you to fetch changes up to dc60001e1a305ad8bba1ddaf09484e0e150aba60:

xtensa: Return true/false (not 1/0) from bool function (2022-05-23 00:33:05 -0700)

----------------------------------------------------------------
Xtensa updates for v5.19

- support coprocessors on SMP
- support KCSAN
- support handling protection faults in noMMU configurations
- support using coprocessors in the kernel mode
- support hibernation
- enable context tracking
- enable HAVE_VIRT_CPU_ACCOUNTING_GEN
- support division by 0 exception on cores without HW division option
- clean up locking in the ISS network driver
- clean up kernel entry assemly code
- various minor fixes

----------------------------------------------------------------
Jason Wang (1):
xtensa: no need to initialise statics to 0

Max Filippov (33):
xtensa: localize labels used in memmove
xtensa: iss: drop opened_list logic from the network driver
xtensa: iss: replace iss_net_set_mac with eth_mac_addr
xtensa: iss: clean up per-device locking in network driver
xtensa: iss: extract and constify network callbacks
xtensa: move asid_cache from fault.c to mmu.c
xtensa: extract vmalloc_fault code into a function
xtensa: noMMU: allow handling protection faults
xtensa: drop dead code from entry.S
xtensa: move trace_hardirqs_off call back to entry.S
xtensa: use abi_* register names in the kernel exit code
xtensa: enable context tracking
xtensa: enable HAVE_VIRT_CPU_ACCOUNTING_GEN
xtensa: enable KCSAN
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
xtensa: add hibernation support
xtensa: enable ARCH_HAS_DEBUG_VM_PGTABLE
irqchip: irq-xtensa-mx: fix initial IRQ affinity
xtensa: fix declaration of _SecondaryResetVector_text_*
xtensa: don't leave invalid TLB entry in fast_store_prohibited
xtensa: clean up labels in the kernel entry assembly
xtensa: add trap handler for division by zero
xtensa: support artificial division by 0 exception
xtensa: improve call0 ABI probing

Yang Li (1):
xtensa: Return true/false (not 1/0) from bool function

Yi Yang (1):
xtensa/simdisk: fix proc_read_simdisk()

 .../debug/debug-vm-pgtable/arch-support.txt        |   2 +-
 .../time/context-tracking/arch-support.txt         |   2 +-
 .../features/time/virt-cpuacct/arch-support.txt    |   2 +-
 arch/xtensa/Kconfig                                |  18 ++
 arch/xtensa/boot/lib/Makefile                      |   1 +
 arch/xtensa/include/asm/barrier.h                  |  12 +-
 arch/xtensa/include/asm/bitops.h                   |  10 +-
 arch/xtensa/include/asm/coprocessor.h              |  11 +-
 arch/xtensa/include/asm/processor.h                |   7 +
 arch/xtensa/include/asm/sections.h                 |   2 +-
 arch/xtensa/include/asm/thread_info.h              |  11 +-
 arch/xtensa/include/asm/traps.h                    |  40 ++-
 arch/xtensa/kernel/Makefile                        |   1 +
 arch/xtensa/kernel/asm-offsets.c                   |  19 +-
 arch/xtensa/kernel/coprocessor.S                   | 230 ++++++++------
 arch/xtensa/kernel/entry.S                         | 335 ++++++++++++++-------
 arch/xtensa/kernel/hibernate.c                     |  25 ++
 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                         | 143 +++++----
 arch/xtensa/lib/Makefile                           |   2 +
 arch/xtensa/lib/kcsan-stubs.c                      |  54 ++++
 arch/xtensa/lib/memcopy.S                          |  20 +-
 arch/xtensa/mm/Makefile                            |   3 +-
 arch/xtensa/mm/fault.c                             | 112 +++----
 arch/xtensa/mm/mmu.c                               |   2 +
 arch/xtensa/platforms/iss/network.c                | 150 ++++-----
 arch/xtensa/platforms/iss/simdisk.c                |  18 +-
 arch/xtensa/platforms/xt2000/setup.c               |   2 +-
 drivers/irqchip/irq-xtensa-mx.c                    |  18 +-
 33 files changed, 896 insertions(+), 488 deletions(-)
 create mode 100644 arch/xtensa/kernel/hibernate.c
 create mode 100644 arch/xtensa/lib/kcsan-stubs.c
Signature · 2 lines
Thanks.
-- Max