1. 30 May, 2007 30 commits
  2. 29 May, 2007 10 commits
    • Roland Dreier's avatar
      IB/mlx4: Fix last allocated object tracking in bitmap allocator · a2cb4a98
      Roland Dreier authored
      Set last allocated object to the object after the one just allocated
      before ORing in the extra top bits.  Also handle the case where this
      wraps around.
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      a2cb4a98
    • Sean Hefty's avatar
      IB/cm: Fix stale connection detection · d998ccce
      Sean Hefty authored
      The ib_cm can incorrectly detect a stale connection (a new connection
      request for a QPN that is already connected) as a duplicate connection
      request.  Separate the handling of potential duplicate REQs from stale
      connections.
      Signed-off-by: default avatarSean Hefty <sean.hefty@intel.com>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      d998ccce
    • Michael S. Tsirkin's avatar
      IPoIB/cm: Fix performance regression on Mellanox · ec56dc0b
      Michael S. Tsirkin authored
      commit 518b1646 ("IPoIB/cm: Fix SRQ WR leak") introduced a severe
      performance regression on Mellanox cards, because keeping a QP in the
      error state for extended periods of time moves hardware to the slow
      path (until the QP is destroyed).  For example, MPI latency goes from
      ~3 usecs to ~7 usecs.
      
      Fix this by posting a send WR on one of the QPs that are being
      flushed, instead of using a separate drain QP that is kept in the
      error state.
      
      This fixes bug <https://bugs.openfabrics.org/show_bug.cgi?id=636>,
      reported and bisected by Scott Weitzenkamp at Cisco and debugged by
      Sasha Mikheev at Voltaire.
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      ec56dc0b
    • Michael S. Tsirkin's avatar
      IB/mthca: Fix handling of send CQE with error for QPs connected to SRQ · 8b7e1577
      Michael S. Tsirkin authored
      mthca_free_err_wqe() currently treats both send and receive CQEs
      identically if a QP is using an SRQ.  But for Tavor hardware, send
      CQEs with error can be chained together even if the RQ is part of SRQ,
      so we may miss some CQEs.
      
      Fix by following the WQE chain for all send CQEs even for non-SRQ QPs.
      
      This fixes crashes in IPoIB CM:
      <https://bugs.openfabrics.org//show_bug.cgi?id=604>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
      Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
      8b7e1577
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 · 6e98ee75
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
        [SPARC64]: Fill holes in hypervisor APIs and fix KTSB registry.
        [SPARC64]: Fix two bugs wrt. kernel 4MB TSB.
        [SPARC]: Mark as emulating cmpxchg, add appropriate depends for DRM.
        [SPARC]: Emulate cmpxchg like parisc
        [SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler.
        [SPARC]: Linux always started with 9600 8N1
        [SPARC64]: arch/sparc64/time.c doesn't compile on Ultra 1 (no PCI)
        [SPARC64]: Eliminate NR_CPUS limitations.
        [SPARC64]: Use machine description and OBP properly for cpu probing.
        [SPARC64]: Negotiate hypervisor API for PCI services.
        [SPARC64]: Report proper system soft state to the hypervisor.
        [SPARC64]: Fix typo in sun4v_hvapi_register error handling.
        [SCSI] ESP: Kill SCSI_ESP_CORE and link directly just like jazz_esp
        [SCSI] jazz_esp: Converted to use esp_core.
        [SPARC64]: PCI device scan is way too verbose by default.
        [SERIAL] sunzilog: section mismatch fix
        [SPARC32]: Removes mismatch section warnigs in sparc time.c file
        [SPARC64]: Don't be picky about virtual-dma values on sun4v.
        [SPARC64]: Kill unused DIE_PAGE_FAULT enum value.
        [SCSI] pluto: Use wait_for_completion_timeout.
      6e98ee75
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 · 486b4ce1
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
        firewire: fix return code
        firewire: prefix modules with firewire- instead of fw-
        firewire: Add missing byteswapping for receive DMA programs.
        ieee1394: raw1394: Fix async send
        ieee1394: eth1394: bring back a parent device
        ieee1394: eth1394: handle tlabel exhaustion
        ieee1394: eth1394: remove bogus netif_wake_queue
        ieee1394: sbp2: include workqueue.h
      486b4ce1
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 · 358a9afc
      Linus Torvalds authored
      * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
        hwmon/applesmc: Handle name file creation error and deletion
        hwmon/applesmc: Simplify dependencies
        hwmon-vid: Don't spam the logs when VRM version is missing
        hwmon/w83627hf: Be quiet when no chip is found
        hwmon/coretemp: Add more safety checks
        hwmon/ds1621: Fix swapped temperature limits
      358a9afc
    • Linus Torvalds's avatar
      Merge branch 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc · 55663219
      Linus Torvalds authored
      * 'for_paulus' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc:
        [POWERPC] Fix Kconfig warning
        [PPC] Fix modpost warning
        [POWERPC] Fix modpost warning
        [POWERPC] Fix Section mismatch warnings
        [POWERPC] QE: fix Kconfig 'select' warning with UCC_FAST
        [POWERPC] 52xx: unbreak lite5200 dts (_pic vs. -pic)
        [PPC] Remove duplicate export of __div64_32.
        [PPC] Fix COMMON symbol warnings
      55663219
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 · a4326635
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
        [SCSI] megaraid_sas: intercept cmd timeout and throttle io
        [SCSI] fusion: Fix |/|| confusion
        [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete
        [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6
        [SCSI] aacraid: apply commit config for reset_devices flag
        [SCSI] sd: fix refcounting regression in suspend/resume routines
        [SCSI] aacraid: fix panic on short Inquiry
        [SCSI] aacraid: Correct sa platform support. (Was: [Bug 8469] Bad EIP value on pentium3 SMP kernel-2.6.21.1)
        [SCSI] NCR53C9x: correct spelling mistake in deprecation notice
        [SCSI] tgt: fix a rdma indirect transfer error bug
        [SCSI] MegaRAID: Update MAINTAINERS email-id
        [SCSI] stex: minor cleanup and version update
        [SCSI] stex: fix reset recovery for console device
        [SCSI] stex: extend hard reset wait time
        [SCSI] stex: fix id mapping issue
        [SCSI] ipr: Proper return codes for eh_dev_reset for SATA devices
        [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices
        [SCSI] zfcp: avoid clutter in erp_dbf
      a4326635
    • Alan Stern's avatar
      USB: replace flush_workqueue with cancel_sync_work · d5d4db70
      Alan Stern authored
      This patch (as912) replaces a couple of calls to flush_workqueue()
      with cancel_sync_work() and cancel_rearming_delayed_work().  Using a
      more directed approach allows us to avoid some nasty deadlocks.  The
      prime example occurs when a first-level device (the parent is a root
      hub) is removed while at the same time the root hub gets a remote
      wakeup request.  khubd would try to flush the autosuspend workqueue
      while holding the root-hub's lock, and the remote-wakeup workqueue
      routine would be waiting to lock the root hub.
      
      The patch also reorganizes the power management portion of
      usb_disconnect(), separating it out into its own routine.  The
      autosuspend workqueue entry is cancelled immediately instead of
      waiting for the device's release routine.  In addition,
      synchronization with the autosuspend thread is carried out even for
      root hubs (an oversight in the original code).
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg KH <gregkh@suse.de>
      Cc: Mark Lord <lkml@rtr.ca>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d5d4db70