s390/boot: initialize control registers in decompressor
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 3 Aug 2021 17:42:32 +0000 (19:42 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 4 Oct 2021 07:49:37 +0000 (09:49 +0200)
commit584315ed87a7dce663ef3f07956b5f363f83c7bd
tree1506f52b00ccbb316e9f7d03ea6f31325968c9aa
parentbca2d0428e3d83b1a39ec46033e69fba8624280f
s390/boot: initialize control registers in decompressor

Partially revert commit 4555b9f34296 ("s390/boot: move
dma sections from decompressor to decompressed kernel").
This is a prerequisite to allow initialization of virtual
memory in decompressor and avoid overwriting of ASCEs in
the decompressed kernel otherwise.

Since the control registers 2, 5 and 15 are reinitialized
in the decompressed kernel again, this change does not
prevent relocating of amode31 section in any way.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/head.S
arch/s390/kernel/head64.S