s390: avoid z13 cache aliasing
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Jan 2015 16:51:17 +0000 (17:51 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Jan 2015 11:15:59 +0000 (12:15 +0100)
commit1f6b83e5e4d3aed46eac1d219322fba9c7341cd8
treea7839cd769ec8637746d5e20a7eb7117373caaf0
parentf8b2dcbd9e6d1479b9b5a9e9e78bbaf783bde819
s390: avoid z13 cache aliasing

Avoid cache aliasing on z13 by aligning shared objects to multiples
of 512K. The virtual addresses of a page from a shared file needs
to have identical bits in the range 2^12 to 2^18.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/elf.h
arch/s390/include/asm/pgtable.h
arch/s390/kernel/process.c
arch/s390/mm/init.c
arch/s390/mm/mmap.c