Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH iwl-next v2 0/3] ice: implement cross timestamping for E823
@ 2023-07-25 21:50 Jacob Keller
  2023-07-25 21:50 ` [Intel-wired-lan] [PATCH iwl-next v2 1/3] ice: prefix clock timer command enumeration values with ICE_PTP Jacob Keller
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jacob Keller @ 2023-07-25 21:50 UTC (permalink / raw)
  To: Intel Wired LAN; +Cc: Anthony Nguyen

This series fixes and enables cross timestamping for the E823 line of
products. This product line is very similar to E822 devices, but has a new
requirement for cross timestamping to function.

First, Sergey has a patch to cleanup the timer commands to include ICE_PTP_
prefix.

Second, Karol has a fix to ensure that we retry acquiring the hardware
semaphore a few times before giving up when requesting a cross timestamp.

Finally, I implement the E823 cross timestamping, fixing an issue where the
timer command register was not programmed as expected. Without the READ_TIME
bits being set, E823 hardware will not capture the device time.

Changes since v2:
* use ice_ptp_src_cmd() instead of ice_ptp_clean_cmd() in the cross
  timestamping function.
* drop the patch introducing ice_ptp_clean_cmd() as this is superseded by
  the correct fix that resolves the stale commands issue for both the main
  timer and the PHY port timers.

Jacob Keller (1):
  ice: Support cross-timestamping for E823 devices

Karol Kolacinski (1):
  ice: retry acquiring hardware semaphore during cross-timestamp request

Sergey Temerkhanov (1):
  ice: prefix clock timer command enumeration values with ICE_PTP

 drivers/net/ethernet/intel/ice/ice_ptp.c    | 51 ++++++++----
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 92 ++++++++++-----------
 drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 12 +--
 3 files changed, 87 insertions(+), 68 deletions(-)


base-commit: 627821f47a1511824efe734a786cbf1454685c81
-- 
2.41.0.1.g9857a21e0017.dirty

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

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

end of thread, other threads:[~2023-07-28  5:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25 21:50 [Intel-wired-lan] [PATCH iwl-next v2 0/3] ice: implement cross timestamping for E823 Jacob Keller
2023-07-25 21:50 ` [Intel-wired-lan] [PATCH iwl-next v2 1/3] ice: prefix clock timer command enumeration values with ICE_PTP Jacob Keller
2023-07-28  5:29   ` Pucha, HimasekharX Reddy
2023-07-25 21:50 ` [Intel-wired-lan] [PATCH iwl-next v2 2/3] ice: retry acquiring hardware semaphore during cross-timestamp request Jacob Keller
2023-07-28  5:31   ` Pucha, HimasekharX Reddy
2023-07-25 21:50 ` [Intel-wired-lan] [PATCH iwl-next v2 3/3] ice: Support cross-timestamping for E823 devices Jacob Keller
2023-07-28  5:43   ` Pucha, HimasekharX Reddy

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