linux-brain/arch/s390
Martin Schwidefsky b3aef39ba1 s390/setup: fix boot crash for machine without EDAT-1
commit 86a86804e4 upstream.

The fix to make WARN work in the early boot code created a problem
on older machines without EDAT-1. The setup_lowcore_dat_on function
uses the pointer from lowcore_ptr[0] to set the DAT bit in the new
PSWs. That does not work if the kernel page table is set up with
4K pages as the prefix address maps to absolute zero.

To make this work the PSWs need to be changed with via address 0 in
form of the S390_lowcore definition.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Cornelia Huck <cohuck@redhat.com>
Fixes: 94f85ed3e2f8 ("s390/setup: fix early warning messages")
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-23 14:35:32 +01:00
..
appldata License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
configs s390: fix zfcpdump-config 2017-10-16 08:19:01 +02:00
crypto s390/crypto: Fix return code checking in cbc_paes_crypt() 2018-09-26 08:38:06 +02:00
hypfs hypfs_kill_super(): deal with failed allocations 2018-04-24 09:36:38 +02:00
include KVM: Call kvm_arch_memslots_updated() before updating memslots 2019-03-23 14:35:31 +01:00
kernel s390/setup: fix boot crash for machine without EDAT-1 2019-03-23 14:35:32 +01:00
kvm s390/sthyi: Fix machine name validity indication 2018-11-13 11:14:52 -08:00
lib s390/lib: use expoline for all bcr instructions 2018-09-15 09:45:36 +02:00
mm s390/mm: Check for valid vma before zapping in gmap_discard 2018-12-01 09:42:59 +01:00
net s390: fix br_r1_trampoline for machines without exrl 2018-09-05 09:26:40 +02:00
numa s390/mm: Fix ERROR: "__node_distance" undefined! 2018-11-27 16:10:48 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci s390/pci: fix sleeping in atomic during hotplug 2019-01-09 17:14:48 +01:00
tools License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
defconfig s390: update defconfig 2017-06-08 15:53:48 +02:00
Kbuild s390/crypto: Provide s390 specific arch random functionality. 2017-04-26 13:41:35 +02:00
Kconfig s390: add sysfs attributes for spectre 2018-04-29 11:33:15 +02:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile s390: add automatic detection of the spectre defense 2018-04-29 11:33:15 +02:00