Netdev List
 help / color / mirror / Atom feed
* [PATCH net v6 0/2] ptp: serialize requests and stop unassigned timestamps
@ 2026-11-26 16:41 Ahmad Byagowi
  2026-11-26 16:41 ` [PATCH net v6 1/2] ptp: serialize sysfs enable requests with ioctl paths Ahmad Byagowi
  2026-11-26 16:41 ` [PATCH net v6 2/2] ptp: disable unassigned timestamp channels on unregister Ahmad Byagowi
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Byagowi @ 2026-11-26 16:41 UTC (permalink / raw)
  To: netdev
  Cc: richardcochran, davem, edumazet, kuba, pabeni, vladimir.oltean,
	vadim.fedorenko, andrew+netdev, arnd, john.stultz, rmk+kernel

This PTP core series serializes the sysfs enable callbacks with the ioctl
paths, then disables every advertised external timestamp channel during
clock unregister. The generic teardown patch changes only the PTP core; it
does not modify ptp_ocp or another clock driver.

This split follows Vadim Fedorenko's review request to keep PTP core/PHC
changes separate from driver-specific fixes. The dependent driver series is
prepared separately and must follow this core series.

Validation: strict x86_64 object build for ptp_chardev.o, ptp_sysfs.o,
ptp_ocp.o and sja1105_ptp.o with W=1 KCFLAGS=-Werror; source-derived
teardown tests for all six EXTTS channels, unassigned/zero pins, interface
removal, callback serialization and IRQ draining. Tests use stubbed hardware
operations; no physical card or switch was tested. No KUnit run was done for
this revision.

A coding assistant helped identify the gaps, develop the fixes and regression
tests, and prepare changelog text.

Ahmad Byagowi (2):
  ptp: serialize sysfs enable requests with ioctl paths
  ptp: disable unassigned timestamp channels on unregister

 drivers/ptp/ptp_chardev.c | 14 +++++++++-----
 drivers/ptp/ptp_sysfs.c   |  9 +++++++++
 2 files changed, 18 insertions(+), 5 deletions(-)


base-commit: 4392bb809812ac79449cd0cf1f5e00469ee102d1
-- 
2.54.0 (Apple Git-157)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-26 16:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 16:41 [PATCH net v6 0/2] ptp: serialize requests and stop unassigned timestamps Ahmad Byagowi
2026-11-26 16:41 ` [PATCH net v6 1/2] ptp: serialize sysfs enable requests with ioctl paths Ahmad Byagowi
2026-11-26 16:41 ` [PATCH net v6 2/2] ptp: disable unassigned timestamp channels on unregister Ahmad Byagowi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox