summaryrefslogtreecommitdiff
path: root/arch/s390/boot/kaslr.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2023-01-27 16:57:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-10 11:33:00 +0300
commitf458b7f354ffef47905c23bad9a3af28ac90f92f (patch)
treecde892f53f6e3d03ee6100d47e99ee7eab6009ae /arch/s390/boot/kaslr.c
parenta5178cd3a802f29d7476af328627cac58e28ab55 (diff)
downloadlinux-f458b7f354ffef47905c23bad9a3af28ac90f92f.tar.xz
s390/mem_detect: rely on diag260() if sclp_early_get_memsize() fails
[ Upstream commit eb33f9eb304a4c18beb5ba6362eaa5c4beaf40d8 ] In case sclp_early_get_memsize() fails but diag260() succeeds make sure some sane value is returned. This error scenario is highly unlikely, but this change makes system able to boot in such case. Suggested-by: Alexander Gordeev <agordeev@linux.ibm.com> Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Stable-dep-of: 22476f47b6b7 ("s390/boot: fix mem_detect extended area allocation") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/s390/boot/kaslr.c')
0 files changed, 0 insertions, 0 deletions