lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 3 Dec 2020 14:57:42 +0000
From:   Alayev Michael <malayev@....co.il>
To:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "mic.al.linux@...il.com" <mic.al.linux@...il.com>,
        "andrew@...n.ch" <andrew@...n.ch>
Subject: net: dsa: mv88e6xxx : linux v5.4 crash

Hi Andrew,


> So either of_phy_is_fixed_link(np) is returning false, or of_node_get(np) returns NULL.
> You need to do some debugging and figure out which and why.

I did some testing and debugging as you suggested.


To remind you, my device tree is:

&gem0 {

status = "okay";

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

	mdio1: mdio {
		#address-cells = <1>;
		#size-cells = <0>;
		

		switch0: switch@2 {
			compatible = "marvell,mv88e6190";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <2>;

			dsa,member = <0 0>;

			ports {
				#address-cells = <1>;
				#size-cells = <0>;
				
				switch0phy1: port@0 {
					reg = <0>;
					label = "uid208-cpu";
					ethernet = <&gem0>;
					phy-mode = "rgmii-id";
					fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				port@1 {
					reg = <1>;
					label = "uid201-1A";
					};
					
				port@2 {
					reg = <2>;
					label = "uid202-2A-p9-1A";
					phy-mode = "1000base-x";
			 		fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				port@3 {
					reg = <3>;
					label = "uid203-3A-p9-2A";
					phy-mode = "1000base-x";
			 		fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};
					
				port@4 {
					reg = <4>;
					label = "uid204-4A-p9-3A";
					phy-mode = "1000base-x";
			 		fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				port@5 {
					reg = <5>;
					label = "uid205-5A";
				};
					
				port@6 {
					reg = <6>;
					label = "uid206-6A";
				};

				port@7 {
					reg = <7>;
					label = "uid207-7A";
				};
					
				port@8 {
					reg = <8>;
					label = "uid208-8A";
				};

				port@9 {
					reg = <9>;
					label = "uid209-9A-p9-0A";
					phy-mode = "1000base-x";
			 		fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};			

				switch0port10: port@10 {
					reg = <10>;
					label = "dsa";
					link = <&switch1port10>; 
					phy-mode = "1000base-x";
			 		fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};
			};

		};


		switch1: switch@3 {
			compatible = "marvell,mv88e6190";
			#address-cells = <1>;
			#size-cells = <0>;
			reg = <3>;

			dsa,member = <0 1>;

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@1 {
					reg = <1>;
					label = "uid211-1B";
				};

				port@2 {
					reg = <2>;
					label = "uid212-2B-p9-1B";
					phy-mode = "1000base-x";
		 			fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				port@3 {
					reg = <3>;
					label = "uid213-3B-p9-2B";
					phy-mode = "1000base-x";
		 			fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				port@4 {
					reg = <4>;
					label = "uid214-4B-p9-3B";
					phy-mode = "1000base-x";
		 			fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				port@5 {
					reg = <5>;
					label = "uid215-5B";
				};

				port@6 {
					reg = <6>;
					label = "uid216-6B";
				};

				port@7 {
					reg = <7>;
					label = "uid217-7B";
				};

				port@8 {
					reg = <8>;
					label = "uid218-8B";
				};

				port@9 {
					reg = <9>;
					label = "uid219-9B-p9-0B";
					phy-mode = "1000base-x";
		 			fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};

				switch1port10: port@10 {
					reg = <10>;
					label = "dsa";
					link = <&switch0port10>; 
					phy-mode = "1000base-x";
				 	fixed-link {
						speed = <1000>;
						full-duplex;
					};
				};
			};
		};
	};//mdio
};//gem0


Startup log:
...
[    0.200787] smp: Brought up 1 node, 2 CPUs
[    0.200818] SMP: Total of 2 processors activated (1333.33 BogoMIPS).
[    0.200842] CPU: All CPU(s) started in SVC mode.
[    0.201348] devtmpfs: initialized
[    0.205447] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.205889] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.205941] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.207074] pinctrl core: initialized pinctrl subsystem
[    0.208109] NET: Registered protocol family 16
[    0.212409] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.213490] cpuidle: using governor menu
[    0.221459] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.221499] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.221640] ==MICDBG: lib/devres.c  devm_ioremap_resource  161 dev init name=(null) dev name=f800c000.ocmc res name=(null) res start=0xfffc0000
[    0.221713] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x(ptrval)
[    0.221754] ==MICDBG: lib/devres.c  devm_ioremap_resource  161 dev init name=(null) dev name=f800c000.ocmc res name=ocmc@...0c000 res start=0xf800c000
[    0.222377] e0000000.serial: ttyPS0 at MMIO 0xe0000000 (irq = 24, base_baud = 6249999) is a xuartps
[    0.658312] printk: console [ttyPS0] enabled
[    0.671689] vgaarb: loaded
[    0.674789] SCSI subsystem initialized
[    0.678785] usbcore: registered new interface driver usbfs
[    0.684371] usbcore: registered new interface driver hub
[    0.689780] usbcore: registered new device driver usb
[    0.695094] pps_core: LinuxPPS API ver. 1 registered
[    0.700062] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@...ux.it>
[    0.709252] PTP clock support registered
[    0.713226] EDAC MC: Ver: 3.0.0
[    0.716777] FPGA manager framework
[    0.721009] clocksource: Switched to clocksource arm_global_timer
[    0.737084] NET: Registered protocol family 2
[    0.742133] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.750538] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.758380] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.765612] TCP: Hash tables configured (established 4096 bind 4096)
[    0.772072] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.778634] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.785825] NET: Registered protocol family 1
[    0.790737] RPC: Registered named UNIX socket transport module.
[    0.796675] RPC: Registered udp transport module.
[    0.801409] RPC: Registered tcp transport module.
[    0.806121] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.812586] PCI: CLS 0 bytes, default 64
[    0.816729] Trying to unpack rootfs image as initramfs...
[    1.690616] Freeing initrd memory: 10052K
[    1.694849] hw perfevents: no interrupt-affinity property for /pmu@...91000, guessing.
[    1.703047] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.712736] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.720144] jffs2: version 2.2. (NAND) (SUMMARY)  ?© 2001-2006 Red Hat, Inc.
[    1.727465] io scheduler mq-deadline registered
[    1.732023] io scheduler kyber registered
[    1.736357] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    1.742616] ==MICDBG: lib/devres.c  devm_ioremap_resource  161 dev init name=(null) dev name=e000a000.gpio res name=gpio@...0a000 res start=0xe000a000
[    1.757246] ==MICDBG: lib/devres.c  devm_ioremap_resource  161 dev init name=(null) dev name=f8003000.dmac res name=dmac@...03000 res start=0xf8003000
[    1.772010] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[    1.778729] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    1.796481] brd: module loaded
[    1.805575] loop: module loaded
[    1.809700] ==MICDBG: lib/devres.c  devm_ioremap_resource  161 dev init name=(null) dev name=e000d000.spi res name=spi@...0d000 res start=0xe000d000
[    1.824427] spi-nor spi0.0: s25fl256s1 (65536 Kbytes)
[    1.829512] 1 fixed-partitions partitions found on MTD device spi0.0
[    1.835900] Creating 1 MTD partitions on "spi0.0":
[    1.840755] 0x000000000000-0x000004000000 : "qspi-flash"
[    1.851056] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  381
[    1.857932] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  395
[    1.864769] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  400
[    1.871601] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  403
[    1.878400] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  416
[    1.885213] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  419
[    1.892023] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    1.898815] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=0
[    1.906587] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=0
[    1.914353] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    1.921170] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=1
[    1.928923] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=1
[    1.936687] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    1.943496] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=2
[    1.951262] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=2
[    1.959014] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    1.965821] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=3
[    1.973586] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=3
[    1.981352] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    1.988150] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=4
[    1.995919] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=4
[    2.003686] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.010493] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=5
[    2.018249] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=5
[    2.026020] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.032831] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=6
[    2.040594] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=6
[    2.048349] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.055155] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=7
[    2.062921] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=7
[    2.070685] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.077484] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=8
[    2.085254] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=8
[    2.093021] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.099817] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=9
[    2.107627] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=9
[    2.115403] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.122217] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=10
[    2.130057] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=10
[    2.137915] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.144724] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=11
[    2.152576] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=11
[    2.160427] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.167218] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=12
[    2.175075] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=12
[    2.182928] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.189725] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=13
[    2.197582] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=13
[    2.205436] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.212245] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=14
[    2.220085] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=14
[    2.227941] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.234754] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=15
[    2.242614] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=15
[    2.250466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.257264] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=16
[    2.265121] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=16
[    2.272975] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.279771] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=17
[    2.287628] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=17
[    2.295482] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.302292] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=18
[    2.310131] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=18
[    2.317980] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.324797] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=19
[    2.332653] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=19
[    2.340503] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.347293] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=20
[    2.355150] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=20
[    2.363004] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.369800] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=21
[    2.377657] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=21
[    2.385511] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.392320] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=22
[    2.400160] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=22
[    2.408009] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.414820] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=23
[    2.422679] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=23
[    2.430533] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.437331] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=24
[    2.445188] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=24
[    2.453042] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.459838] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=25
[    2.467695] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=25
[    2.475549] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.482358] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=26
[    2.490208] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=26
[    2.498051] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.504857] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=27
[    2.512710] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=27
[    2.520567] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.527360] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=28
[    2.535218] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=28
[    2.543071] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.549867] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=29
[    2.557724] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=29
[    2.565578] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.572387] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=30
[    2.580238] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=30
[    2.588080] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.594886] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=31
[    2.602738] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=31
[    2.610589] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  433
[    2.617381] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  436 bus name=Fixed MDIO Bus id=fixed-0
[    2.627240] libphy: Fixed MDIO Bus: probed
[    2.632114] CAN device driver interface
[    2.636318] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_probe  4386 pdev name=e000b000.ethernet pdev id=-1 pdev resource name=ethernet@...0b000
[    2.650363] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_probe  4387 dev init name=(null) driver_name=macb
[    2.661112] ==MICDBG: lib/devres.c  devm_ioremap_resource  161 dev init name=(null) dev name=e000b000.ethernet res name=ethernet@...0b000 res start=0xe000b000
[    2.675414] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_probe  4425 after assign: dev name=eth%d, pdev init name=(null) pdev driver_name=macb
[    2.689308] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_probe  4501
[    2.697347] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_probe  4514
[    2.704792] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_init  650 MACB_mii_bus e000b000.ethernet ffffffff e000b000.ethernet-ffffffff
[    2.718215] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_init  655
[    2.725812] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  214
[    2.732199] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  229 MACB_mii_bus mdio mdio
[    2.740578] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  381
[    2.747455] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  395
[    2.754266] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  400
[    2.761104] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  403
[    2.767900] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  416
[    2.774711] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  419
[    2.781523] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.788314] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.795124] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.801929] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.808721] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.815530] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.822336] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.829127] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.835945] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.842752] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.849543] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.856353] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.863158] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.869950] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.876759] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.883564] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.890367] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.897161] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.903970] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.910774] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.917568] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.924377] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.931190] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.937984] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.944794] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.951598] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.958390] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.965199] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.972005] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.978797] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.985606] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.992411] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    2.999204] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  433
[    3.006015] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  436 bus name=MACB_mii_bus id=e000b000.ethernet-ffffffff
[    3.017351] libphy: MACB_mii_bus: probed
[    3.021287] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  246 MACB_mii_bus mdio mdio
[    3.029654] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  249 MACB_mii_bus mdio mdio
[    3.038040] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  171
[    3.044853] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  174 NAME=switch
[    3.052710] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  177
[    3.059418] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  180
[    3.066150] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  188
[    3.072868] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  196
[    3.079574] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  263 MACB_mii_bus mdio mdio switch switch@2
[    3.089342] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register_device  110
[    3.130220] mv88e6085 e000b000.ethernet-ffffffff:02: switch 0xa10 detected: Marvell 88E6390X, revision 1
[    4.840243] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2973 switch switch@2
[    4.849573] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2980  child ptr=0x0
[    4.858831] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2924
[    4.866700] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  214
[    4.873074] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  218
[    4.879430] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  381
[    4.886329] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  395
[    4.893149] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  400
[    4.899944] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  403
[    4.906753] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  416
[    4.913557] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  419
[    4.920359] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    4.927155] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=0
[    5.310624] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=0
[    5.318387] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    5.325199] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=1
[    6.170659] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=1
[    6.178421] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    6.185233] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=2
[    7.030657] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=2
[    7.038419] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    7.045229] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=3
[    7.890658] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=3
[    7.898426] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    7.905236] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=4
[    8.750657] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=4
[    8.758421] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    8.765233] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=5
[    9.610660] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=5
[    9.618428] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[    9.625239] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=6
[   10.470659] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=6
[   10.478424] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   10.485236] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=7
[   11.330660] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=7
[   11.338421] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   11.345233] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=8
[   12.190660] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=8
[   12.198427] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   12.205238] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=9
[   12.620620] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=9
[   12.628377] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   12.635181] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=10
[   13.050621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=10
[   13.058462] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   13.065267] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=11
[   13.480621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=11
[   13.488471] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   13.495283] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=12
[   13.910621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=12
[   13.918468] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   13.925272] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=13
[   14.340621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=13
[   14.348466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   14.355272] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=14
[   14.770621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=14
[   14.778465] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   14.785269] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=15
[   15.200621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=15
[   15.208465] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   15.215277] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=16
[   15.630621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=16
[   15.638462] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   15.645267] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=17
[   16.060620] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=17
[   16.068460] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   16.075265] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=18
[   16.490621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=18
[   16.498467] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   16.505272] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=19
[   16.920621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=19
[   16.928466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   16.935270] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=20
[   17.350622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=20
[   17.358467] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   17.365278] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=21
[   17.780621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=21
[   17.788463] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   17.795268] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=22
[   18.210621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=22
[   18.218462] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   18.225275] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=23
[   18.640622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=23
[   18.648469] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   18.655273] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=24
[   19.070675] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=24
[   19.078521] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   19.085335] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=25
[   19.500622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=25
[   19.508466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   19.515270] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=26
[   19.930621] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=26
[   19.938464] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   19.945269] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=27
[   20.360622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=27
[   20.368463] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   20.375267] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=28
[   20.790622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=28
[   20.798462] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   20.805266] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=29
[   21.220623] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=29
[   21.228470] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   21.235282] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=30
[   21.650622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=30
[   21.658468] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   21.665272] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=31
[   22.080622] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=31
[   22.088466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  433
[   22.095272] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  436 bus name=mv88e6xxx SMI id=mv88e6xxx-0
[   22.105387] libphy: mv88e6xxx SMI: probed
[   22.109401] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2932
[   22.117249] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2937
[   22.125105] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2941
[   22.132952] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2985
[   22.140897] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2991 ports (null)
[   23.310393] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  249 MACB_mii_bus mdio mdio
[   23.318770] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  171
[   23.325604] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  174 NAME=switch
[   23.333474] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  177
[   23.340200] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  180
[   23.346922] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  188
[   23.353646] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_child_is_phy  196
[   23.360372] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  263 MACB_mii_bus mdio mdio switch switch@3
[   23.370122] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register_device  110
[   23.410223] mv88e6085 e000b000.ethernet-ffffffff:03: switch 0xa10 detected: Marvell 88E6390X, revision 1
[   25.120254] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2973 switch switch@3
[   25.129585] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2980  child ptr=0x0
[   25.138845] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2924
[   25.146713] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  214
[   25.153174] ==MICDBG: drivers/of/of_mdio.c  of_mdiobus_register  218
[   25.159541] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  381
[   25.166439] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  395
[   25.173257] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  400
[   25.180052] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  403
[   25.186862] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  416
[   25.193665] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  419
[   25.200468] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   25.207263] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=0
[   25.600218] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=0
[   25.607971] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   25.614779] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=1
[   26.450663] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=1
[   26.458427] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   26.465237] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=2
[   27.310664] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=2
[   27.318432] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   27.325243] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=3
[   28.170663] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=3
[   28.178428] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   28.185239] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=4
[   29.030662] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=4
[   29.038425] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   29.045236] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=5
[   29.890663] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=5
[   29.898433] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   29.905242] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=6
[   30.750664] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=6
[   30.758428] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   30.765239] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=7
[   31.610667] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=7
[   31.618436] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   31.625245] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=8
[   32.470664] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=8
[   32.478432] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   32.485242] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=9
[   32.900625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=9
[   32.908381] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   32.915185] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=10
[   33.330625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=10
[   33.338469] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   33.345280] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=11
[   33.760624] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=11
[   33.768465] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   33.775270] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=12
[   34.190624] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=12
[   34.198472] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   34.205277] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=13
[   34.620625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=13
[   34.628471] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   34.635275] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=14
[   35.050624] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=14
[   35.058470] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   35.065273] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=15
[   35.480625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=15
[   35.488468] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   35.495282] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=16
[   35.910625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=16
[   35.918466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   35.925271] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=17
[   36.340626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=17
[   36.348473] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   36.355279] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=18
[   36.770625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=18
[   36.778471] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   36.785276] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=19
[   37.200626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=19
[   37.208471] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   37.215284] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=20
[   37.630643] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=20
[   37.638486] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   37.645292] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=21
[   38.060626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=21
[   38.068467] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   38.075272] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=22
[   38.490625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=22
[   38.498466] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   38.505271] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=23
[   38.920625] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=23
[   38.928472] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   38.935278] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=24
[   39.350626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=24
[   39.358472] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   39.365285] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=25
[   39.780626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=25
[   39.788470] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   39.795275] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=26
[   40.210626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=26
[   40.218468] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   40.225273] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=27
[   40.640626] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=27
[   40.648467] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   40.655271] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=28
[   41.070680] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=28
[   41.078527] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   41.085342] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=29
[   41.500627] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=29
[   41.508473] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   41.515277] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=30
[   41.930627] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=30
[   41.938472] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  421
[   41.945276] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  424 phy_addr=31
[   42.360627] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  426 phy_addr=31
[   42.368470] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  433
[   42.375276] ==MICDBG: drivers/net/phy/mdio_bus.c  __mdiobus_register  436 bus name=mv88e6xxx SMI id=mv88e6xxx-1
[   42.385391] libphy: mv88e6xxx SMI: probed
[   42.389405] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2932
[   42.397253] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2937
[   42.405100] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdio_register  2941
[   42.412947] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2985
[   42.420894] ==MICDBG: drivers/net/dsa/mv88e6xxx/chip.c  mv88e6xxx_mdios_register  2991 ports (null)
[   42.430255] MLM miiMarv Device Created!
[   42.430317] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_init  685
[   42.441784] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_probe  516
[   42.449453] ==MICDBG: drivers/of/of_mdio.c  of_phy_is_fixed_link  468
[   42.455912] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_probe  520
[   42.463589] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_probe  551 phy_node_name=ethernet@...0b000
[   42.474049] ==MICDBG: drivers/of/of_mdio.c  of_phy_find_device  323
[   42.480321] ==MICDBG: drivers/of/of_mdio.c  of_phy_find_device  326
[   42.486608] ==MICDBG: drivers/of/of_mdio.c  of_phy_find_device  328
[   42.492893] ==MICDBG: drivers/of/of_mdio.c  of_phy_find_device  338
[   42.499166] ==MICDBG: drivers/of/of_mdio.c  of_phy_connect  363
[   42.505096] ==MICDBG: drivers/net/ethernet/cadence/macb_main.c  macb_mii_init  695
[   42.512859] 8<--- cut here ---
[   42.515917] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[   42.524029] pgd = (ptrval)
[   42.526736] [00000004] *pgd=00000000
[   42.530316] Internal error: Oops - BUG: 17 [#1] PREEMPT SMP ARM
[   42.536235] Modules linked in:
[   42.539292] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.0-MESC #108
[   42.545732] Hardware name: Xilinx Zynq Platform
[   42.550272] PC is at dsa_unregister_switch+0x10/0x74
[   42.555249] LR is at atomic_cmpxchg_relaxed+0xc/0x28
[   42.560220] pc : [<c05ac9b4>]    lr : [<c014d814>]    psr: 600b0013
[   42.566488] sp : df443d38  ip : 00000000  fp : c06441b4
[   42.571711] r10: ffffffed  r9 : dfbe9cb0  r8 : df475c10
[   42.576937] r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : df430040
[   42.583467] r3 : 53071d90  r2 : 53071d90  r1 : 00000000  r0 : 00000001
[   42.590004] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   42.597149] Control: 18c5387d  Table: 1ec9004a  DAC: 00000051
[   42.602900] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
[   42.608907] Stack: (0xdf443d38 to 0xdf444000)
[   42.613264] 3d20:                                                       df430040 c091d718
[   42.621455] 3d40: 00000000 c042cb60 dec77800 c0425904 dec77800 c03cb4f4 dec77800 df480230
[   42.629648] 3d60: c091b230 dec0f078 df475c10 c03ca238 dec77800 dec77844 c0903c48 c03c7158
[   42.637842] 3d80: dec0f2c4 c04250e0 a00b0013 dec0f250 dec0f2c4 53071d90 dec77800 dec77800
[   42.646036] 3da0: dec0f254 dec0f2c4 df475c10 c042584c dec0f000 c04250d4 df5cc000 df5c8000
[   42.654230] 3dc0: c0948a88 df5c8500 df475c10 c043b380 c07155e9 df470600 ffffffff dec0f008
[   42.662423] 3de0: 00000000 dfbe9900 dfbe9900 00000001 c0437cc0 00000002 dec09140 dec09100
[   42.670617] 3e00: dec090c0 00000000 00000000 c0703832 dec13268 53071d90 00000000 00000000
[   42.678811] 3e20: df475c10 c091d8dc 00000000 c091d8dc 00000000 fffffdfb 00000000 c03cc720
[   42.687005] 3e40: df475c10 c0948320 00000000 c03cad54 df475c10 c091d8dc c091d8dc c03cb34c
[   42.695199] 3e60: c092b3c0 c092b3c0 c082c83c c03cb160 c091d8dc df475c10 53071d90 00000000
[   42.703393] 3e80: df475c10 c091d8dc c03cb34c c092b3c0 c092b3c0 c03cb334 00000000 df475c10
[   42.711587] 3ea0: c091d8dc c03cb3f8 df475c10 c0903c48 c091d8dc c03c9408 c092b3c0 df4bff58
[   42.719781] 3ec0: df4978b4 53071d90 df4bff6c c091d8dc 00000000 dec11180 c09182c0 c03ca324
[   42.727974] 3ee0: c071570e c071570f 00000000 c091d8dc c0903c48 c081c028 00000000 c03cbab0
[   42.736169] 3f00: 00000006 c0903c48 c081c028 c01026e0 00000000 df443f18 00000000 c0800500
[   42.744362] 3f20: c0788864 000000ac 00000006 00000006 00000000 c090b3e0 00000000 cccccccd
[   42.752556] 3f40: 00000000 00000000 c092b3c0 53071d90 00000000 00000006 c082c830 53071d90
[   42.760750] 3f60: 00000006 c082c834 000000ac c0835470 c092b3c0 c0800e38 00000006 00000006
[   42.768943] 3f80: 00000000 c0800508 00000000 c05e9294 00000000 00000000 00000000 00000000
[   42.777137] 3fa0: 00000000 c05e929c 00000000 c01010e8 00000000 00000000 00000000 00000000
[   42.785330] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   42.793525] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   42.801736] [<c05ac9b4>] (dsa_unregister_switch) from [<c042cb60>] (mv88e6xxx_remove+0x1c/0x6c)
[   42.810462] [<c042cb60>] (mv88e6xxx_remove) from [<c0425904>] (mdio_remove+0x1c/0x38)
[   42.818317] [<c0425904>] (mdio_remove) from [<c03cb4f4>] (device_release_driver_internal+0xf0/0x194)
[   42.827473] [<c03cb4f4>] (device_release_driver_internal) from [<c03ca238>] (bus_remove_device+0xcc/0xdc)
[   42.837061] [<c03ca238>] (bus_remove_device) from [<c03c7158>] (device_del+0x170/0x288)
[   42.845088] [<c03c7158>] (device_del) from [<c042584c>] (mdio_device_remove+0xc/0x18)
[   42.852934] [<c042584c>] (mdio_device_remove) from [<c04250d4>] (mdiobus_unregister+0x50/0x84)
[   42.861574] [<c04250d4>] (mdiobus_unregister) from [<c043b380>] (macb_probe+0x8ec/0xbac)
[   42.869693] [<c043b380>] (macb_probe) from [<c03cc720>] (platform_drv_probe+0x48/0x98)
[   42.877631] [<c03cc720>] (platform_drv_probe) from [<c03cad54>] (really_probe+0x140/0x2f8)
[   42.885920] [<c03cad54>] (really_probe) from [<c03cb160>] (driver_probe_device+0x10c/0x154)
[   42.894287] [<c03cb160>] (driver_probe_device) from [<c03cb334>] (device_driver_attach+0x44/0x5c)
[   42.903176] [<c03cb334>] (device_driver_attach) from [<c03cb3f8>] (__driver_attach+0xac/0xb8)
[   42.911715] [<c03cb3f8>] (__driver_attach) from [<c03c9408>] (bus_for_each_dev+0x64/0xa0)
[   42.919909] [<c03c9408>] (bus_for_each_dev) from [<c03ca324>] (bus_add_driver+0xdc/0x1bc)
[   42.928103] [<c03ca324>] (bus_add_driver) from [<c03cbab0>] (driver_register+0xb0/0xf8)
[   42.936127] [<c03cbab0>] (driver_register) from [<c01026e0>] (do_one_initcall+0x74/0x164)
[   42.944330] [<c01026e0>] (do_one_initcall) from [<c0800e38>] (kernel_init_freeable+0x108/0x1d8)
[   42.953052] [<c0800e38>] (kernel_init_freeable) from [<c05e929c>] (kernel_init+0x8/0x110)
[   42.961252] [<c05e929c>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[   42.968828] Exception stack(0xdf443fb0 to 0xdf443ff8)
[   42.973885] 3fa0:                                     00000000 00000000 00000000 00000000
[   42.982080] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   42.990272] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   42.996902] Code: e92d4070 e1a05000 e59f005c eb00fe44 (e9950030)
[   43.003032] ---[ end trace b3054371800a3ffd ]---
[   43.007675] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[   43.015351] CPU0: stopping
[   43.018068] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           5.4.0-MESC #108
[   43.025907] Hardware name: Xilinx Zynq Platform
[   43.030460] [<c010e2a8>] (unwind_backtrace) from [<c010a2d8>] (show_stack+0x10/0x14)
[   43.038233] [<c010a2d8>] (show_stack) from [<c05d54bc>] (dump_stack+0xb4/0xd4)
[   43.045475] [<c05d54bc>] (dump_stack) from [<c010c878>] (ipi_cpu_stop+0x3c/0x98)
[   43.052887] [<c010c878>] (ipi_cpu_stop) from [<c010d0d8>] (handle_IPI+0x6c/0x90)
[   43.060298] [<c010d0d8>] (handle_IPI) from [<c031959c>] (gic_handle_irq+0x84/0x90)
[   43.067885] [<c031959c>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0xa8)
[   43.075375] Exception stack(0xc0901f18 to 0xc0901f60)


My questions:
1. Seems like the switches have passed their identification phase OK but still the dsa is unable to finish because its missing a phy node. why is it still looking for a phy after it had identified all phys?
2. Can you please offer an example for a devicetree dealing with proper dsa config? I've seen devicetree documentation which had node 'dsa' in it but I use 'dsa,member' node. Its a bit confusing.
3. why is the kernel scans all the mdio addresses? it takes to long (about 20 seconds to scan each switch).

 > Also, note that this code has changed a lot since v5.4. You might want
to try v5.9, or v5.10-rc2.
I'm using Xilinx's kernel. Its last version is based on v5.4.


Thanks
Michael Alayev

*********************************************************************************************** Please consider the environment before printing this email ! The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. Visit us at: www.iai.co.il

Powered by blists - more mailing lists