linux-stable/arch/s390
Gerald Schaefer 087c4d7423 s390/sclp: do not use static sccbs
The sccbs for init/read/sdias/early have to be located below 2 GB, and
they are currently defined as a static buffer.

With a relocatable kernel that could reside at any place in memory, this
will no longer guarantee the location below 2 GB, so use a dynamic
GFP_DMA allocation instead.

The sclp_early_sccb buffer needs special handling, as it can be used
very early, and by both the decompressor and also the decompressed
kernel. Therefore, a fixed 4 KB buffer is introduced at 0x11000, the
former PARMAREA_END. The new PARMAREA_END is now 0x12000, and it is
renamed to HEAD_END, as it is rather the end of head.S and not the end
of the parmarea.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Reviewed-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2019-04-29 10:47:10 +02:00
..
appldata sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD 2018-10-26 16:26:32 -07:00
boot s390/sclp: do not use static sccbs 2019-04-29 10:47:10 +02:00
configs s390/kexec_file: Signature verification prototype 2019-04-29 10:44:01 +02:00
crypto s390/crypto: use TRNG for seeding/reseeding 2019-04-25 15:34:09 +02:00
hypfs s390/hypfs: no need to check return value of debugfs_create functions 2019-01-28 15:58:54 +01:00
include s390/sclp: do not use static sccbs 2019-04-29 10:47:10 +02:00
kernel s390/sclp: do not use static sccbs 2019-04-29 10:47:10 +02:00
kvm s390/airq: recognize directed interrupts 2019-04-29 10:47:01 +02:00
lib s390/kasan: improve string/memory functions checks 2019-01-18 09:34:18 +01:00
mm s390/mm: convert to the generic get_user_pages_fast code 2019-04-23 16:30:04 +02:00
net s390: Convert IS_ENABLED uses to __is_defined 2019-04-11 13:36:53 +02:00
numa treewide: add checks for the return value of memblock_alloc*() 2019-03-12 10:04:02 -07: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: add parameter to disable usage of MIO instructions 2019-04-29 10:47:01 +02:00
purgatory s390/purgatory: Omit use of bin2c 2019-04-29 10:43:55 +02:00
scripts s390: make chkbss work with clang 2019-04-11 13:36:52 +02:00
tools kbuild: use assignment instead of define ... endef for filechk_* rules 2019-01-06 10:22:35 +09:00
defconfig s390/kexec_file: Signature verification prototype 2019-04-29 10:44:01 +02:00
Kbuild s390/kexec_file: Add purgatory 2018-04-16 09:10:22 +02:00
Kconfig s390/kernel: build a relocatable kernel 2019-04-29 10:47:10 +02:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile s390/kernel: build a relocatable kernel 2019-04-29 10:47:10 +02:00