Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1349165

Re: [PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier.

From Rob Herring <robh+dt@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier.
Date 2016-03-03 14:50 +0100
Message-ID <r8BND-7MX-5@gated-at.bofh.it> (permalink)
References <r8nUm-6fn-5@gated-at.bofh.it> <r8nUn-6fn-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Mar 2, 2016 at 4:56 PM, David Daney <ddaney.cavm@gmail.com> wrote:
> From: David Daney <david.daney@cavium.com>
>
> In order to extract NUMA information from the device tree, we need to
> have the tree in its unflattened form.
>
> Move the call to unflatten_device_tree() into paging_init().  This
> puts it before the call to bootmem_init(), which is where the NUMA
> information is extracted.

Can't you just move up unflatten_device_tree in setup_arch rather than
hiding in paging_init?

> Signed-off-by: David Daney <david.daney@cavium.com>
> ---
>  arch/arm64/kernel/setup.c | 7 +++----
>  arch/arm64/mm/mmu.c       | 5 +++++
>  2 files changed, 8 insertions(+), 4 deletions(-)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier. David Daney <ddaney.cavm@gmail.com> - 2016-03-03 00:00 +0100
  Re: [PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier. Rob Herring <robh+dt@kernel.org> - 2016-03-03 14:50 +0100
    Re: [PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier. Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-03-03 17:40 +0100

csiph-web