mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ian Rogers <irogers@google.com>
To: netdev-bot+sashiko@kernel.org
Cc: pavan.chebbi@broadcom.com, michael.chan@broadcom.com,
	 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
	 kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
	 linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
	elkin@google.com,  Ian Rogers <irogers@google.com>
Subject: Re: [PATCH net-next v2] tg3: Propagate PHY reset retry failures in tg3_phy_reset_5703_4_5()
Date: Tue, 24 Nov 2026 16:40:24 -0800	[thread overview]
Message-ID: <20261125004024.1004485-1-irogers@google.com> (raw)
In-Reply-To: <179540977827.3135.7089774240645592681@kernel.org>

On Sun, Nov 22, 2026 at 8:56 PM <netdev-bot+sashiko@kernel.org> wrote:
>
> [Severity: Medium]
> Is this description accurate? In tg3_get_invariants(), an error from
> tg3_phy_probe() is logged and probe keeps going:
[...]
> [Severity: High]
> Can this early return leave the BCM5703/5704/5705 PHY in its DSP test
> configuration?

Both points are valid - returning early skips unblocking DSP 0x8005 and
clearing MII_TG3_EXT_CTRL 0x3000 when test-pattern retries are exhausted
(while callers such as tg3_reset_hw() ignore tg3_phy_reset()'s return
value), and tg3_get_invariants() logs the tg3_phy_probe() failure
without aborting PCI probe.

I'll send a v3 for net-next that keeps the existing post-loop cleanup
intact and simply guards the MII_CTRL1000 restore with a boolean flag so
phy9_orig is only written back if MII_CTRL1000 was actually read.

Thanks,
Ian

pw-bot: cr

      reply	other threads:[~2026-11-25  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  4:53 Ian Rogers
2026-11-23  4:56 ` netdev-bot+sashiko
2026-11-25  0:40   ` Ian Rogers [this message]

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=20261125004024.1004485-1-irogers@google.com \
    --to=irogers@google.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=elkin@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=michael.chan@broadcom.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pavan.chebbi@broadcom.com \
    /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

all inboxes | Powered by JetHome®