]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: marvell: armada-37xx: reserve memory for ATF
authorVictor Gu <xigu@marvell.com>
Tue, 26 Jun 2018 08:17:01 +0000 (10:17 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 29 Jun 2018 14:39:03 +0000 (16:39 +0200)
commit4436a3711e3249840e0679e92d3c951bcaf25515
treebe7bf7cade7b04a923d183be1520e1faa57b49d5
parentd970737fa305a39900c2fc90d421d34d38345b45
arm64: dts: marvell: armada-37xx: reserve memory for ATF

The PSCI area should be reserved in Linux for PSCI operations such as
suspend/resume.

Reserve 2MiB of memory which matches the area used by ATF (BL1, BL2,
BL3x, see [1] in ATF source code). This covers all PSCI code and data
area and is 2MiB aligned, which is required by Linux for huge pages
handling.

Please note that this is a default setup allowing to perform PSCI
operations with legacy bootloaders. Recent bootloaders should update the
region size/position accordingly.

[1] plat/marvell/a3700/common/include/platform_def.h

Signed-off-by: Victor Gu <xigu@marvell.com>
[miquel.raynal@bootlin.com: reword of commit message, comment in the DTSI]
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi