linux-stable/arch/xtensa
Max Filippov 6aaa3c2ebb xtensa: move coprocessor_flush to the .text section
commit ab5eb33641 upstream.

coprocessor_flush is not a part of fast exception handlers, but it uses
parts of fast coprocessor handling code that's why it's in the same
source file. It uses call0 opcode to invoke those parts so there are no
limitations on their relative location, but the rest of the code calls
coprocessor_flush with call8 and that doesn't work when vectors are
placed in a different gigabyte-aligned area than the rest of the kernel.

Move coprocessor_flush from the .exception.text section to the .text so
that it's reachable from the rest of the kernel with call8.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-07 15:00:09 +02:00
..
boot Kbuild updates for v5.9 2020-08-09 14:10:26 -07:00
configs xtensa: reorganize vectors placement 2020-02-04 21:57:02 -08:00
include local64.h: make <asm/local64.h> mandatory 2021-01-12 20:18:16 +01:00
kernel xtensa: move coprocessor_flush to the .text section 2021-04-07 15:00:09 +02:00
lib xtensa: propagate the calling conventions change down into csum_partial_copy_generic() 2020-08-20 15:45:21 -04:00
mm xtensa: fix uaccess-related livelock in do_page_fault 2021-04-07 15:00:09 +02:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
platforms xtensa/simdisk: remove the call to check_disk_change 2020-07-08 16:20:01 -06:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kconfig Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-22 09:59:21 -07:00
Kconfig.debug xtensa: make stack dump size configurable 2019-11-26 11:33:39 -08:00
Makefile xtensa: add XIP kernel support 2019-11-26 11:33:38 -08:00