linux_dsm_epyc7002/arch/s390
Martin Schwidefsky 8727638426 s390/setup: fix early warning messages
The setup_lowcore() function creates a new prefix page for the boot CPU.
The PSW mask for the system_call, external interrupt, i/o interrupt and
the program check handler have the DAT bit set in this new prefix page.

At the time setup_lowcore is called the system still runs without virtual
address translation, the paging_init() function creates the kernel page
table and loads the CR13 with the kernel ASCE.

Any code between setup_lowcore() and the end of paging_init() that has
a BUG or WARN statement will create a program check that can not be
handled correctly as there is no kernel page table yet.

To allow early WARN statements initially setup the lowcore with DAT off
and set the DAT bit only after paging_init() has completed.

Cc: stable@vger.kernel.org
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2019-02-20 09:48:29 +01:00
..
appldata
boot s390/kasan: improve string/memory functions checks 2019-01-18 09:34:18 +01:00
configs
crypto crypto: drop mask=CRYPTO_ALG_ASYNC from 'cipher' tfm allocations 2018-11-20 14:26:55 +08:00
hypfs s390/hypfs: no need to check return value of debugfs_create functions 2019-01-28 15:58:54 +01:00
include s390/jump_label: Use "jdd" constraint on gcc9 2019-02-20 09:48:26 +01:00
kernel s390/setup: fix early warning messages 2019-02-20 09:48:29 +01:00
kvm Kconfig updates for v4.21 2018-12-29 13:03:29 -08:00
lib s390/kasan: improve string/memory functions checks 2019-01-18 09:34:18 +01:00
mm s390/mmap: take stack_guard_gap into account for mmap_base 2019-02-07 11:57:01 +01:00
net s390: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_* 2018-12-07 13:30:48 -08:00
numa
oprofile
pci s390/pci: map IOV resources 2019-02-07 11:57:06 +01:00
purgatory
scripts
tools kbuild: use assignment instead of define ... endef for filechk_* rules 2019-01-06 10:22:35 +09:00
defconfig
Kbuild
Kconfig s390: autogenerate compat syscall wrappers 2019-01-18 09:33:19 +01:00
Kconfig.debug
Makefile