linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* MT7621 ethernet does not get probed on net-next branch after 5.15 merge
@ 2021-10-15 14:23 DENG Qingfang
  2021-10-15 14:44 ` Sergio Paracuellos
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: DENG Qingfang @ 2021-10-15 14:23 UTC (permalink / raw)
  To: netdev, Matthias Brugger, Siddhant Gupta, Ilya Lipnitskiy,
	Sergio Paracuellos, moderated list:ARM/Mediatek SoC support,
	Felix Fietkau, John Crispin, Sean Wang, Mark Lee, Russell King,
	Jakub Kicinski, David Miller, René van Dorst
  Cc: openwrt-devel

Hi,

After the merge of 5.15.y into net-next, MT7621 ethernet
(mtk_eth_soc.c) does not get probed at all.

Kernel log before 5.15 merge:
...
libphy: Fixed MDIO Bus: probed
libphy: mdio: probed
mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
...

Kernel log after 5.15 merge:
...
libphy: Fixed MDIO Bus: probed
mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
...


I tried adding debug prints into the .mtk_probe function, but it did
not execute.
There are no dts changes for MT7621 between 5.14 and 5.15, so I
believe it should be something else.

Any ideas?

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: MT7621 ethernet does not get probed on net-next branch after 5.15 merge
  2021-10-15 14:23 MT7621 ethernet does not get probed on net-next branch after 5.15 merge DENG Qingfang
@ 2021-10-15 14:44 ` Sergio Paracuellos
  2021-12-10  9:06 ` Sergio Paracuellos
  2022-01-19 16:13 ` Arınç ÜNAL
  2 siblings, 0 replies; 4+ messages in thread
From: Sergio Paracuellos @ 2021-10-15 14:44 UTC (permalink / raw)
  To: DENG Qingfang
  Cc: netdev, Matthias Brugger, Siddhant Gupta, Ilya Lipnitskiy,
	moderated list:ARM/Mediatek SoC support, Felix Fietkau,
	John Crispin, Sean Wang, Mark Lee, Russell King, Jakub Kicinski,
	David Miller, René van Dorst, OpenWrt Development List

Hi Qingfang,

On Fri, Oct 15, 2021 at 4:23 PM DENG Qingfang <dqfext@gmail.com> wrote:
>
> Hi,
>
> After the merge of 5.15.y into net-next, MT7621 ethernet
> (mtk_eth_soc.c) does not get probed at all.
>
> Kernel log before 5.15 merge:
> ...
> libphy: Fixed MDIO Bus: probed
> libphy: mdio: probed
> mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
> mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
> mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
> ...
>
> Kernel log after 5.15 merge:
> ...
> libphy: Fixed MDIO Bus: probed
> mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
> ...
>
>
> I tried adding debug prints into the .mtk_probe function, but it did
> not execute.
> There are no dts changes for MT7621 between 5.14 and 5.15, so I
> believe it should be something else.
>
> Any ideas?

Maybe you have a chance to try git bisect to see what is the commit
that introduces that regression and report here?

Best regards,
    Sergio Paracuellos

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: MT7621 ethernet does not get probed on net-next branch after 5.15 merge
  2021-10-15 14:23 MT7621 ethernet does not get probed on net-next branch after 5.15 merge DENG Qingfang
  2021-10-15 14:44 ` Sergio Paracuellos
@ 2021-12-10  9:06 ` Sergio Paracuellos
  2022-01-19 16:13 ` Arınç ÜNAL
  2 siblings, 0 replies; 4+ messages in thread
From: Sergio Paracuellos @ 2021-12-10  9:06 UTC (permalink / raw)
  To: DENG Qingfang
  Cc: netdev, Matthias Brugger, Siddhant Gupta, Ilya Lipnitskiy,
	moderated list:ARM/Mediatek SoC support, Felix Fietkau,
	John Crispin, Sean Wang, Mark Lee, Russell King, Jakub Kicinski,
	David Miller, René van Dorst, OpenWrt Development List

Hi Qingfang,

On Fri, Oct 15, 2021 at 4:23 PM DENG Qingfang <dqfext@gmail.com> wrote:
>
> Hi,
>
> After the merge of 5.15.y into net-next, MT7621 ethernet
> (mtk_eth_soc.c) does not get probed at all.
>
> Kernel log before 5.15 merge:
> ...
> libphy: Fixed MDIO Bus: probed
> libphy: mdio: probed
> mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
> mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
> mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
> ...
>
> Kernel log after 5.15 merge:
> ...
> libphy: Fixed MDIO Bus: probed
> mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
> ...
>
>
> I tried adding debug prints into the .mtk_probe function, but it did
> not execute.
> There are no dts changes for MT7621 between 5.14 and 5.15, so I
> believe it should be something else.
>
> Any ideas?

I had time to create a new image for my gnubee board using kernel 5.15
and this problem does not exist on my side. Since no more mails have
come for a while I guess this was a problem from your configuration,
but just in case I preferred to answer to let you know. I am currently
using v5.15.7 from linux-stable with some other patches that will be
for 5.16. Just in case, you can check the kernel tree [0] I am
currently using.

Best regards,
     Sergio Paracuellos

[0]: https://github.com/paraka/linux/tree/gbpc1-5.15

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

* Re: MT7621 ethernet does not get probed on net-next branch after 5.15 merge
  2021-10-15 14:23 MT7621 ethernet does not get probed on net-next branch after 5.15 merge DENG Qingfang
  2021-10-15 14:44 ` Sergio Paracuellos
  2021-12-10  9:06 ` Sergio Paracuellos
@ 2022-01-19 16:13 ` Arınç ÜNAL
  2 siblings, 0 replies; 4+ messages in thread
From: Arınç ÜNAL @ 2022-01-19 16:13 UTC (permalink / raw)
  To: DENG Qingfang, netdev, Matthias Brugger, Siddhant Gupta,
	Ilya Lipnitskiy, Sergio Paracuellos,
	moderated list:ARM/Mediatek SoC support, Felix Fietkau,
	John Crispin, Sean Wang, Mark Lee, Russell King, Jakub Kicinski,
	David Miller, René van Dorst
  Cc: openwrt-devel

This is fixed with the patch series (yet to be applied upstream) in the 
link below.

https://lore.kernel.org/all/20220110114930.1406665-1-sergio.paracuellos@gmail.com/

On 15/10/2021 17:23, DENG Qingfang wrote:
> Hi,
> 
> After the merge of 5.15.y into net-next, MT7621 ethernet
> (mtk_eth_soc.c) does not get probed at all.
> 
> Kernel log before 5.15 merge:
> ...
> libphy: Fixed MDIO Bus: probed
> libphy: mdio: probed
> mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
> mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
> mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
> ...
> 
> Kernel log after 5.15 merge:
> ...
> libphy: Fixed MDIO Bus: probed
> mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
> ...
> 
> 
> I tried adding debug prints into the .mtk_probe function, but it did
> not execute.
> There are no dts changes for MT7621 between 5.14 and 5.15, so I
> believe it should be something else.
> 
> Any ideas?
> 

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

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

end of thread, other threads:[~2022-01-19 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 14:23 MT7621 ethernet does not get probed on net-next branch after 5.15 merge DENG Qingfang
2021-10-15 14:44 ` Sergio Paracuellos
2021-12-10  9:06 ` Sergio Paracuellos
2022-01-19 16:13 ` Arınç ÜNAL

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