aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNaveen Mamindlapalli <[email protected]>2022-09-10 13:24:15 +0530
committerDavid S. Miller <[email protected]>2022-09-17 20:13:41 +0100
commit2ef4e45d99b19fb16834616f47d21a9b76b0e5f4 (patch)
tree66fd6c82bb2345020e7b3cb989f91e5fb53f3dc2 /tools/perf/scripts/python
parent2958d17a898416c6193431676f6130b68a2cb9fc (diff)
octeontx2-af: Add PTP PPS Errata workaround on CN10K silicon
Errata: The ptp_clock_hi rollsover to zero one clock cycle before it reaches one second boundary. As a result, the pps threshold comparison fails after one second and the pps output signal won't toggle further. This patch workarounds the issue by programming the pps_lo_incr register to 500msec minus one clock cycle period, ensuring that the pps threshold comparison succeeds at one second rollover boundary and pps edge toggles. After that point, the driver will have enough time (~500msec) to reset the pps threshold value. After each one second boundary, hrtimer is invoked which resets the pps threshold value. Signed-off-by: Naveen Mamindlapalli <[email protected]> Signed-off-by: Rakesh Babu Saladi <[email protected]> Signed-off-by: Sunil Kovvuri Goutham <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions