public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: gregory.clement@bootlin•com (Gregory CLEMENT)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2] arm64: dts: marvell: armada-37xx: reserve memory for ATF
Date: Fri, 29 Jun 2018 16:39:39 +0200	[thread overview]
Message-ID: <87y3ex4pxw.fsf@bootlin.com> (raw)
In-Reply-To: <20180629134407.112819d2@windsurf> (Thomas Petazzoni's message of "Fri, 29 Jun 2018 13:44:07 +0200")

Hi Miquel, Thomas,
 
 On ven., juin 29 2018, Thomas Petazzoni <thomas.petazzoni@bootlin•com> wrote:

> Hello,
>
> On Tue, 26 Jun 2018 10:17:01 +0200, Miquel Raynal wrote:
>> From: Victor Gu <xigu@marvell•com>
>> 
>> 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 at 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>

Applied on mvebu/dt64

Thanks,

Gregory

>
> Best regards,
>
> Thomas
> -- 
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com

-- 
Gregory Clement, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

      reply	other threads:[~2018-06-29 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-26  8:17 [PATCH v2] arm64: dts: marvell: armada-37xx: reserve memory for ATF Miquel Raynal
2018-06-29 11:44 ` Thomas Petazzoni
2018-06-29 14:39   ` Gregory CLEMENT [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3ex4pxw.fsf@bootlin.com \
    --to=gregory.clement@bootlin$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox