Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Keller <jacob.e.keller@intel.com>
To: Intel Wired LAN <intel-wired-lan@lists.osuosl.org>
Cc: Anthony Nguyen <anthony.l.nguyen@intel.com>
Subject: [Intel-wired-lan] [PATCH iwl-next v2 0/3] ice: implement cross timestamping for E823
Date: Tue, 25 Jul 2023 14:50:45 -0700	[thread overview]
Message-ID: <20230725215048.1311584-1-jacob.e.keller@intel.com> (raw)

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

             reply	other threads:[~2023-07-25 21:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25 21:50 Jacob Keller [this message]
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

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=20230725215048.1311584-1-jacob.e.keller@intel.com \
    --to=jacob.e.keller@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    /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