diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-02-14 15:40:56 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-02-20 09:48:29 +0100 |
commit | 8727638426b0aea59d7f904ad8ddf483f9234f88 (patch) | |
tree | be87d26dea2888c5fc0e8db2ac9c3cda45447b06 /init | |
parent | 146448524bddbf6dfc62de31957e428de001cbda (diff) | |
download | linux-8727638426b0aea59d7f904ad8ddf483f9234f88.tar.bz2 |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions