]> git.baikalelectronics.ru Git - kernel.git/commit
s390/sclp: reserve memory occupied by sclp early buffer
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Tue, 10 Aug 2021 13:20:00 +0000 (15:20 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 18 Aug 2021 08:01:29 +0000 (10:01 +0200)
commit2af547adb258a293fadc0c449b5c1d7ad078ff2b
treefd6b4b5dd42bf1b15da3cac4524c8b5c29b5e411
parent366a30f1d703adedfdfb2b772d846ebb586e886c
s390/sclp: reserve memory occupied by sclp early buffer

The memory block occupied by the SCLP early buffer that is allocated
by the decompressor and then handed over to the decompressed kernel,
must be reserved to prevent it from being reused for other purposes.
This is necessary because the SCLP early buffer is still in use
during kernel initialization.

Fixes: 95335b44233e ("s390/boot: move sclp early buffer from fixed address in asm to C")
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reported-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/sclp.h
arch/s390/kernel/setup.c
drivers/s390/char/sclp.h