]> git.baikalelectronics.ru Git - kernel.git/commit
s390/boot: replace magic string check with a bootdata flag
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Thu, 25 Mar 2021 11:10:56 +0000 (12:10 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 5 Jul 2021 10:44:23 +0000 (12:44 +0200)
commit1ad1a7026268899980c4c95b4563f525c7bcc947
tree17f1bea54f04855360596fbd8f19898781ed2e5d
parenta8961ebe0a27f46e1d4799d6079e402186bef6c4
s390/boot: replace magic string check with a bootdata flag

The magic string "S390EP" at offset 0x10008 indicated to the decompressed
kernel that it was booted by the decompressor. Introduce a new bootdata
flag instead which conveys the same information in an explicit and
a cleaner way. But keep the magic string because it is a kernel ABI.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/startup.c
arch/s390/include/asm/setup.h
arch/s390/kernel/early.c