[PATCH net v2] net: stmmac: propagate PTP init failures in __stmmac_open() and stmmac_resume()
Jakub Kicinski
kuba at kernel.org
Thu Sep 10 07:52:13 PDT 2026
On Mon, 07 Sep 2026 13:50:46 +0200 Lorenzo Bianconi wrote:
> stmmac_setup_ptp() returns void and swallows both PTP setup errors:
> the PTP reference clock enable and stmmac_init_timestamping()
> failures are logged but never propagated. When they fail, the MAC
> system time counter is left in its post-reset, non-running state,
> while the driver keeps operating as if timestamping were up.
> This matters for TAPRIO/EST qdisc offloading, which derives the EST
> base time from the hardware timestamp counter: arming the gate list
> against a non-advancing time base would leave the schedule permanently
> stuck.
pw says this didn't apply at the time of posting
More information about the linux-arm-kernel
mailing list