s390/entry: rely on long-displacement facility
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 28 Mar 2023 09:09:09 +0000 (11:09 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 4 Apr 2023 16:34:54 +0000 (18:34 +0200)
commit385bf43c48ffe44af881039779a6be09ac8a77c8
tree707891269d9a713419d1f6e348d9558a5e51d691
parentf62f8b716da158f94bf191ea89b34d01bf94b261
s390/entry: rely on long-displacement facility

Since commit 4efd417f298b ("s390: raise minimum supported machine
generation to z10"), the long-displacement facility is assumed and
required for the kernel. Clean up a couple of places in the entry code,
where long-displacement could be used directly instead of using a base
register.

However, there are still a few other places where a base register has
to be used to extend short-displacement for the second lowcore page
access. Notably, boot/head.S still has to be built for z900, and in
mcck_int_handler, spt and lbear, which don't have long-displacements,
but need to access save areas at the second lowcore page.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/entry.S