android_kernel_oneplus_msm8998/arch/xtensa
Max Filippov 327242a4bc xtensa: fix coprocessor context offset definitions
commit 03bc996af0cc71c7f30c384d8ce7260172423b34 upstream.

Coprocessor context offsets are used by the assembly code that moves
coprocessor context between the individual fields of the
thread_info::xtregs_cp structure and coprocessor registers.
This fixes coprocessor context clobbering on flushing and reloading
during normal user code execution and user process debugging in the
presence of more than one coprocessor in the core configuration.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-13 09:21:26 +01:00
..
boot xtensa: add NOTES section to the linker script 2018-11-21 09:27:41 +01:00
configs Xtensa patchset for 4.4 2015-11-09 16:32:13 -08:00
include xtensa: make sure bFLT stack is 16 byte aligned 2018-11-21 09:27:41 +01:00
kernel xtensa: fix coprocessor context offset definitions 2018-12-13 09:21:26 +01:00
lib xtensa: fixes for configs without loop option 2015-11-02 18:02:47 +03:00
mm xtensa: fix preemption in {clear,copy}_user_highpage 2016-04-12 09:08:55 -07:00
oprofile xtensa: move oprofile stack tracing to stacktrace.c 2015-08-17 07:32:49 +03:00
platforms xtensa: don't use linux IRQ #0 2017-06-17 06:39:38 +02:00
variants xtensa: add de212 core variant 2015-11-02 18:03:09 +03:00
Kconfig xtensa: add FORCE_MAX_ZONEORDER to Kconfig 2015-11-03 17:19:37 +03:00
Kconfig.debug xtensa: disable link optimization 2014-12-15 23:47:24 -08:00
Makefile xtensa: enable building of all dtbs 2015-10-27 16:12:16 -05:00