]> 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)
commit5fa8c728d84fc298a3ade3c25b1ca53c4132cb52
treefd6b4b5dd42bf1b15da3cac4524c8b5c29b5e411
parent31013f3dc91706821bf6d01f99b9d0f79813fc35
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: db59023967a3 ("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