Skip to content
  1. Jun 07, 2017
  2. Jun 06, 2017
    • David S. Miller's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 25f41150
      David S. Miller authored
      
      
      Jeff Kirsher says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2017-06-06
      
      This series contains updates and fixes to e1000e and igb.
      
      Matwey V Kornilov fixes an issue where igb_get_phy_id_82575() relies on
      the fact that page 0 is already selected, but this is not the case after
      igb_read_phy_reg_gs40g()/igb_write_phy_reg_gs40g() were removed in a
      previous commit.  This leads to initialization failure and some devices
      not working.  To fix the issue, explicitly select page 0 before first
      access to PHY registers.
      
      Arnd Bergmann modifies the driver to avoid a "defined but not used"
      warning by removing #ifdefs and using __maybe_unused annotation instead
      for new power management functions.
      
      Jake provides most of the changes in the series, all around PTP and
      timestamp fixes/updates.  Resolved several race conditions based on
      the hardware can only handle one transmit timestamp at a time, so
      fix the locking logic, as well as create a statistic for "skipped"
      timestamps to help administrators identify issues.
      
      Benjamin Poirier provides 2 changes, first to igb to remove the
      second argument to igb_update_stats() since it always passes the
      same two arguments.  So instead of having to pass the second argument,
      just update the function to the necessary information from the adapter
      structure.  Second modifies the e1000e_get_stats64() call to
      dev_get_stats() to avoid ethtool garbage being reported.
      
      Konstantin Khlebnikov modifies e1000e to use disable_hardirq(), instead
      of disable_irq() for MSIx vectors in e1000_netpoll().
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      25f41150
    • Konstantin Khlebnikov's avatar
      e1000e: use disable_hardirq() also for MSIX vectors in e1000_netpoll() · fd8e597b
      Konstantin Khlebnikov authored
      Replace disable_irq() which waits for threaded irq handlers with
      disable_hardirq() which waits only for hardirq part.
      
      Fixes: 31119129
      
       ("e1000: use disable_hardirq() for e1000_netpoll()")
      Signed-off-by: default avatarKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
      Acked-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      fd8e597b