LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: John Linn <John.Linn@xilinx.com>
To: Grant Likely <grant.likely@secretlab.ca>,
	<linux-arm-kernel@lists.infradead.org>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>,
	Russell King <linux@arm.linux.org.uk>,
	Catalin Marinas <catalin.marinas@arm.com>,
	<devicetree-discuss@lists.ozlabs.org>,
	<linux-kernel@vger.kernel.org>, Olof Johansson <olof@lixom.net>,
	Jeremy Kerr <jeremy.kerr@canonical.com>,
	Lennert Buijtenhek <buytenh@wantstofly.org>
Subject: RE: [PATCH 0/8] Basic ARM device tree support
Date: Wed, 26 Jan 2011 13:04:39 -0700	[thread overview]
Message-ID: <00bcd596-2108-4c54-92d3-7fda39e333e3@VA3EHSMHS015.ehs.local> (raw)
In-Reply-To: <20110118195933.13011.56098.stgit@localhost6.localdomain6>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 5398 bytes --]

> -----Original Message-----
> From: Grant Likely [mailto:glikely@secretlab.ca] On Behalf Of Grant Likely
> Sent: Tuesday, January 18, 2011 1:29 PM
> To: linux-arm-kernel@lists.infradead.org
> Cc: Nicolas Pitre; Russell King; Catalin Marinas; devicetree-discuss@lists.ozlabs.org; linux-
> kernel@vger.kernel.org; Olof Johansson; Jeremy Kerr; John Linn; Lennert Buijtenhek
> Subject: [PATCH 0/8] Basic ARM device tree support
> 
> It's been a while since these patches have been circulated for review.
> Much has changed since the last posting and there are no longer any
> ugly hacks or workarounds to it working.  From my viewpoint, these
> patches are complete and ready to be used.
> 
> This patch series allows CONFIG_OF to be enabled on ARM and allows the
> kernel to accept a dtb pointer from boot firmware instead of atags.
> If a dtb is passed, then the kernel will use the root 'compatible'
> property to find a matching machine_desc, and it will use it to obtain
> the memory layout, initrd location and kernel parameters string.
> 
> Only limited device tree support is enabled here.  It does not perform
> any kind of device registration from device tree data.  That support
> will be enabled in a later patch set.  Right now those patches depend
> on the common struct clk patches that Jeremy is working on, so I'm not
> going to post them yet.  Rather, this series is a stable base that
> other engineers can use to start working on device tree support for
> their platforms.
> 
> Tested on Versatile (qemu) and nVidia Tegra Harmony.  Kernel compiles
> an boot with CONFIG_OF both on and off, both with and without passing
> a device tree blob.

Tested on Xilinx platform.  Did see an issue with loading the device
tree blob into higher memory.  At address 0 there was no issue.  

> 
> I've published this series to a new branch on my git server:
> 
>   git://git.secretlab.ca/git/linux-2.6 devicetree/arm
> 
> The way I've managed the devicetree/test branch in the past has made
> it hard for other engineers to work with the device tree support, so
> I'm changing the way I'm handling it.  I will *not* rebase this new
> branch.  My intention is to keep it in essentially 'merge-ready' state
> at all times.  ie. I'm only going to put patches into this branch that
> I consider complete and are required to enable arm device tree
> support.  ie. core dt infrastructure and dt board support.  Device
> drivers should be submitted directly to their respective
> lists/maintainers.  I'll also be soliciting acks from platform
> maintainers before I pick up board support patches into this branch.
> 
> Russell:  I'm not expecting you to merge these now, nor am I asking
> you to.  I won't do so until I've got a full implementation using the
> device tree to register devices on the machine and supporting multiple
> machines.  However, would you mind taking a look at these patches and
> commenting on the approach?  Particularly the early boot code.
> Thanks.
> 
> Cheers,
> g.
> 

Thanks for this patch set.  Device tree on ARM will be a great help to Xilinx.

Tested-by: John Linn <john.linn@xilinx.com>

