From: ard.biesheuvel@linaro.org (Ard Biesheuvel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH for-v4.2 1/4] of/fdt: split off FDT self reservation from memreserve processing
Date: Mon, 1 Jun 2015 21:36:28 +0200 [thread overview]
Message-ID: <CAKv+Gu8W2w3jCc2iLn0S90qaOJkfMPTZFR7U5E2Ovw1f-iwLfQ@mail.gmail.com> (raw)
In-Reply-To: <20150601173330.GE14192@e104818-lin.cambridge.arm.com>
On 1 June 2015 at 19:33, Catalin Marinas <catalin.marinas@arm.com> wrote:
> On Mon, Jun 01, 2015 at 01:40:31PM +0200, Ard Biesheuvel wrote:
>> This splits off the reservation of the memory occupied by the FDT
>> binary itself from the processing of the memory reservations it
>> contains. This is necessary because the physical address of the FDT,
>> which is needed to perform the reservation, may not be known to the
>> FDT driver core, i.e., it may be mapped outside the linear direct
>> mapping, in which case __pa() returns a bogus value.
>>
>> Cc: Russell King <linux@arm.linux.org.uk>
>> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>> Cc: Paul Mackerras <paulus@samba.org>
>> Acked-by: Rob Herring <robh@kernel.org>
>> Acked-by: Mark Rutland <mark.rutland@arm.com>
>> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> ---
>> arch/arm/mm/init.c | 1 +
>> arch/arm64/mm/init.c | 1 +
>> arch/powerpc/kernel/prom.c | 1 +
>> drivers/of/fdt.c | 19 ++++++++++++++-----
>> include/linux/of_fdt.h | 2 ++
>> 5 files changed, 19 insertions(+), 5 deletions(-)
>
> I'm happy to take this patch (already acked by the DT maintainers)
> through the arm64 tree but it would be good to have an ack from the arch
> maintainers as well (i.e. Russell, Ben, Paul).
>
OK, fair enough,
@Ben, Paul
@Russell
Could you please indicate whether or not you have any objections to this patch?
Kind regards,
Ard.
next prev parent reply other threads:[~2015-06-01 19:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-01 11:40 [PATCH for-v4.2 0/4] arm64: EFI minimal FDT and Image placement fixes Ard Biesheuvel
2015-06-01 11:40 ` [PATCH for-v4.2 1/4] of/fdt: split off FDT self reservation from memreserve processing Ard Biesheuvel
2015-06-01 17:33 ` Catalin Marinas
2015-06-01 19:36 ` Ard Biesheuvel [this message]
2015-06-02 17:16 ` Catalin Marinas
2015-06-02 19:24 ` Benjamin Herrenschmidt
2015-06-01 11:40 ` [PATCH for-v4.2 2/4] arm64: use fixmap region for permanent FDT mapping Ard Biesheuvel
2015-06-01 11:40 ` [PATCH for-v4.2 3/4] arm64: reduce ID map to a single page Ard Biesheuvel
2015-06-01 11:40 ` [PATCH for-v4.2 4/4] arm64: drop sleep_idmap_phys and clean up cpu_resume() Ard Biesheuvel
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=CAKv+Gu8W2w3jCc2iLn0S90qaOJkfMPTZFR7U5E2Ovw1f-iwLfQ@mail.gmail.com \
--to=ard.biesheuvel@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).