1. 22 Dec, 2021 3 commits
    • Jakub Kicinski's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · 2030eddc
      Jakub Kicinski authored
      Tony Nguyen says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2021-12-21
      
      This series contains updates to ice driver only.
      
      Karol modifies the reset flow to correct issues with PTP reset.
      
      Jake extends PTP support for E822 based devices. This includes a few
      cleanup patches, that fix some minor issues. In addition, there are some
      slight refactors to ease the addition of E822 support, followed by adding
      the new hardware implementation ice_ptp_hw.c.
      
      There are a few major differences with E822 support compared to E810
      support:
      
      *) The E822 device has a Clock Generation Unit which must be initialized in
      order to generate proper clock frequencies on the output that drives the PTP
      hardware clock registers
      
      *) The E822 PHY is a bit different and requires a more complex
      initialization procedure which must be rerun any time the link configuration
      changes.
      
      *) The E822 devices support enhanced timestamp calibration by making use of
      a process called Vernier offset measurement. This allows the hardware to
      measure phase offset related to the PHY clocks for Serdes and FEC, reducing
      the inaccuracy of the timestamp relative to the actual packet transmission
      and receipt. Making use of this requires data gathered from the first
      transmitted and received packets, and waiting for the PHY to complete the
      calibration measurements. This is done as part of a new kthread, ov_work.
      Note that to avoid delay in enabling timestamps, we start the PHY in
      'bypass' mode which allows timestamps to be captured without the Vernier
      calibration measurement. Once the first packets have been sent and received,
      we then complete the calibration setup and exit bypass mode and begin using
      the more precise timestamps. According to the datasheet, timestamps without
      calibration data can be incorrect relative to actual receipt or transmission
      by up to 1 clock cycle (~1.25 nanoseconds), while calibrated timestamps
      should be correct to within 1/8th of a clock cycle (~0.15 nanoseconds).
      
      *) E822 devices support crosstimestamping via PCIe PTM, which we enable when
      available on the platform.
      
      There is a fair amount of logic required to perform PHY and CGU
      initialization, which is the vast majority of the new code, but it is fairly
      self contained within ice_ptp_hw.c, with the exception of monitoring for
      offset validity being handled by a kthread.
      
      * '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue:
        ice: support crosstimestamping on E822 devices if supported
        ice: exit bypass mode once hardware finishes timestamp calibration
        ice: ensure the hardware Clock Generation Unit is configured
        ice: implement basic E822 PTP support
        ice: convert clk_freq capability into time_ref
        ice: introduce ice_ptp_init_phc function
        ice: use 'int err' instead of 'int status' in ice_ptp_hw.c
        ice: PTP: move setting of tstamp_config
        ice: introduce ice_base_incval function
        ice: Fix E810 PTP reset flow
      ====================
      
      Link: https://lore.kernel.org/r/20211221174845.3063640-1-anthony.l.nguyen@intel.comAcked-by: default avatarRichard Cochran <richardcochran@gmail.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      2030eddc
    • Jakub Kicinski's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · f4f2970d
      Jakub Kicinski authored
      Tony Nguyen says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2021-12-21
      
      This series contains updates to igc, igb, igbvf, and fm10k drivers.
      
      Sasha removes unused defines and enum values from igc driver.
      
      Jason Wang removes a variable whose value never changes and, instead,
      returns the value directly for igb.
      
      Karen adjusts a reset message from warning to info for igbvf.
      
      Xiang wangx removes a repeated word for fm10k.
      
      * '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue:
        fm10k: Fix syntax errors in comments
        igbvf: Refactor trace
        igb: remove never changed variable `ret_val'
        igc: Remove obsolete define
        igc: Remove obsolete mask
        igc: Remove obsolete nvm type
        igc: Remove unused phy type
        igc: Remove unused _I_PHY_ID define
      ====================
      
      Link: https://lore.kernel.org/r/20211221180200.3176851-1-anthony.l.nguyen@intel.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      f4f2970d
    • Divya Koppera's avatar
      net: phy: micrel: Adding interrupt support for Link up/Link down in LAN8814 Quad phy · b3ec7248
      Divya Koppera authored
      This patch add support for Link up or Link down
      interrupt support in LAN8814 Quad phy
      Signed-off-by: default avatarDivya Koppera <Divya.Koppera@microchip.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Link: https://lore.kernel.org/r/20211221112217.9502-1-Divya.Koppera@microchip.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      b3ec7248
  2. 21 Dec, 2021 25 commits
  3. 20 Dec, 2021 12 commits