summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZxyan Zhu <zxyan0222@gmail.com>2026-07-29 15:42:36 +0800
committerJakub Kicinski <kuba@kernel.org>2026-08-03 16:49:26 -0700
commitaf4d934164457f0578bf90e92ae0fcc5348260cb (patch)
treed79bb7804dd1bcf2cd61110ea870fa6af6ecbadf /tools/perf/scripts/python/exported-sql-viewer.py
parent5aed8f404401bfa1570cf0c3ffed7b752f568e83 (diff)
net: stmmac: Skip PHY attach if custom PCS is in use
When a platform provides a custom PCS via the pcs_init callback, the MAC's phylink_pcs is already configured. In this case, no traditional PHY device is needed. Without this, stmmac_init_phy() falls through to the no-phy-node path and errors out with "no phy found" when the DT has no phy-handle for such interfaces. Skip the PHY attach when priv->hw->phylink_pcs is set and phy_addr is invalid. Fixes: f0ef433fc264 ("net: stmmac: introduce pcs_init/pcs_exit stmmac operations") Signed-off-by: Zxyan Zhu <zxyan0222@gmail.com> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://patch.msgid.link/20260729074237.2624940-2-zxyan0222@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions