From: "Andrey Jr. Melnikov" <temnota.am@gmail.com>
To: netdev@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org, openwrt-devel@lists.openwrt.org
Subject: Re: MT7621 ethernet does not get probed on net-next branch after 5.15 merge
Date: Fri, 10 Dec 2021 17:35:12 +0300 [thread overview]
Message-ID: <u55c8i-v7i.ln1@banana.localnet> (raw)
In-Reply-To: CAMhs-H9ve2VtLm8x__DEb0_CpoYsqix1HwLDcZ8_ZeEK9vdfQg@mail.gmail.com
In gmane.comp.embedded.openwrt.devel Sergio Paracuellos <sergio.paracuellos@gmail.com> wrote:
> 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.
There is problem with reset controller and devlink commutication. reset
controller is abent in mainline, devlink defer all drivers which use reset
lines until reset-controller become available - so no drivers probed.
I'm create for myself this patch:
https://drive.google.com/file/d/1AiKlfvIgtrBsxtI-2XFBvaxGoE0S-s9d/view?usp=sharing
next prev parent reply other threads:[~2021-12-10 14:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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
2021-12-10 14:35 ` Andrey Jr. Melnikov [this message]
2022-01-19 16:13 ` Arınç ÜNAL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u55c8i-v7i.ln1@banana.localnet \
--to=temnota.am@gmail.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=netdev@vger.kernel.org \
--cc=openwrt-devel@lists.openwrt.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox