From: Petr Oros <poros@redhat.com>
To: netdev-bot+sashiko@kernel.org
Cc: Petr Oros <poros@redhat.com>,
netdev@vger.kernel.org, Tony Nguyen <anthony.l.nguyen@intel.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,
Alexander Nowlin <alexander.nowlin@intel.com>,
intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v2 1/2] ice: fix DPLL registration on boards without the SMA clock mux
Date: Fri, 4 Dec 2026 10:29:41 +0100 [thread overview]
Message-ID: <20261204092943.3830090-1-poros@redhat.com> (raw)
In-Reply-To: <179633228142.3146.7257777743538378508@kernel.org>
> Does ICE_F_SMA_CTRL guarantee that ice_read_sma_ctrl() will find the
> PCA9575 expander here?
No, and the patch does not need it to. It removes a dependency instead of
adding one.
Before the patch ice_dpll_init_info_sw_pins() called ice_read_sma_ctrl()
unconditionally, so every board where ice_get_pca9575_handle() fails lost
the whole DPLL registration. That is the bug being fixed. After the patch
the read happens only when the netlist advertises a clock mux, so the set
of boards that can still reach -ENXIO is a strict subset of the ones that
hit it today. Nothing regresses.
What remains needs firmware that reports a GEN_CLK_MUX node while no
PCA9575 answers at the GPIO_CTRL index the lookup uses, or a BACKPLANE/XXV
device reporting a clock mux at all. On the E810 timing boards the PCA9575
is what drives that mux and both netlist nodes come together. Such a board
is equally broken today, so it deserves its own fix with a reporter and
hardware to test on rather than a speculative change in a stable backport.
> Should both helpers also check !hidden, as the register and unregister
> helpers already do?
They could, but it changes nothing. The hidden pins are never registered,
dpll_pin_event_send() returns -ENODEV and no netlink message is generated.
ice_dpll_pin_ntf() already notifies the hidden CGU inputs behind the SMA
wrappers, so tightening both helpers is a net-next cleanup rather than
part of this fix.
Regards,
Petr
next prev parent reply other threads:[~2026-12-04 9:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 21:10 [PATCH net v2 0/2] ice: DPLL init fixes for E810 timing boards Petr Oros
2026-12-02 21:10 ` [PATCH net v2 1/2] ice: fix DPLL registration on boards without the SMA clock mux Petr Oros
2026-12-03 21:11 ` netdev-bot+sashiko
2026-12-04 9:29 ` Petr Oros [this message]
2026-12-02 21:10 ` [PATCH net v2 2/2] ice: skip the SW pin description on boards with generic DPLL pins Petr Oros
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=20261204092943.3830090-1-poros@redhat.com \
--to=poros@redhat.com \
--cc=alexander.nowlin@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=arkadiusz.kubalewski@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.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