linux-sg2042/arch/s390/mm
Martin Schwidefsky c7e8b2c21c s390: avoid cache aliasing under z/VM and KVM
commit 1f6b83e5e4 ("s390: avoid z13 cache aliasing") checks for the
machine type to optimize address space randomization and zero page
allocation to avoid cache aliases.

This check might fail under a hypervisor with migration support.
z/VMs "Single System Image and Live Guest Relocation" facility will
"fake" the machine type of the oldest system in the group. For example
in a group of zEC12 and Z13 the guest appears to run on a zEC12
(architecture fencing within the relocation domain)

Remove the machine type detection and always use cache aliasing
rules that are known to work for all machines. These are the z13
aliasing rules.

Suggested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-11-16 12:04:18 +01:00
..
Makefile s390/mem_detect: move memory detection code to mm folder 2013-05-02 15:50:22 +02:00
cmm.c s390: convert use of typedef ctl_table to struct ctl_table 2013-10-28 08:36:25 +01:00
dump_pagetables.c s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
extable.c s390/exceptions: switch to relative exception table entries 2012-09-26 15:45:10 +02:00
extmem.c s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
fault.c s390/cpumf: rework program parameter setting to detect guest samples 2015-10-14 14:32:12 +02:00
gup.c s390/mm: enable gup code for NUMA 2015-08-03 10:06:12 +02:00
hugetlbpage.c s390/mm: implement soft-dirty bits for user memory change tracking 2015-10-14 14:32:05 +02:00
init.c s390: avoid cache aliasing under z/VM and KVM 2015-11-16 12:04:18 +01:00
maccess.c s390/maccess: improve s390_kernel_write() 2015-03-25 11:49:44 +01:00
mem_detect.c s390/sclp: unify basic sclp access by exposing "struct sclp" 2015-05-13 09:58:17 +02:00
mmap.c s390: avoid cache aliasing under z/VM and KVM 2015-11-16 12:04:18 +01:00
page-states.c s390/cmma: remove "cmma disable" code in case of dump again 2014-05-20 08:58:42 +02:00
pageattr.c s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
pgtable.c s390/mm: simplify page table alloc/free code 2015-08-19 10:41:19 +02:00
vmem.c s390: remove 31 bit support 2015-03-25 11:49:33 +01:00