Netdev List
 help / color / mirror / Atom feed
From: Ahmad Byagowi <ahmadexp@gmail.com>
To: netdev@vger.kernel.org
Cc: richardcochran@gmail.com, davem@davemloft.net,
	edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
	vladimir.oltean@nxp.com, vadim.fedorenko@linux.dev,
	andrew+netdev@lunn.ch, arnd@arndb.de, john.stultz@linaro.org,
	rmk+kernel@armlinux.org.uk
Subject: [PATCH net v6 0/2] ptp: serialize requests and stop unassigned timestamps
Date: Thu, 26 Nov 2026 08:41:20 -0800	[thread overview]
Message-ID: <20261126-timecard-core-v6-0-ahmadexp@gmail.com> (raw)

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)


             reply	other threads:[~2026-11-26 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 16:41 Ahmad Byagowi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126-timecard-core-v6-0-ahmadexp@gmail.com \
    --to=ahmadexp@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=arnd@arndb.de \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=john.stultz@linaro.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=vadim.fedorenko@linux.dev \
    --cc=vladimir.oltean@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox