27 Feb, 2007

1 commit

  • If path_rec_completion() is passed a non-NULL path record pointer
    along with an unsuccessful status value, the tracing code incorrectly
    prints the (invalid) DLID from the path record rather than the more
    interesting status code. The actual logic of the function correctly
    uses the path record only if the status indicates a successful lookup.

    Signed-off-by: Roland Dreier

    Roland Dreier
     

24 Feb, 2007

2 commits

  • Stop the ep timer in ec_status() if the status indicates a
    bad close.

    Signed-off-by: Steve Wise
    Signed-off-by: Roland Dreier

    Steve Wise
     
  • - don't mark static functions in C files as inline - gcc should know
    best whether inlining makes sense
    - never compile the unused cxio_dbg.c
    - make the following needlessly global functions static:
    - cxio_hal.c: cxio_hal_clear_qp_ctx()
    - iwch_provider.c: iwch_get_qp()
    - remove the following unused global functions:
    - cxio_hal.c: cxio_allocate_stag()
    - cxio_resource.: cxio_hal_get_rhdl()
    - cxio_resource.: cxio_hal_put_rhdl()

    Signed-off-by: Adrian Bunk
    Acked-by: Steve Wise
    Signed-off-by: Roland Dreier

    Adrian Bunk
     

23 Feb, 2007

5 commits


22 Feb, 2007

1 commit


21 Feb, 2007

2 commits


20 Feb, 2007

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (25 commits)
    Documentation/kernel-docs.txt update.
    arch/cris: typo in KERN_INFO
    Storage class should be before const qualifier
    kernel/printk.c: comment fix
    update I/O sched Kconfig help texts - CFQ is now default, not AS.
    Remove duplicate listing of Cris arch from README
    kbuild: more doc. cleanups
    doc: make doc. for maxcpus= more visible
    drivers/net/eexpress.c: remove duplicate comment
    add a help text for BLK_DEV_GENERIC
    correct a dead URL in the IP_MULTICAST help text
    fix the BAYCOM_SER_HDX help text
    fix SCSI_SCAN_ASYNC help text
    trivial documentation patch for platform.txt
    Fix typos concerning hierarchy
    Fix comment typo "spin_lock_irqrestore".
    Fix misspellings of "agressive".
    drivers/scsi/a100u2w.c: trivial typo patch
    Correct trivial typo in log2.h.
    Remove useless FIND_FIRST_BIT() macro from cardbus.c.
    ...

    Linus Torvalds
     

18 Feb, 2007

1 commit


17 Feb, 2007

16 commits


15 Feb, 2007

2 commits

  • The obsolete SA_xxx interrupt flags have been used despite the scheduled
    removal. Fixup the remaining users.

    Signed-off-by: Thomas Gleixner
    Acked-by: Ingo Molnar
    Cc: "Luck, Tony"
    Cc: Roman Zippel
    Cc: Geert Uytterhoeven
    Cc: Jeff Garzik
    Cc: Wim Van Sebroeck
    Cc: Roland Dreier
    Cc: Alessandro Zummo
    Cc: James Bottomley
    Cc: Greg KH
    Cc: Dave Airlie
    Cc: James Simmons
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • After Al Viro (finally) succeeded in removing the sched.h #include in module.h
    recently, it makes sense again to remove other superfluous sched.h includes.
    There are quite a lot of files which include it but don't actually need
    anything defined in there. Presumably these includes were once needed for
    macros that used to live in sched.h, but moved to other header files in the
    course of cleaning it up.

    To ease the pain, this time I did not fiddle with any header files and only
    removed #includes from .c-files, which tend to cause less trouble.

    Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
    arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
    allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
    configs in arch/arm/configs on arm. I also checked that no new warnings were
    introduced by the patch (actually, some warnings are removed that were emitted
    by unnecessarily included header files).

    Signed-off-by: Tim Schmielau
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

14 Feb, 2007

1 commit

  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
    IB/mthca: Always fill MTTs from CPU
    IB/mthca: Merge MR and FMR space on 64-bit systems
    IB/mthca: Fix access to MTT and MPT tables on non-cache-coherent CPUs
    IB/mthca: Give reserved MTTs a separate cache line
    IB/mthca: Fix reserved MTTs calculation on mem-free HCAs
    RDMA/cxgb3: Add driver for Chelsio T3 RNIC
    IB: Remove redundant "_wq" from workqueue names
    RDMA/cma: Increment port number after close to avoid re-use
    IB/ehca: Fix memleak on module unloading
    IB/mthca: Work around gcc bug on sparc64
    IPoIB: Connected mode experimental support
    IB/core: Use ARRAY_SIZE macro for mandatory_table
    IB/mthca: Use correct structure size in call to memset()

    Linus Torvalds
     

13 Feb, 2007

7 commits

  • Speed up memory registration by filling in MTTs directly when the CPU
    can write directly to the whole table (all mem-free cards, and to
    Tavor mode on 64-bit systems with the patch I posted earlier). This
    reduces the number of FW commands needed to register an MR by at least
    a factor of 2 and speeds up memory registration significantly.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • For Tavor, we currently reserve separate MPT and MTT space for FMRs to
    avoid abusing the vmalloc space on 32 bit kernels. No such problem
    exists on 64 bit kernels so let's not do it there.

    This way we have a shared pool for MR and FMR resources, used on
    demand. This will also make it possible to write MTTs for regular
    regions directly from driver.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • We allocate the MTT table with alloc_pages() and then do pci_map_sg(),
    so we must call pci_dma_sync_sg() after the CPU writes to the MTT
    table. This works since the device will never write MTTs on mem-free
    HCAs, once we get rid of the use of the WRITE_MTT firmware command.
    This change is needed to make that work, and is an improvement for
    now, since it gives FMRs a chance at working.

    For MPTs, both the device and CPU might write there, so we must
    allocate DMA coherent memory for these.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • MTTs are allocated in non-cache-coherent memory, so we must give
    reserved MTTs their own cache line, to prevent both device and
    CPU from writing into the same cache line at the same time.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • The reserved_mtts field has different meaning in Tavor and Arbel, so
    we are wasting mtt entries on memfree. Fix the Arbel case to match
    Tavor semantics.

    Signed-off-by: Michael S. Tsirkin
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • Add an RDMA/iWARP driver for the Chelsio T3 1GbE and 10GbE adapters.

    Signed-off-by: Steve Wise
    Signed-off-by: Roland Dreier

    Steve Wise
     
  • Many struct file_operations in the kernel can be "const". Marking them const
    moves these to the .rodata section, which avoids false sharing with potential
    dirty data. In addition it'll catch accidental writes at compile time to
    these shared resources.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

12 Feb, 2007

1 commit

  • Replace appropriate pairs of "kmem_cache_alloc()" + "memset(0)" with the
    corresponding "kmem_cache_zalloc()" call.

    Signed-off-by: Robert P. J. Day
    Cc: "Luck, Tony"
    Cc: Andi Kleen
    Cc: Roland McGrath
    Cc: James Bottomley
    Cc: Greg KH
    Acked-by: Joel Becker
    Cc: Steven Whitehouse
    Cc: Jan Kara
    Cc: Michael Halcrow
    Cc: "David S. Miller"
    Cc: Stephen Smalley
    Cc: James Morris
    Cc: Chris Wright
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day