android_kernel_sony_sdm845/arch/xtensa
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Max Filippov 1e4f2b3634 xtensa: fix TLB sanity checker
commit 36de10c4788efc6efe6ff9aa10d38cb7eea4c818 upstream.

Virtual and translated addresses retrieved by the xtensa TLB sanity
checker must be consistent, i.e. correspond to the same state of the
checked TLB entry. KASAN shadow memory is mapped dynamically using
auto-refill TLB entries and thus may change TLB state between the
virtual and translated address retrieval, resulting in false TLB
insanity report.
Move read_xtlb_translation close to read_xtlb_virtual to make sure that
read values are consistent.

Cc: stable@vger.kernel.org
Fixes: a99e07ee5e ("xtensa: check TLB sanity on return to userspace")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-21 10:42:30 +01:00
..
boot xtensa: add NOTES section to the linker script 2018-11-21 09:25:59 +01:00
configs xtensa: smp_lx200_defconfig: fix vectors clash 2019-03-13 14:04:56 -07:00
include xtensa: make sure bFLT stack is 16 byte aligned 2018-11-21 09:25:59 +01:00
kernel xtensa: drop EXPORT_SYMBOL for outs*/ins* 2019-10-29 09:15:24 +01:00
lib xtensa: fixes for configs without loop option 2015-11-02 18:02:47 +03:00
mm xtensa: fix TLB sanity checker 2019-12-21 10:42:30 +01: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:41:58 +02:00
variants xtensa: Added Cadence CSP kernel configuration for Xtensa 2016-09-09 18:39:09 -07:00
Kconfig xtensa: disable MMU initialization option on MMUv2 cores 2016-09-29 12:55:00 -07:00
Kconfig.debug xtensa: disable link optimization 2014-12-15 23:47:24 -08:00
Makefile xtensa: define CONFIG_CPU_{BIG,LITTLE}_ENDIAN 2016-03-11 08:53:31 +00:00