* [PATCH 0/3] Add ethernet0 alias for several A64 boards
@ 2017-07-22 2:28 Icenowy Zheng
2017-07-22 2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Icenowy Zheng @ 2017-07-22 2:28 UTC (permalink / raw)
To: linux-arm-kernel
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
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 1 +
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 1 +
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 1 +
3 files changed, 3 insertions(+)
--
2.13.0
^ permalink raw reply [flat|nested] 13+ messages in thread* [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node 2017-07-22 2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng @ 2017-07-22 2:28 ` Icenowy Zheng 2017-08-10 3:56 ` [linux-sunxi] " Chen-Yu Tsai 2017-07-22 2:28 ` [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 " Icenowy Zheng ` (2 subsequent siblings) 3 siblings, 1 reply; 13+ messages in thread From: Icenowy Zheng @ 2017-07-22 2:28 UTC (permalink / raw) To: linux-arm-kernel The Banana Pi M64 board uses the A64 chip's EMAC to provide Ethernet link. Add the ethernet0 alias in the device tree, in order to let U-Boot generate a MAC address from the chip's SID. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts index 0d1f026d831a..ba2fde2909f9 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts @@ -51,6 +51,7 @@ compatible = "sinovoip,bananapi-m64", "allwinner,sun50i-a64"; aliases { + ethernet0 = &emac; serial0 = &uart0; serial1 = &uart1; }; -- 2.13.0 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node 2017-07-22 2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng @ 2017-08-10 3:56 ` Chen-Yu Tsai 2017-08-10 4:40 ` Icenowy Zheng 0 siblings, 1 reply; 13+ messages in thread From: Chen-Yu Tsai @ 2017-08-10 3:56 UTC (permalink / raw) To: linux-arm-kernel Hi, On Sat, Jul 22, 2017 at 10:28 AM, Icenowy Zheng <icenowy@aosc.io> wrote: > The Banana Pi M64 board uses the A64 chip's EMAC to provide Ethernet > link. > > Add the ethernet0 alias in the device tree, in order to let U-Boot > generate a MAC address from the chip's SID. > > Signed-off-by: Icenowy Zheng <icenowy@aosc.io> As mentioned in the discussion of the cover letter of this series, we'd really like to move this to fixes for 4.13. I'd like to move forward on this soon. Can I just do a wholesale rewrite of the commit message along the lines of the following example, and move the 3 patches to fixes for 4.13? arm64: allwinner: a64: bananapi-m64: add missing ethernet0 alias The EMAC Ethernet controller was enabled, but an accompanying alias was not added. This results in unstable numbering if other Ethernet devices, such as a USB dongle, are present. Also, the bootloader uses the alias to assign a generated stable MAC address to the device node. Fixes: e7295499903d ("arm64: allwinner: bananapi-m64: Enable dwmac-sun8i") Thanks ChenYu ^ permalink raw reply [flat|nested] 13+ messages in thread
* [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node 2017-08-10 3:56 ` [linux-sunxi] " Chen-Yu Tsai @ 2017-08-10 4:40 ` Icenowy Zheng 2017-08-10 7:04 ` Chen-Yu Tsai 0 siblings, 1 reply; 13+ messages in thread From: Icenowy Zheng @ 2017-08-10 4:40 UTC (permalink / raw) To: linux-arm-kernel ? 2017?8?10? GMT+08:00 ??11:56:02, Chen-Yu Tsai <wens@csie.org> ??: >Hi, > >On Sat, Jul 22, 2017 at 10:28 AM, Icenowy Zheng <icenowy@aosc.io> >wrote: >> The Banana Pi M64 board uses the A64 chip's EMAC to provide Ethernet >> link. >> >> Add the ethernet0 alias in the device tree, in order to let U-Boot >> generate a MAC address from the chip's SID. >> >> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> > >As mentioned in the discussion of the cover letter of this series, >we'd really like to move this to fixes for 4.13. > >I'd like to move forward on this soon. Can I just do a wholesale >rewrite of the commit message along the lines of the following >example, and move the 3 patches to fixes for 4.13? Yes. Thanks! > >arm64: allwinner: a64: bananapi-m64: add missing ethernet0 alias > >The EMAC Ethernet controller was enabled, but an accompanying alias >was not added. This results in unstable numbering if other Ethernet >devices, such as a USB dongle, are present. Also, the bootloader uses >the alias to assign a generated stable MAC address to the device node. > >Fixes: e7295499903d ("arm64: allwinner: bananapi-m64: Enable >dwmac-sun8i") > > >Thanks >ChenYu ^ permalink raw reply [flat|nested] 13+ messages in thread
* [linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node 2017-08-10 4:40 ` Icenowy Zheng @ 2017-08-10 7:04 ` Chen-Yu Tsai 0 siblings, 0 replies; 13+ messages in thread From: Chen-Yu Tsai @ 2017-08-10 7:04 UTC (permalink / raw) To: linux-arm-kernel On Thu, Aug 10, 2017 at 12:40 PM, Icenowy Zheng <icenowy@aosc.io> wrote: > > > ? 2017?8?10? GMT+08:00 ??11:56:02, Chen-Yu Tsai <wens@csie.org> ??: >>Hi, >> >>On Sat, Jul 22, 2017 at 10:28 AM, Icenowy Zheng <icenowy@aosc.io> >>wrote: >>> The Banana Pi M64 board uses the A64 chip's EMAC to provide Ethernet >>> link. >>> >>> Add the ethernet0 alias in the device tree, in order to let U-Boot >>> generate a MAC address from the chip's SID. >>> >>> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> >> >>As mentioned in the discussion of the cover letter of this series, >>we'd really like to move this to fixes for 4.13. >> >>I'd like to move forward on this soon. Can I just do a wholesale >>rewrite of the commit message along the lines of the following >>example, and move the 3 patches to fixes for 4.13? > > Yes. Done. ChenYu ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 EMAC node 2017-07-22 2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng 2017-07-22 2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng @ 2017-07-22 2:28 ` 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 3 siblings, 0 replies; 13+ messages in thread From: Icenowy Zheng @ 2017-07-22 2:28 UTC (permalink / raw) To: linux-arm-kernel The Pine64 (including the Plus models) board uses the A64 chip's EMAC to provide Ethernet link. Add the ethernet0 alias in the device tree, in order to let U-Boot generate a MAC address from the chip's SID. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index 64cce0d68cae..7a450dcb7a08 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts @@ -51,6 +51,7 @@ compatible = "pine64,pine64", "allwinner,sun50i-a64"; aliases { + ethernet0 = &emac; serial0 = &uart0; serial1 = &uart1; serial2 = &uart2; -- 2.13.0 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/3] arm64: allwinner: a64: add ethernet0 alias for SoPine EMAC node 2017-07-22 2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng 2017-07-22 2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng 2017-07-22 2:28 ` [PATCH 2/3] arm64: allwinner: a64: add ethernet0 alias for Pine64 " Icenowy Zheng @ 2017-07-22 2:28 ` Icenowy Zheng 2017-07-24 7:58 ` [PATCH 0/3] Add ethernet0 alias for several A64 boards Maxime Ripard 3 siblings, 0 replies; 13+ messages in thread From: Icenowy Zheng @ 2017-07-22 2:28 UTC (permalink / raw) To: linux-arm-kernel The SoPine official baseboard uses the A64 chip's EMAC to provide an Ethernet link. Add the ethernet0 alias in the device tree, in order to let U-Boot generate a MAC address from the chip's SID. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts index 17eb1cc5bf6b..216e3a5dafae 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts @@ -53,6 +53,7 @@ "allwinner,sun50i-a64"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; -- 2.13.0 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 0/3] Add ethernet0 alias for several A64 boards 2017-07-22 2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng ` (2 preceding siblings ...) 2017-07-22 2:28 ` [PATCH 3/3] arm64: allwinner: a64: add ethernet0 alias for SoPine " Icenowy Zheng @ 2017-07-24 7:58 ` Maxime Ripard 2017-07-25 3:04 ` icenowy at aosc.io 3 siblings, 1 reply; 13+ messages in thread From: Maxime Ripard @ 2017-07-24 7:58 UTC (permalink / raw) To: linux-arm-kernel 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! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170724/54c525d7/attachment-0001.sig> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 0/3] Add ethernet0 alias for several A64 boards 2017-07-24 7:58 ` [PATCH 0/3] Add ethernet0 alias for several A64 boards Maxime Ripard @ 2017-07-25 3:04 ` icenowy at aosc.io 2017-07-25 3:18 ` Adam Borowski 0 siblings, 1 reply; 13+ messages in thread From: icenowy at aosc.io @ 2017-07-25 3:04 UTC (permalink / raw) To: linux-arm-kernel ? 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. > Maxime > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 0/3] Add ethernet0 alias for several A64 boards 2017-07-25 3:04 ` icenowy at aosc.io @ 2017-07-25 3:18 ` Adam Borowski 2017-07-25 14:31 ` Maxime Ripard 0 siblings, 1 reply; 13+ messages in thread From: Adam Borowski @ 2017-07-25 3:18 UTC (permalink / raw) To: linux-arm-kernel On Tue, Jul 25, 2017 at 11:04:24AM +0800, icenowy at 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. Meow! -- // If you believe in so-called "intellectual property", please immediately // cease using counterfeit alphabets. Instead, contact the nearest temple // of Amon, whose priests will provide you with scribal services for all // your writing needs, for Reasonable and Non-Discriminatory prices. ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 0/3] Add ethernet0 alias for several A64 boards 2017-07-25 3:18 ` Adam Borowski @ 2017-07-25 14:31 ` Maxime Ripard 2017-07-25 23:54 ` Icenowy Zheng 0 siblings, 1 reply; 13+ messages in thread From: Maxime Ripard @ 2017-07-25 14:31 UTC (permalink / raw) To: linux-arm-kernel On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: > On Tue, Jul 25, 2017 at 11:04:24AM +0800, icenowy at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170725/62f64eb0/attachment.sig> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 0/3] Add ethernet0 alias for several A64 boards 2017-07-25 14:31 ` Maxime Ripard @ 2017-07-25 23:54 ` Icenowy Zheng 2017-07-26 4:12 ` [linux-sunxi] " Chen-Yu Tsai 0 siblings, 1 reply; 13+ messages in thread From: Icenowy Zheng @ 2017-07-25 23:54 UTC (permalink / raw) To: linux-arm-kernel ? 2017?7?25? GMT+08:00 ??10:31:27, Maxime Ripard <maxime.ripard@free-electrons.com> ??: >On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: >> On Tue, Jul 25, 2017 at 11:04:24AM +0800, icenowy at 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. Should I resend them with different commit message? > >Maxime ^ permalink raw reply [flat|nested] 13+ messages in thread
* [linux-sunxi] Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards 2017-07-25 23:54 ` Icenowy Zheng @ 2017-07-26 4:12 ` Chen-Yu Tsai 0 siblings, 0 replies; 13+ messages in thread From: Chen-Yu Tsai @ 2017-07-26 4:12 UTC (permalink / raw) To: linux-arm-kernel On Wed, Jul 26, 2017 at 7:54 AM, Icenowy Zheng <icenowy@aosc.io> wrote: > > > ? 2017?7?25? GMT+08:00 ??10:31:27, Maxime Ripard <maxime.ripard@free-electrons.com> ??: >>On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: >>> On Tue, Jul 25, 2017 at 11:04:24AM +0800, icenowy at 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. > > Should I resend them with different commit message? Yes please. And add the "Fixes:" tag. ChenYu ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-08-10 7:04 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-07-22 2:28 [PATCH 0/3] Add ethernet0 alias for several A64 boards Icenowy Zheng 2017-07-22 2:28 ` [PATCH 1/3] arm64: allwinner: a64: add ethernet0 alias for BPi M64 EMAC node Icenowy Zheng 2017-08-10 3:56 ` [linux-sunxi] " Chen-Yu Tsai 2017-08-10 4:40 ` Icenowy Zheng 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 at aosc.io 2017-07-25 3:18 ` Adam Borowski 2017-07-25 14:31 ` Maxime Ripard 2017-07-25 23:54 ` Icenowy Zheng 2017-07-26 4:12 ` [linux-sunxi] " Chen-Yu Tsai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox