android_kernel_oneplus_msm8998/arch/sparc
James Clarke fbbc4fe02a sparc64: Fix regression in non-hypervisor TLB flush xcall
commit d3c976c14ad8af421134c428b0a89ff8dd3bd8f8 upstream.

Previously, %g2 would end up with the value PAGE_SIZE, but after the
commit mentioned below it ends up with the value 1 due to being reused
for a different purpose. We need it to be PAGE_SIZE as we use it to step
through pages in our demap loop, otherwise we set different flags in the
low 12 bits of the address written to, thereby doing things other than a
nucleus page flush.

Fixes: a74ad5e660a9 ("sparc64: Handle extremely large kernel TLB range flushes more gracefully.")
Reported-by: Meelis Roos <mroos@linux.ee>
Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-11 12:24:08 +02:00
..
boot
configs
crypto
include sparc64 mm: Fix more TSB sizing issues 2018-11-10 07:41:39 -08:00
kernel sparc: Fix single-pcr perf event counter management. 2018-11-21 09:27:30 +01:00
lib sparc64: Fix exception handling in UltraSPARC-III memcpy. 2018-11-10 07:41:39 -08:00
math-emu
mm sparc64: Fix regression in non-hypervisor TLB flush xcall 2019-06-11 12:24:08 +02:00
net
oprofile
power sparc64: Prevent perf from running during super critical sections 2017-08-12 19:29:09 -07:00
prom
Kbuild
Kconfig security/keys: add CONFIG_KEYS_COMPAT to Kconfig 2017-11-18 11:11:07 +01:00
Kconfig.debug
Makefile