1. 23 Feb, 2022 29 commits
  2. 22 Feb, 2022 9 commits
  3. 21 Feb, 2022 2 commits
    • David S. Miller's avatar
      Merge branch 'octeontx2-ptp-updates' · 7b779cc8
      David S. Miller authored
      Rakesh Babu Saladi says:
      
      ====================
      RVU AF and NETDEV drivers' PTP updates.
      
      Patch 1: Add suppot such that RVU drivers support new timestamp format.
      Patch 2: This patch adds workaround for PTP errata.
      
      Changes made from  v1 to v2
      1. CC'd Richard Cochran to review PTP related patches.
      2. Removed a patch from the old patch series. Will submit the removed patch
      separately.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7b779cc8
    • Naveen Mamindlapalli's avatar
      octeontx2-af: cn10k: add workaround for ptp errata · 6426fc3a
      Naveen Mamindlapalli authored
      This patch adds workaround for PTP errata given below.
      
      1. At the time of 1 sec rollover of nano-second counter,
         the nano-second counter is set to 0. However, it should
         be set to (existing counter_value - 10^9). This leads to
         an accumulating error in the timestamp value with each sec
         rollover.
      2. Additionally, the nano-second counter currently is rolling
         over at 'h3B9A_C9FF. It should roll over at 'h3B9A_CA00.
      
      The workaround for issue #1 is to speed up the ptp clock by
      adjusting PTP_CLOCK_COMP register to the desired value to
      compensate for the nanoseconds lost per each second.
      
      The workaround for issue #2 is to slow down the ptp clock
      such that the rollover occurs at ~1sec.
      Signed-off-by: default avatarNaveen Mamindlapalli <naveenm@marvell.com>
      Signed-off-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
      Signed-off-by: default avatarRakesh Babu Saladi <rsaladi2@marvell.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6426fc3a