• Vasily Gorbik's avatar
    s390/entry: rely on long-displacement facility · 385bf43c
    Vasily Gorbik authored
    Since commit 4efd417f ("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: default avatarHeiko Carstens <hca@linux.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    385bf43c
entry.S 18.2 KB