netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* secondary CPU port facing switch does not come up/online
@ 2020-06-21 20:24 ѽ҉ᶬḳ℠
  2020-06-21 21:08 ` Florian Fainelli
  0 siblings, 1 reply; 7+ messages in thread
From: ѽ҉ᶬḳ℠ @ 2020-06-21 20:24 UTC (permalink / raw)
  To: netdev


[-- Attachment #1.1.1: Type: text/plain, Size: 1673 bytes --]

{"kernel":"5.4.46","hostname":"OpenWrt","system":"ARMv7 Processor rev 1 
(v7l)","model":"Turris 
Omnia","board_name":"cznic,turris-omnia","release":{"distribution":"OpenWrt","version":"SNAPSHOT","revision":"r13600-9a477b833a","target":"mvebu/cortexa9","description":"OpenWrt 
SNAPSHOT r13600-9a477b833a"}}
_____

With the below cited DT both CPU ports facing the node's build-in switch 
are brought online at boot time with kernel 4.14 but since having 
switched to kernel 5.4 only one CPU port gets online. It is as if the 
kernel discards the presence of the secondary CPU port. Kernel log only 
prints for the offline port just a single entry:

mvneta f1070000.ethernet eth0: Using hardware mac address

Swapping eth1 to port6 and eth0 to port6 then eth0 is brought online but 
eth1 is not. Removing port5 then the port6 listed port is brought up/online.

Once the node is booted the offline port can brought up with ip l set 
up. This seems like a regression bug in between the kernel versions.

____
DT

cpu_port5: ports@5 {
     reg = <5>;
     label = "cpu";
     ethernet = <&eth1>;

     fixed-link {
         speed = <1000>;
         full-duplex;
     };
};

cpu_port6: ports@6 {
     reg = <6>;
     label = "cpu";
     ethernet = <&eth0>;

     fixed-link {
         speed = <1000>;
         full-duplex;
     };
};
------------
kconf

CONFIG_MTD_NAND_MARVELL=y
# CONFIG_PATA_MARVELL is not set
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_MARVELL_PHY=y
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_WLAN_VENDOR_MARVELL is not set
CONFIG_CRYPTO_DEV_MARVELL_CESA=y

[-- Attachment #1.1.2: OpenPGP_0xF4F735931F05C5CE.asc --]
[-- Type: application/pgp-keys, Size: 3155 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-06-22 13:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21 20:24 secondary CPU port facing switch does not come up/online ѽ҉ᶬḳ℠
2020-06-21 21:08 ` Florian Fainelli
2020-06-22  7:39   ` ѽ҉ᶬḳ℠
2020-06-22 12:31     ` Marek Behun
2020-06-22 12:58       ` ѽ҉ᶬḳ℠
2020-06-22 13:06         ` Marek Behun
2020-06-22 13:23           ` ѽ҉ᶬḳ℠

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