powerpc/40x: Map 32Mbytes of memory at startup
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 27 Sep 2021 15:12:39 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:54:22 +0000 (10:54 +0100)
commit21125e011620b8f77786c8a231100b6395fdf494
treefd1b4351d8bfe788401d1981332ed9ade008297c
parentc330442f46ea77db0be8ba37d3b5b67a8b45bed9
powerpc/40x: Map 32Mbytes of memory at startup

[ Upstream commit 06e7cbc29e97b4713b4ea6def04ae8501a7d1a59 ]

As reported by Carlo, 16Mbytes is not enough with modern kernels
that tend to be a bit big, so map another 16M page at boot.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/89b5f974a7fa5011206682cd092e2c905530ff46.1632755552.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/kernel/head_40x.S