diff options
author | Grygorii Strashko <[email protected]> | 2020-04-23 17:20:16 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-23 12:50:20 -0700 |
commit | 856e59ab7e6d3c85ee739f3f53341d47c88d454e (patch) | |
tree | aed3bbf1ab4a708b99dbb3b8b3f926c0e44da11c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 0d6df3e613b74fe1a88de89cda63a0352e1dc4eb (diff) |
net: ethernet: ti: cpts: switch to use new .gettimex64() interface
The CPTS HW latches and saves CPTS counter value in CPTS fifo immediately
after writing to CPSW_CPTS_PUSH.TS_PUSH (bit 0), so the total time that the
driver needs to read the CPTS timestamp is the time required CPSW_CPTS_PUSH
write to actually reach HW.
Hence switch CPTS driver to implement new .gettimex64() callback for more
precise measurement of the offset between a PHC and the system clock which
is measured as time between
write(CPSW_CPTS_PUSH)
read(CPSW_CPTS_PUSH)
Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions