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 -- 2.39.3
