1. 01 May, 2014 1 commit
  2. 30 Apr, 2014 17 commits
  3. 28 Apr, 2014 12 commits
  4. 27 Apr, 2014 5 commits
  5. 26 Apr, 2014 5 commits
    • Jacob Keller's avatar
      i40e: fix Timesync Tx interrupt handler code · cafa1fca
      Jacob Keller authored
      This patch fixes the PTP Tx timestamp interrupt handler. The original
      code misinterpreted the interrupt handler design. We were clearing the
      ena_mask bit for the Timesync interrupts. This is done to indicate that
      the interrupt will be handled in a scheduled work item (instead of
      immediately) and that work item is responsible for re-enabling the
      interrupts. However, the Tx timestamp was being handled immediately and
      nothing was ever re-enabling it. This resulted in a single interrupt
      working for the life of the driver.
      
      This patch fixes the issue by instead clearing the bit from icr0 which
      is used to indicate that the interrupt was immediately handled and can
      be re-enabled right away. This patch also clears up a related issue due
      to writing the PRTTSYN_STAT_0 register, which was unintentionally
      clearing the cause bits for Timesync interrupts.
      
      Change-ID: I057bd70d53c302f60fab78246989cbdfa469d83b
      Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
      Acked-by: default avatarAnjali Singhai Jain <anjali.singhai@intel.com>
      Acked-by: default avatarShannon Nelson <shannon.nelson@intel.com>
      Tested-by: default avatarKavindya Deegala <kavindya.s.deegala@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cafa1fca
    • David S. Miller's avatar
      Merge tag 'linux-can-fixes-for-3.15-20140424' of git://gitorious.org/linux-can/linux-can · 69d268b7
      David S. Miller authored
      Marc Kleine-Budde says:
      
      ====================
      this is a pull request for net/master, for the v3.15 release cycle, consisting
      of 26 patches.
      
      Thomas Gleixner contributes 21 patches for the c_can driver, which address
      several shortcomings in the driver like hardware initialisation, concurrency,
      message ordering and poor performance. Two patches Oliver Hartkopp, one adds a
      missing lock to the sja1000_isa driver, the other one fixes the return value in
      the generic bit time configuration function. And finally a patch by Alexander
      Stein, that fixes the slcan driver to use the correct spinlock variant.
      
      To make it 26 patches, Wolfgang Grandegger patch for the c_can_pci
      driver, which enables the bus master only for MSI and a patch by
      Wolfram Sang, which converts the 'instance' in the c_can driver to the
      proper type.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      69d268b7
    • David S. Miller's avatar
      Merge branch 'altera_tse' · 2b24f192
      David S. Miller authored
      Vince Bridgers says:
      
      ====================
      This series of patches addresses a handful of issues found in testing
      and reported by users of the Altera Triple Speed Ethernet soft IP.
      
      The patches address the following issues (in summary)
      
      1) The SGDMA soft IP was found to incorrectly process receive packets
         when the target physical address of the receive buffer was on
         a boundary that's not 32-bit aligned. One of the patches addresses
         this issue.
      2) The pause quanta was not being set by the driver, one patch of this
         series sets the pause quanta to the IEEE defined default value
         since the hardware reset value is 0.
      3) An issue in a error recovery path of the probe routine caused a
         kernel panic in the event a phy was probed and could not be found.
         A patch addresses this issue.
      4) A change was made to the driver name for Ethtool support, and
         comments added to support an addition to Ethtool to support
         the Altera Triple Speed Ethernet controller.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2b24f192
    • Vince Bridgers's avatar
      Altera TSE: Change driver name used by Ethtool · 99514e11
      Vince Bridgers authored
      This patch changes the name used by Ethtool to something more
      conventional in preparation for TSE Ethtool register dump
      support to be added in the near future.
      Signed-off-by: default avatarVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      99514e11
    • Vince Bridgers's avatar
      Altera TSE: Fix Panic in probe routine when phy probe fails · a7642009
      Vince Bridgers authored
      This patch addresses a fault in the error recovery path of the probe
      routine where the netdev structure was not being unregistered properly
      leading to a panic only when the phy probe failed.
      
      Abbreviated panic stack seen is as follows:
      
      (free_netdev+0xXX) from (altera_tse_probe+0xXX)
      (altera_tse_probe+0xXX) from (platform_drv_probe+0xXX)
      (platform_drv_probe+0xXX) from (driver_probe_device+0xXX)
      (driver_probe_device+0xXX) from (__driver_attach+0xXX)
      (__driver_attach+0xXX) from (bus_for_each_dev+0xXX)
      (bus_for_each_dev+0xXX) from (driver_attach+0xXX)
      (driver_attach+0xXX) from (bus_add_driver+0xXX)
      (bus_add_driver+0xXX) from (driver_register+0xXX)
      (driver_register+0xXX) from (__platform_driver_register+0xXX)
      (__platform_driver_register+0xXX) from (altera_tse_driver_init+0xXX)
      (altera_tse_driver_init+0xXX) from (do_one_initcall+0xXX)
      (do_one_initcall+0xXX) from (kernel_init_freeable+0xXX)
      (kernel_init_freeable+0xXX) from (kernel_init+0xXX)
      (kernel_init+0xXX) from (ret_from_fork+0xXX)
      Signed-off-by: default avatarVince Bridgers <vbridgers2013@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a7642009