devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Adam Borowski <kilobyte@angband.pl>
Cc: icenowy@aosc.io, devicetree@vger.kernel.org,
	Chen-Yu Tsai <wens@csie.org>,
	linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards
Date: Tue, 25 Jul 2017 16:31:27 +0200	[thread overview]
Message-ID: <20170725143127.ioojcafwaeimvren@flea> (raw)
In-Reply-To: <20170725031819.ryllvq5a3tdwyblj@angband.pl>

[-- Attachment #1: Type: text/plain, Size: 2047 bytes --]

On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote:
> On Tue, Jul 25, 2017 at 11:04:24AM +0800, icenowy@aosc.io wrote:
> > 在 2017-07-24 15:58,Maxime Ripard 写道:
> > > On Sat, Jul 22, 2017 at 10:28:49AM +0800, Icenowy Zheng wrote:
> > > > Allwinner A64 SoC has an EMAC which is used to provide Ethernet
> > > > function on several boards.
> > > > 
> > > > The EMAC itself doesn't have a fixed MAC address, but the sunxi
> > > > mainline U-Boot have the ability to generate one based on the eFUSE
> > > > SID in the chip, and add the generated MAC address to the device
> > > > tree when booting.
> > > > 
> > > > The MAC address setting step is based on the device tree's aliases,
> > > > and device tree nodes prefixed "ethernet" will get the MAC address
> > > > added. However, in several A64 boards' device tree, the alias is not
> > > > set up, so that the U-Boot won't set the MAC address.
> > > > 
> > > > Add the ethernet0 aliases to these boards.
> > > > 
> > > > I hope this patchset can be queued in 4.13, otherwise 4.13 kernels
> > > > won't get non-volatile MAC addresses, and will use random ones
> > > > instead, which is annoying to many users.
> > > > 
> > > > Icenowy Zheng (3):
> > > >   arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node
> > > >   arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node
> > > >   arm64: allwinner: a64: add ethernet0 alias for SoPine EMAC node
> > > 
> > > Applied all three, thanks!
> > 
> > Sorry, but could you queue them to 4.13?
> > 
> > Otherwise 4.13 kernel release will have annoying random MAC problem,
> > which heavily affects headless usages.
> 
> Perhaps it would be better to reword the commit subject as "fix missing
> ethernet0 alias ..."?  That'd convey that the previous behaviour is a defect
> that needs these patches as a fix.

Yes, definitely.

That and having a fixes: tag.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2017-07-25 14:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-22  2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng
     [not found] ` <20170722022852.7868-1-icenowy-h8G6r0blFSE@public.gmane.org>
2017-07-22  2:28   ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng
     [not found]     ` <20170722022852.7868-2-icenowy-h8G6r0blFSE@public.gmane.org>
2017-08-10  3:56       ` Chen-Yu Tsai
     [not found]         ` <CAGb2v64DVdFU37V422KfT5zUFN7c6dXyLFBukZegbAuUKZmJBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-10  4:40           ` [linux-sunxi] " Icenowy Zheng
     [not found]             ` <660391B7-FD1B-44BC-98AF-4CA99DCEBB0B-h8G6r0blFSE@public.gmane.org>
2017-08-10  7:04               ` Chen-Yu Tsai
2017-07-22  2:28   ` [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 " Icenowy Zheng
2017-07-22  2:28   ` [PATCH 3/3] arm64: allwinner: a64: add ethernet0 alias for SoPine " Icenowy Zheng
2017-07-24  7:58   ` [PATCH 0/3] Add ethernet0 alias for several A64 boards Maxime Ripard
2017-07-25  3:04     ` icenowy-h8G6r0blFSE
     [not found]       ` <f4016e61dbe4655a0e672c3377f35dd2-h8G6r0blFSE@public.gmane.org>
2017-07-25  3:18         ` Adam Borowski
2017-07-25 14:31           ` Maxime Ripard [this message]
2017-07-25 23:54             ` Icenowy Zheng
     [not found]               ` <00809C21-F663-4A54-8A9C-31A39739F539-h8G6r0blFSE@public.gmane.org>
2017-07-26  4:12                 ` Chen-Yu Tsai

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=20170725143127.ioojcafwaeimvren@flea \
    --to=maxime.ripard@free-electrons.com \
    --cc=devicetree@vger.kernel.org \
    --cc=icenowy@aosc.io \
    --cc=kilobyte@angband.pl \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=wens@csie.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).