diff options
| author | Anton Nadezhdin <[email protected]> | 2025-05-20 08:42:16 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-06-10 16:10:47 +0000 |
| commit | a5a441ae283d54ec329aadc7426991dc32786d52 (patch) | |
| tree | c8d9ea34951f74278dde57bd8af5d6261e825853 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | iavf: fix reset_task for early reset event (diff) | |
| download | kernel-a5a441ae283d54ec329aadc7426991dc32786d52.tar.gz kernel-a5a441ae283d54ec329aadc7426991dc32786d52.zip | |
ice/ptp: fix crosstimestamp reporting
Set use_nsecs=true as timestamp is reported in ns. Lack of this result
in smaller timestamp error window which cause error during phc2sys
execution on E825 NICs:
phc2sys[1768.256]: ioctl PTP_SYS_OFFSET_PRECISE: Invalid argument
This problem was introduced in the cited commit which omitted setting
use_nsecs to true when converting the ice driver to use
convert_base_to_cs().
Testing hints (ethX is PF netdev):
phc2sys -s ethX -c CLOCK_REALTIME -O 37 -m
phc2sys[1769.256]: CLOCK_REALTIME phc offset -5 s0 freq -0 delay 0
Fixes: d4bea547ebb57 ("ice/ptp: Remove convert_art_to_tsc()")
Signed-off-by: Anton Nadezhdin <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Reviewed-by: Arkadiusz Kubalewski <[email protected]>
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
