Re: [PATCH net-next v4 1/4] net: phy: microchip_t1s: fix collision detection on PLCA status change

From: Parthiban Veerasooran

Date: Sun Oct 04 2026 - 10:10:05 EST


Hi,

Thanks for the review.

I’ll look into the reported comments in all the patches in this series and get back with the necessary updates as soon as possible.

Thanks,
Parthiban V

On 03/10/26 7:06 pm, netdev-bot+sashiko@xxxxxxxxxx wrote:
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Thank you for your contribution! Sashiko AI review found 3 potential
issue(s) to consider.

Critical: 0 · High: 0 · Medium: 1 · Low: 2

If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).

- [Medium] The collision-detect (CDEN) setting is chosen from a software
copy of the PLCA enable state (priv->plca_enabled), not from the PHY's…
- [Low] [Baseline decision: false.
- [Low] [Baseline decision: false.

--

net: phy: microchip_t1s: fix collision detection on PLCA status change

This patch makes the collision detection enable bit (CDEN) follow
autonomous PLCA/CSMA-CD transitions. It adds a PLCA status change
interrupt and a resync in read_status(), and it takes the PRSCTL1
fallback bit into account. It also adds a probe routine that allocates
a per-PHY mutex and a cached plca_enabled value, and it treats
plca_cfg->enabled as tri-state.

diff --git a/drivers/net/phy/microchip_t1s.c b/drivers/net/phy/microchip_t1s.c
index 73c23d311d72a..5ce0304bf0952 100644
--- a/drivers/net/phy/microchip_t1s.c
+++ b/drivers/net/phy/microchip_t1s.c