public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ice: ptp: fix E825 timer synchronization and locking
@ 2026-04-22 12:31 Grzegorz Nitka
  2026-04-22 12:31 ` [PATCH iwl-net 1/2] ice: ptp: serialize E825 PHY timer start with PTP lock Grzegorz Nitka
  2026-04-22 12:31 ` [PATCH iwl-net 2/2] ice: ptp: use primary NAC semaphore on E825 Grzegorz Nitka
  0 siblings, 2 replies; 5+ messages in thread
From: Grzegorz Nitka @ 2026-04-22 12:31 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, anthony.l.nguyen, przemyslaw.kitszel, Grzegorz Nitka

These two fixes address E825 PTP synchronization issues in
ice_ptp_hw.c.

The first patch serializes PHY timer start against concurrent PTP
command paths by holding the global PTP semaphore while programming
TIMETUS registers and issuing INIT_INCVAL.

The second patch fixes semaphore access for E825 2xNAC configurations by
making ice_ptp_lock() and ice_ptp_unlock() use the primary NAC register
block, matching the rest of the primary-only PTP register access path.

Together, the series closes two locking gaps in E825 timer control: one
during PHY timer initialization and one in 2xNAC semaphore selection.

Grzegorz Nitka (2):
  ice: ptp: serialize E825 PHY timer start with PTP lock
  ice: ptp: use primary NAC semaphore on E825

 drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 24 +++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)


base-commit: 3662329d3f304a421e0230ee3913dab021ec3a3d
-- 
2.39.3


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

end of thread, other threads:[~2026-04-22 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22 12:31 [PATCH 0/2] ice: ptp: fix E825 timer synchronization and locking Grzegorz Nitka
2026-04-22 12:31 ` [PATCH iwl-net 1/2] ice: ptp: serialize E825 PHY timer start with PTP lock Grzegorz Nitka
2026-04-22 12:47   ` [Intel-wired-lan] " Loktionov, Aleksandr
2026-04-22 12:31 ` [PATCH iwl-net 2/2] ice: ptp: use primary NAC semaphore on E825 Grzegorz Nitka
2026-04-22 12:48   ` [Intel-wired-lan] " Loktionov, Aleksandr

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