]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Increase KERNEL_INITIAL_SIZE for 32-bit SMP kernels
authorHelge Deller <deller@gmx.de>
Fri, 7 Oct 2016 16:19:55 +0000 (18:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:45:19 +0000 (03:45 -0400)
commit97f1848f46ec2217a1814614aea31e169a78cdbb
tree0838adc786beaf42872260824e5d0e23e012d97a
parent73fe3f93108a39d2b353569fbfc96cfbf2b2657a
parisc: Increase KERNEL_INITIAL_SIZE for 32-bit SMP kernels

commit 690d097c00c88fa9d93d198591e184164b1d8c20 upstream.

Increase the initial kernel default page mapping size for SMP kernels to 32MB
and add a runtime check which panics early if the kernel is bigger than the
initial mapping size.

This fixes boot crashes of 32bit SMP kernels. Due to the introduction of huge
page support in kernel 4.4 and it's required initial kernel layout in memory, a
32bit SMP kernel usually got bigger (in layout, not size) than 16MB.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/pgtable.h
arch/parisc/kernel/setup.c