s390/mm: remove page table downgrade support
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 28 Feb 2020 10:32:01 +0000 (11:32 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sat, 28 Mar 2020 11:46:12 +0000 (12:46 +0100)
commit6a3eb35e56b3308966945b76ec1dfbc18537feef
tree2a10a11c9f08507830ebad5b4982cd1bbe4737ae
parentb2745655be3658cd422ba2b07cf19eb64e0c0eaf
s390/mm: remove page table downgrade support

This update consolidates page table handling code. Because
there are hardly any 31-bit binaries left we do not need to
optimize for that.

No extra efforts are needed to ensure that a compat task does
not map anything above 2GB. The TASK_SIZE limit for 31-bit
tasks is 2GB already and the generic code does check that a
resulting map address would not surpass that limit.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/mmu.h
arch/s390/include/asm/mmu_context.h
arch/s390/include/asm/pgalloc.h
arch/s390/include/asm/processor.h
arch/s390/mm/pgalloc.c