Re: [PATCH net v5 0/8] ptp: fix request serialization, teardown and SMA reporting

From: Vadim Fedorenko

Date: Wed Nov 25 2026 - 04:46:37 EST


On 24/11/2026 04:42, Ahmad Byagowi wrote:
This series fixes PTP request serialization and timestamp shutdown, and
corrects OCP SMA/DPLL reporting. It is based on net at 4392bb809812.
It contains no WiWi board support or LED driver changes.

The first two patches address prerequisites identified in v4 review:
serialize all three sysfs enable callbacks with the ioctl paths, and
prevent SJA1105 EXTTS disable from switching its shared pin to input.
Patch 3 preserves Vadim's requested teardown design: after removing the
user interfaces, send direct disable requests for each advertised EXTTS
channel, followed by PPS. Do not use a pin-function helper for channel
indices, alter pin assignments, or add a driver stopping flag or spinlock.

The remaining patches handle hardware selector values and combined input
routes, recover disabled SMA state on bind, report disabled inputs as
zero Hz, and correct the DCF77 and ART 10 MHz frequencies. Rebind recovery
is now separate from DPLL reporting, with the earlier b2c4f0ac53f3 Fixes
tag, so kernels without DPLL support can receive that correction.

I'm absolutely sure it's time to split this series into at least 2.
Fixes to core PTP/PHC subsystem and some fixes to ptp_ocp are not
related at all and must go in different series

[...]

Ahmad Byagowi (8):
ptp: serialize sysfs requests with the ioctl paths
net: dsa: sja1105: leave the pin function unchanged on EXTTS disable
ptp: disable all timestamp channels after removing the user interfaces
ptp: ocp: handle hardware selectors and combined DPLL input routes
ptp: ocp: recover disabled SMA inputs when binding the driver
ptp: ocp: report zero frequency for disabled SMA inputs
ptp: ocp: correct the DCF output frequency
ptp: ocp: correct the ART 10 MHz input frequency

drivers/net/dsa/sja1105/sja1105_ptp.c | 8 ++--
drivers/ptp/ptp_chardev.c | 14 ++++---
drivers/ptp/ptp_ocp.c | 58 ++++++++++++++++++---------
drivers/ptp/ptp_sysfs.c | 9 +++++
4 files changed, 62 insertions(+), 27 deletions(-)
---
pw-bot: cr