public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: jason@lakedaemon.net (Jason Cooper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: atags: add support for Marvell's u-boot
Date: Mon, 3 Jun 2013 14:26:09 -0400	[thread overview]
Message-ID: <20130603182608.GP3803@titan.lakedaemon.net> (raw)
In-Reply-To: <20130603181437.GO3803@titan.lakedaemon.net>

On Mon, Jun 03, 2013 at 02:14:37PM -0400, Jason Cooper wrote:
> On Mon, Jun 03, 2013 at 07:56:29PM +0200, Willy Tarreau wrote:
> > Hi Russell,
> > 
> > On Mon, Jun 03, 2013 at 06:10:18PM +0100, Russell King - ARM Linux wrote:
> > > You know, my reaction to this is to nack it because:
> > > 
> > > (a) Marvell didn't talk to me about adding a new tag.
> > > (b) There is an established precident that we do not pass MAC addresses
> > >     to the kernel in this way (such attempts have been rejected in the
> > >     past.)
> > > (c) It goes completely against the design spirit of ATAGs by combining
> > >     many different types and instances of information into one tag.
> > > (d) It picks a tag ID without understanding how tag IDs are allocated.
> > >     (the idea is 0x41NNNNVV where NNNN = machine ID for machine specific
> > >     tags.)
> > > 
> > > Everyone who has gone around extending ATAG stuff has made exactly the
> > > same mistakes time and time again - mostly stemming from the fact that
> > > no one wants to talk to me up front.
> > > 
> > > So, this is another NACK.
> > 
> > I understand your points, but then what could we do to get our devices
> > to have properly working ethernet interfaces ? These devices have already
> > been sold, and from what I've seen they've been using this ID since at
> > least the Kirkwood devices.
> > 
> > I found no other way to get the MAC address once the system is booted.
> > I would have no problem having some board-spec code locate the atags
> > and set the MAC, but it looks like the information is lost very early
> > and is not available anymore soon after the boot (or at least I couldn't
> > find it anywhere else).
> > 
> > It's really not with happiness that I had to add this part to the ATAGs,
> > but because I didn't find another solution :-(
> 
> Please take a look at Sebastian's approach, it's currently a wip:
> 
>   ARM: kirkwood: proper retain MAC address workaround on DT ethernet
> 
> The discussion following that patch should give you some good ideas.

Gah, here's the direct link to the patch:

https://lkml.org/lkml/2013/5/22/541

hth,

Jason.

  reply	other threads:[~2013-06-03 18:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03 16:45 [PATCH] ARM: atags: add support for Marvell's u-boot Thomas Petazzoni
2013-06-03 16:57 ` Jason Cooper
2013-06-03 17:09   ` Thomas Petazzoni
2013-06-03 17:42     ` Jason Cooper
2013-06-03 17:10 ` Russell King - ARM Linux
2013-06-03 17:56   ` Willy Tarreau
2013-06-03 18:14     ` Jason Cooper
2013-06-03 18:26       ` Jason Cooper [this message]
2013-06-03 18:30       ` Willy Tarreau
2013-06-03 18:41         ` Jason Cooper
2013-06-03 19:07           ` Nicolas Pitre
2013-06-03 19:17             ` Jason Cooper
2013-06-03 19:46               ` Nicolas Pitre
2013-06-03 21:07               ` Willy Tarreau
2013-06-04  8:13               ` Thomas Petazzoni
2013-06-04  8:48                 ` Sebastian Hesselbarth
2013-06-04 10:50                   ` Jason Cooper
2013-06-04  8:10             ` Thomas Petazzoni
2013-06-04  8:43               ` Sebastian Hesselbarth
2013-06-03 19:01         ` Nicolas Pitre
2013-06-03 21:04           ` Willy Tarreau
2013-06-04  8:05         ` Thomas Petazzoni

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=20130603182608.GP3803@titan.lakedaemon.net \
    --to=jason@lakedaemon.net \
    --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