From: Florian Fainelli <f.fainelli@gmail.com>
To: Adrian Chadd <adrian@freebsd.org>, netdev@vger.kernel.org
Subject: Re: What's the expected path to recover from a PHY_HALTED transition?
Date: Mon, 16 Nov 2015 11:48:46 -0800 [thread overview]
Message-ID: <564A331E.6090603@gmail.com> (raw)
In-Reply-To: <CAJ-Vmon_s0o7G84CBOb_V5Y-D-3TMNDq7AOhr9fdiOmxYaFBZg@mail.gmail.com>
On 16/11/15 11:29, Adrian Chadd wrote:
> hi,
>
> I'm debugging an issue on the Broadcom parts (using unimac-mdio.c as
> the mdio bus) where i occasionally see MDIO bus read failures, which
> causes phy.c to transition the PHY to PHY_HALTED. It stays in this
> state until the link is bounced.
There is a known problem with some Broadcom PHYs where the first MDIO
read may fail, and this can actually show up randomly in time, not just
the first read and that caused the PHY library to enter PHY_HALTED.
Which part are you seeing this? unimac-mdio.c has a reset hook just for
that cases.
>
> So, what's the expectation to handle this and recover from it? is
> there some userland piece monitoring things that I'm missing?
There is not much you can do typically, but ignore or retry the read, or
workaround it if you can, like what bcm7xxx.c does.
--
Florian
next prev parent reply other threads:[~2015-11-16 19:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 19:29 What's the expected path to recover from a PHY_HALTED transition? Adrian Chadd
2015-11-16 19:48 ` Florian Fainelli [this message]
2015-11-16 20:05 ` Adrian Chadd
2015-11-16 20:11 ` Florian Fainelli
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=564A331E.6090603@gmail.com \
--to=f.fainelli@gmail.com \
--cc=adrian@freebsd.org \
--cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).