linux-sg2042/arch/xtensa/kernel
Max Filippov 839769c354 xtensa: fix a7 clobbering in coprocessor context load/store
Fast coprocessor exception handler saves a3..a6, but coprocessor context
load/store code uses a4..a7 as temporaries, potentially clobbering a7.
'Potentially' because coprocessor state load/store macros may not use
all four temporary registers (and neither FPU nor HiFi macros do).
Use a3..a6 as intended.

Cc: stable@vger.kernel.org
Fixes: c658eac628 ("[XTENSA] Add support for configurable registers and coprocessors")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2022-04-15 18:44:02 -07:00
..
syscalls arch: syscalls: simplify uapi/kapi directory creation 2022-03-31 12:03:46 +09:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile xtensa: make secondary reset vector support conditional 2022-03-09 16:59:18 -08:00
align.S xtensa: use register window specific opcodes only when present 2021-10-18 22:19:35 -07:00
asm-offsets.c Xtensa updates for v5.18 2022-03-25 09:49:39 -07:00
coprocessor.S xtensa: fix a7 clobbering in coprocessor context load/store 2022-04-15 18:44:02 -07:00
entry.S xtensa: clean up kernel exit assembly code 2022-03-19 13:08:41 -07:00
head.S xtensa: use register window specific opcodes only when present 2021-10-18 22:19:35 -07:00
hw_breakpoint.c xtensa: replace variant/core.h with asm/core.h 2019-05-06 17:48:55 -07:00
irq.c xtensa: Implement "current_stack_pointer" 2022-02-25 18:21:23 -08:00
jump_label.c xtensa: patch_text: Fixup last cpu should be master 2022-04-13 03:36:34 -07:00
mcount.S xtensa: implement call0 ABI support in assembly 2021-10-18 22:19:35 -07:00
module.c xtensa: clean up custom-controlled debug output 2017-12-16 22:37:08 -08:00
mxhead.S xtensa: add missing XCHAL_HAVE_WINDOWED check 2022-03-09 13:59:15 -08:00
pci-dma.c dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h> 2020-10-06 07:07:06 +02:00
pci.c xtensa: fix warning comparing pointer to 0 2021-04-04 15:39:02 -07:00
perf_event.c xtensa: fix xtensa_pmu_setup prototype 2020-07-31 14:09:12 -07:00
platform.c xtensa: drop empty platform_* functions from platforms 2020-01-31 12:17:28 -08:00
process.c xtensa: use XCHAL_NUM_AREGS as pt_regs::areg size 2022-03-07 12:02:54 -08:00
ptrace.c ptrace: Create ptrace_report_syscall_{entry,exit} in ptrace.h 2022-03-10 13:35:08 -06:00
s32c1i_selftest.c xtensa: move S32C1I self-test to a separate file 2016-11-16 15:08:28 -08:00
setup.c xtensa: make secondary reset vector support conditional 2022-03-09 16:59:18 -08:00
signal.c resume_user_mode: Move to resume_user_mode.h 2022-03-10 16:51:50 -06:00
smp.c sched/core: Initialize the idle task with preemption disabled 2021-05-12 13:01:45 +02:00
stacktrace.c arch: xtensa: Remove CONFIG_OPROFILE support 2021-01-29 10:05:51 +05:30
syscall.c xtensa: syscalls: switch to generic syscalltbl.sh 2021-04-04 15:39:03 -07:00
time.c xtensa: Replace <linux/clk-provider.h> by <linux/of_clk.h> 2020-12-07 14:01:02 -08:00
traps.c exit: Add and use make_task_dead. 2021-12-13 12:04:45 -06:00
vectors.S xtensa: rename PT_SIZE to PT_KERNEL_SIZE 2022-03-07 12:02:48 -08:00
vmlinux.lds.S xtensa: make secondary reset vector support conditional 2022-03-09 16:59:18 -08:00
xtensa_ksyms.c xtensa: don't link with libgcc 2022-03-09 14:03:23 -08:00