> 
> ---
> The following changes since commit
> a25cecce88194b2edf38b8c3b1665e9318eb2d22:
> 
>   Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze (2011-01-18 08:06:22 -0800)
> 
> are available in the git repository at:
> 
>   git://git.secretlab.ca/git/linux-2.6 devicetree/arm
> 
> Grant Likely (7):
>       arm/dt: Make __vet_atags also accept a dtb image
>       arm/dt: allow bootmem reservation for device tree blob and initrd
>       arm/dt: consolidate atags setup into setup_machine_atags
>       arm/dt: probe for platforms via the device tree
>       arm/dt: Basic versatile devicetree support
>       arm/tegra: Fix tegra irq_data conversion
>       arm/dt: Basic tegra devicetree support
> 
> Jeremy Kerr (1):
>       arm/dt: Allow CONFIG_OF on ARM
> 
> 
>  arch/arm/Kconfig                       |    7 ++
>  arch/arm/include/asm/mach/arch.h       |    2 +
>  arch/arm/include/asm/prom.h            |   34 ++++++++++
>  arch/arm/include/asm/setup.h           |    4 +
>  arch/arm/kernel/Makefile               |    1
>  arch/arm/kernel/devtree.c              |  107 ++++++++++++++++++++++++++++++++
>  arch/arm/kernel/head-common.S          |   19 ++++--
>  arch/arm/kernel/head.S                 |    8 +-
>  arch/arm/kernel/setup.c                |   78 +++++++++++++----------
>  arch/arm/mach-tegra/board-harmony.c    |    6 ++
>  arch/arm/mach-tegra/gpio.c             |    4 +
>  arch/arm/mach-versatile/versatile_ab.c |    6 ++
>  arch/arm/mach-versatile/versatile_pb.c |    6 ++
>  arch/arm/mm/init.c                     |   23 +++++++
>  14 files changed, 258 insertions(+), 47 deletions(-)
>  create mode 100644 arch/arm/include/asm/prom.h
>  create mode 100644 arch/arm/kernel/devtree.c
> 
> --
> Signature


This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

  parent reply	other threads:[~2011-01-26 20:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 20:28 Grant Likely
2011-01-18 20:29 ` [PATCH 1/8] arm/dt: Make __vet_atags also accept a dtb image Grant Likely
2011-01-18 21:26   ` Nicolas Pitre
2011-01-18 21:42     ` Grant Likely
2011-01-18 20:29 ` [PATCH 2/8] arm/dt: allow bootmem reservation for device tree blob and initrd Grant Likely
2011-01-18 20:29 ` [PATCH 3/8] arm/dt: Allow CONFIG_OF on ARM Grant Likely
2011-01-18 20:29 ` [PATCH 4/8] arm/dt: consolidate atags setup into setup_machine_atags Grant Likely
2011-01-18 20:29 ` [PATCH 5/8] arm/dt: probe for platforms via the device tree Grant Likely
2011-01-18 20:29 ` [PATCH 6/8] arm/dt: Basic versatile devicetree support Grant Likely
2011-01-18 20:29 ` [PATCH 7/8] arm/tegra: Fix tegra irq_data conversion Grant Likely
2011-01-18 20:29 ` [PATCH 8/8] arm/dt: Basic tegra devicetree support Grant Likely
2011-01-18 21:47   ` Nicolas Pitre
2011-01-18 21:55     ` Grant Likely
2011-01-19 12:14   ` Sergei Shtylyov
2011-01-26 20:04 ` John Linn [this message]
2011-01-26 22:32   ` [PATCH 0/8] Basic ARM device tree support Rob Herring
2011-01-28  6:37     ` Jason Liu
2011-01-31 18:05   ` Grant Likely
2011-01-31 18:06     ` John Linn

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=00bcd596-2108-4c54-92d3-7fda39e333e3@VA3EHSMHS015.ehs.local \
    --to=john.linn@xilinx.com \
    --cc=buytenh@wantstofly.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=jeremy.kerr@canonical.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nicolas.pitre@linaro.org \
    --cc=olof@lixom.net \
    --subject='RE: [PATCH 0/8] Basic ARM device tree support' \
    /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

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).