android_kernel_motorola_sm6375/arch/xtensa
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max Filippov d24e0d9d69 xtensa: fix a7 clobbering in coprocessor context load/store
commit 839769c35477d4acc2369e45000ca7b0b6af39a7 upstream.

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: [email protected]
Fixes: c658eac628 ("[XTENSA] Add support for configurable registers and coprocessors")
Signed-off-by: Max Filippov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-04-27 13:50:49 +02:00
..
boot xtensa: fix DTC warning unit_address_format 2022-04-15 14:18:34 +02:00
configs
include xtensa: fix xtensa_wsr always writing 0 2022-04-15 14:18:03 +02:00
kernel xtensa: fix a7 clobbering in coprocessor context load/store 2022-04-27 13:50:49 +02:00
lib
mm xtensa: use CONFIG_USE_OF instead of CONFIG_OF 2021-10-13 10:08:18 +02:00
oprofile
platforms xtensa: xtfpga: Try software restart before simulating CPU reset 2021-10-27 09:54:25 +02:00
variants
Kconfig xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG 2021-09-12 08:56:39 +02:00
Kconfig.debug
Makefile