linux/arch/s390
Sasha Levin 5e33de127d s390/mm: fix gmap tlb flush issues
[ Upstream commit f045402984 ]

__tlb_flush_asce() should never be used if multiple asce belong to a mm.

As this function changes mm logic determining if local or global tlb
flushes will be neded, we might end up flushing only the gmap asce on all
CPUs and a follow up mm asce flushes will only flush on the local CPU,
although that asce ran on multiple CPUs.

The missing tlb flushes will provoke strange faults in user space and even
low address protections in user space, crashing the kernel.

Fixes: 1b948d6cae ("s390/mm,tlb: optimize TLB flushing for zEC12")
Cc: stable@vger.kernel.org # 3.15+
Reported-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
History 2016-08-22 12:23:08 -04:00
..
appldata s390/appldata: add slab.h for kzalloc/kfree 2014-05-20 08:58:51 +02:00
boot s390/boot/decompression: disable floating point in decompressor 2015-10-27 22:13:16 -04:00
configs s390: update default configuration 2014-10-27 13:27:03 +01:00
crypto crypto: s390/ghash - Fix incorrect ghash icv buffer handling. 2015-06-10 13:42:28 -04:00
hypfs hypfs: Add clarification for "weight_min" attribute 2014-03-17 15:53:03 +01:00
include s390/hugetlb: add hugepages_supported define 2016-05-10 12:20:19 -04:00
kernel Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" 2016-07-12 08:47:16 -04:00
kvm KVM: s390: fix get_all_floating_irqs 2015-05-17 19:11:49 -04:00
lib s390/uprobes: fix kprobes dependency 2014-10-17 14:45:51 +02:00
math-emu s390: fix save and restore of the floating-point-control register 2013-10-24 17:17:11 +02:00
mm s390/mm: fix gmap tlb flush issues 2016-08-22 12:23:08 -04:00
net net: filter: constify detection of pkt_type_offset 2014-09-13 17:07:21 -04:00
oprofile s390: Replace __get_cpu_var uses 2014-08-26 13:45:52 -04:00
pci s390/pci: enforce fmb page boundary rule 2016-04-18 08:49:30 -04:00
defconfig s390: update default configuration 2014-10-27 13:27:03 +01:00
Kbuild s390/pci: base support 2012-11-30 15:40:45 +01:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2014-10-14 03:47:00 +02:00
Kconfig.debug Kconfig: consolidate CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2013-04-30 17:04:09 -07:00
Makefile s390: pass march flag to assembly files as well 2014-09-09 08:53:28 +02:00