On Sat, 18 Jul 2020 at 08:50, Russell King - ARM Linux admin <li...@armlinux.org.uk> wrote: > Sorry, it should have been ``managed = "in-band-status";'' rather than > just "in-band".
Below are the outputs with "in-band-status". It functions the same as not reverting the patch; interface comes up, when bridged the two physical machines connected can ping each other, but nothing can tx or rx from the GT 8K. $ dmesg |grep f4000000 mvpp2 f4000000.ethernet: using 8 per-cpu buffers mvpp2 f4000000.ethernet eth1: Using firmware node mac address d0:63:b4:01:00:00 mvpp2 f4000000.ethernet eth2: Using firmware node mac address d0:63:b4:01:00:02 mvpp2 f4000000.ethernet eth2: configuring for inband/2500base-x link mode mvpp2 f4000000.ethernet eth1: PHY [f412a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL) mvpp2 f4000000.ethernet eth1: configuring for phy/sgmii link mode mv88e6085 f412a200.mdio-mii:04 lan2 (uninitialized): PHY [!cp1!config-space@f4000000!mdio@12a200!switch0@4!mdio:11] driver [Marvell 88E6390] (irq=72) mv88e6085 f412a200.mdio-mii:04 lan1 (uninitialized): PHY [!cp1!config-space@f4000000!mdio@12a200!switch0@4!mdio:12] driver [Marvell 88E6390] (irq=73) mv88e6085 f412a200.mdio-mii:04 lan4 (uninitialized): PHY [!cp1!config-space@f4000000!mdio@12a200!switch0@4!mdio:13] driver [Marvell 88E6390] (irq=74) mv88e6085 f412a200.mdio-mii:04 lan3 (uninitialized): PHY [!cp1!config-space@f4000000!mdio@12a200!switch0@4!mdio:14] driver [Marvell 88E6390] (irq=75) mvpp2 f4000000.ethernet: all ports have a low MTU, switching to per-cpu buffers mvpp2 f4000000.ethernet: using 8 per-cpu buffers mvpp2 f4000000.ethernet eth1: PHY [f412a200.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL) mvpp2 f4000000.ethernet eth1: configuring for phy/sgmii link mode mvpp2 f4000000.ethernet eth2: configuring for inband/2500base-x link mode mvpp2 f4000000.ethernet eth2: configuring for inband/2500base-x link mode mvpp2 f4000000.ethernet eth2: Link is Up - 2.5Gbps/Full - flow control rx/tx mvpp2 f4000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx $ cat /sys/kernel/debug/mv88e6xxx.0/regs GLOBAL GLOBAL2 SERDES 0 1 2 3 4 5 0: c801 0 ffff 9e07 9e5f 100f 100f 9e6f 170b 1: 0 803e ffff 3 3 3 3 3 201f 2: 0 0 ffff ff00 0 0 0 0 0 3: 0 0 ffff 3400 3400 3400 3400 3400 3400 4: 40a8 258 ffff 7c 43f 43c 43c 43f 373f 5: 1000 4f0 ffff 0 0 0 0 0 0 6: 0 1f0f ffff 7e 7c 7a 76 6e 5f 7: 0 703f ffff 1 0 0 0 0 0 8: 0 7800 ffff 2080 2080 2080 2080 2080 2080 9: 0 1500 ffff 1 1 1 1 1 1 a: 509 0 ffff 8000 0 0 0 0 0 b: 3000 31ff ffff 1 2 4 8 10 0 c: 207 0 ffff 0 0 0 0 0 0 d: 3333 529 ffff 0 0 0 0 0 0 e: 1 6 ffff 0 0 0 0 0 0 f: 3 f00 ffff 9100 9100 9100 9100 9100 dada 10: 0 0 ffff 0 0 0 0 0 0 11: 0 0 ffff 0 0 0 0 0 0 12: 5555 0 ffff 0 0 0 0 0 0 13: 5555 303 ffff 0 0 0 0 0 0 14: aaaa 0 ffff 0 0 0 0 0 0 15: aaaa 0 ffff 0 0 0 0 0 0 16: ffff 0 0 0 33 33 33 33 0 17: ffff 0 ffff 0 0 0 0 0 0 18: fa41 15f6 ffff 3210 3210 3210 3210 3210 3210 19: 0 0 ffff 7654 7654 7654 7654 7654 7654 1a: 3ff 0 ffff 0 0 0 0 1ea0 a100 1b: 16b 110f ffff 8000 8000 8000 8000 8092 8000 1c: 7c0 0 ffff 0 0 0 0 0 0 1d: 1400 0 ffff 0 0 0 0 0 0 1e: 0 0 ffff f000 f000 f000 f000 f000 f000 1f: 0 0 ffff 0 bf 0 0 f2 0