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)
commit9f744abb4639e793689570fc9dcdf5f2f028bc9a
tree17f1bea54f04855360596fbd8f19898781ed2e5d
parent549abb7f36f2dbf91515bf5537a63ae47a275a35
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