ice: fix E825 PTP timer race and drop redundant cross-timestamp access
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ice: ptp: serialize E825 PHY timer start with PTP lock and incvaldrivers/ | +21 | 6 replies | |
| 2/2 | ice: remove redundant cross-timestamp PTP commanddrivers/ | +0 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Sergey Temerkhanov | Milena Olech | Simon Horman | Aleksandr Loktionov | Singh, Ayush1X |
|---|---|---|---|---|---|
| 1/2 | R-b | R-b | R-b | R-b | T-b |
| 2/2 | R-b | R-b | R-b | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH iwl-net 0/2] ice: fix E825 PTP timer race and drop redundant cross-timestamp access
This series fixes a race in the E825 PHY timer start path and removes a redundant cross-timestamp command programming sequence.
The first patch serializes the E825 PHY timer start sequence with the PTP lock and keeps the shared GLTSYN_CMD register access and incval programming within the same critical section. This prevents concurrent PTP updates from clobbering the source timer command and leaving the E825 PHY clock offset from the PHC.
The second patch removes the redundant cross-timestamp programming of GLTSYN_CMD in the capture path. The register accesses were mistakenly assumed to be required for E823-class devices. In fact, it was the E824-family (not supported by this driver) not E823.
Grzegorz Nitka (1):
ice: remove redundant cross-timestamp PTP command
Maciek Machnikowski (1):
ice: ptp: serialize E825 PHY timer start with PTP lock and incval
drivers/net/ethernet/intel/ice/ice_ptp.c | 6 --- drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 48 +++++++++------------ 2 files changed, 21 insertions(+), 33 deletions(-)
base-commit: 349099e5d8082ab01e60d91fba9d107591c17371
Signature · 1 line
2.39.3