1. 16 11月, 2008 1 次提交
  2. 15 11月, 2008 7 次提交
  3. 13 11月, 2008 5 次提交
  4. 11 11月, 2008 5 次提交
    • D
      [netdrvr] smc911x: fix for driver resume (and compilation warning) · 347c8d83
      Dasgupta, Romit 提交于
      I am trying out suspend, resume on an OMAP3 based board. What I see
      during resume is that the SMC911x driver resume routing gets stuck
      after trying to transmit the packet out of the controller. Some debug
      messages below:
      
      --> smc911x_drv_resume
      eth0: --> smc911x_reset
      eth0: smc911x_reset timeout waiting for PM restore
      eth0: --> smc911x_enable
      eth0: --> smc911x_phy_configure()
      eth0: --> smc911x_phy_reset()
      eth0: phy caps=0x782d
      eth0: phy advertised caps=0x0de1
      eth0: --> smc911x_phy_check_media
      smc911x_phy_read: phyaddr=0x1, phyreg=0x01, phydata=0x7809
      smc911x_phy_read: phyaddr=0x1, phyreg=0x01, phydata=0x7809
      eth0: link down
      Restarting tasks ... eth0: --> smc911x_hard_start_xmit
      eth0: --> smc911x_hardware_send_pkt
      eth0: --> smc911x_hard_start_xmit
      eth0: --> smc911x_hardware_send_pkt
      eth0: --> smc911x_hard_start_xmit
      eth0: --> smc911x_hardware_send_pkt
      nfs: server 172.24.190.217 not responding, still trying
      nfs: server 172.24.190.217 not responding, still trying
      
      The following change makes it work fine: (The change within
      smc911x_drv_probe function was to get rid of a compilation warning).
      Signed-off-by: NRomit Dasgupta <romit@ti.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      347c8d83
    • S
      RDMA/cxgb3: deadlock in iw_cxgb3 can cause hang when configuring interface. · cf3760da
      Steve Wise 提交于
      When the iw_cxgb3 module's cxgb3_client "add" func gets called by the
      cxgb3 module, the iwarp driver ends up calling the ethtool ops get_drvinfo
      function in cxgb3 to get the fw version and other info.  Currently the
      iwarp driver grabs the rtnl lock around this down call to serialize.
      As of 2.6.27 or so, things changed such that the rtnl lock is held around
      the call to the netdev driver open function.  Also the cxgb3_client "add"
      function doesn't get called if the device is down.
      
      So, if you load cxgb3, then load iw_cxgb3, then ifconfig up the device,
      the iw_cxgb3 add func gets called with the rtnl_lock held.   If you
      load cxgb3, ifconfig up the device, then load iw_cxgb3, the add func
      gets called without the rtnl_lock held.  The former causes the deadlock,
      the latter does not.
      
      In addition, there are iw_cxgb3 sysfs handlers that also can call
      down into cxgb3 to gather the fw and hw versions.  These can be called
      concurrently on different processors and at any time.  Thus we need to
      push this serialization down in the cxgb3 driver get_drvinfo func.
      
      The fix is to remove rtnl lock usage, and use a per-device lock in cxgb3.
      Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      cf3760da
    • D
      cxgb3 - Limit multiqueue setting to msi-x · f9ee3882
      Divy Le Ray 提交于
      Allow multiqueue setting in MSI-X mode only
      Signed-off-by: NDivy Le Ray <divy@chelsio.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      f9ee3882
    • D
      cxgb3 - eeprom read fixes · 9f64306b
      Divy Le Ray 提交于
      Protect against invalid phy entries in the eeprom.
      Extend eeprom access timeout.
      Signed-off-by: NDivy Le Ray <divy@chelsio.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      9f64306b
    • B
      myri10ge: fix stop/go ordering even more · 8c2f5fa5
      Brice Goglin 提交于
      The doorbell writes may be seen out of order by the firmware if they
      are in WC memory since the tx spin(un)lock does not flush WC writes.
      Hence if the "stop" is written on a different CPU than the "go", it
      is possible that the stop will arrive after the go unless we add an
      explicit memory barrier (and mmiowb() is not enough).
      
      It fixes transmit hangs in multi tx queue mode.
      Signed-off-by: NBrice Goglin <brice@myri.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      8c2f5fa5
  5. 07 11月, 2008 13 次提交
  6. 05 11月, 2008 1 次提交
  7. 04 11月, 2008 8 次提交