]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/mm: Pin identity mapping base to zero
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 9 Aug 2024 06:47:16 +0000 (08:47 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2024 14:14:45 +0000 (16:14 +0200)
commit32db401965f165f7c44447d0508097f070c8f576
tree9bcb4095ae072156c43a3ec3a60eaebbf2ba416f
parenta3ca27c405faad584af6e8e38cdafe5be73230a1
s390/mm: Pin identity mapping base to zero

SIE instruction performs faster when the virtual address of
SIE block matches the physical one. Pin the identity mapping
base to zero for the benefit of SIE and other instructions
that have similar performance impact. Still, randomize the
base when DEBUG_VM kernel configuration option is enabled.

Suggested-by: Vasily Gorbik <gor@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/Kconfig
arch/s390/boot/startup.c