]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
s390/mm: introduce defines to reflect the hardware mmu
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 16 Jun 2017 15:24:39 +0000 (17:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jul 2017 06:25:08 +0000 (08:25 +0200)
commitc67da7c7c5d4c0a45b079b21f6991cb7e753856e
treeb2fa23016e3160fa807e1d89b986156e0923a692
parenta31a00ba7c161ac3741c4c8a4872f88891b24554
s390/mm: introduce defines to reflect the hardware mmu

Add various defines like e.g. _REGION1_SHIFT to reflect the hardware
mmu. We have quite a bit code that does not make use of the Linux
memory management primitives but directly modifies page, segment and
region values.

Most of this is open-coded like e.g. "1UL << 53". In order to clean
this up introduce a couple of new defines. The existing Linux memory
management defines are changed, so the mapping to the hardware
implementation is reflected.

Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/page.h
arch/s390/include/asm/pgalloc.h
arch/s390/include/asm/pgtable.h