24 Oct, 2007

15 commits

  • Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • None of the drivers with a struct pardevice's ->irq_func() hook ever
    used the 'irq' argument passed to it, so remove it.

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • parport_ieee1284_interrupt() was not using its first arg at all.
    Delete.

    parport_generic_irq()'s second arg makes its first arg completely
    redundant. Delete, and use port->irq in the one place where we actually
    need it.

    Also, s/__inline__/inline/ to make the code look nicer.

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • Several arches used the exact same code for their parport irq handling.
    Make that code generic, in parport_irq_handler().

    Also, s/__inline__/inline/ in include/linux/parport.h.

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
    9p: v9fs_vfs_rename incorrect clunk order
    9p: fix memleak in fs/9p/v9fs.c
    9p: add virtio transport

    Linus Torvalds
     
  • Commits

    58b053e4ce9d2fc3023645c1b96e537c72aa8d9a ("Update arch/ to use sg helpers")
    45711f1af6eff1a6d010703b4862e0d2b9afd056 ("[SG] Update drivers to use sg helpers")
    fa05f1286be25a8ce915c5dd492aea61126b3f33 ("Update net/ to use sg helpers")

    converted many files to use the scatter gather helpers without ensuring
    that the necessary headerfile is included. This
    happened to work for ia64, powerpc, sparc64 and x86 because they
    happened to drag in that file via their .

    On most of the others this probably broke.

    Instead of increasing the header file spider web I choose to include
    directly into the affectes files.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Jens Axboe
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     
  • In v9fs_vfs_rename function labels don't match the fids that are clunked.
    The correct clunk order is clunking newdirfid first and then olddirfid next.

    Signed-off-by: Latchesar Ionkov
    Signed-off-by: Eric Van Hensbergen

    Latchesar Ionkov
     
  • This patch fixes a memory leak introduced by
    commit ba17674fe02909fef049fd4b620a2805bdb8c693.

    Spotted by the Coverity checker.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Eric Van Hensbergen

    Adrian Bunk
     
  • This adds a transport to 9p for communicating between guests and a host
    using a virtio based transport.

    Signed-off-by: Eric Van Hensbergen

    Eric Van Hensbergen
     
  • Signed-off-by: Emil Medve
    Signed-off-by: Jens Axboe

    Emil Medve
     
  • Signed-off-by: Emil Medve
    Signed-off-by: Jens Axboe

    Emil Medve
     
  • Suggested by Boaz Harrosh

    Signed-off-by: Jens Axboe

    Jens Axboe
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
    mlx4_core: Increase command timeout for INIT_HCA to 10 seconds
    IPoIB/cm: Use common CQ for CM send completions
    IB/uverbs: Fix checking of userspace object ownership
    IB/mlx4: Sanity check userspace send queue sizes
    IPoIB: Rewrite "if (!likely(...))" as "if (unlikely(!(...)))"
    IB/ehca: Enable large page MRs by default
    IB/ehca: Change meaning of hca_cap_mr_pgsize
    IB/ehca: Fix ehca_encode_hwpage_size() and alloc_fmr()
    IB/ehca: Fix masking error in {,re}reg_phys_mr()
    IB/ehca: Supply QP token for SRQ base QPs
    IPoIB: Use round_jiffies() for ah_reap_task
    RDMA/cma: Fix deadlock destroying listen requests
    RDMA/cma: Add locking around QP accesses
    IB/mthca: Avoid alignment traps when writing doorbells
    mlx4_core: Kill mlx4_write64_raw()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-lguest: (45 commits)
    Use "struct boot_params" in example launcher
    Loading bzImage directly.
    Revert lguest magic and use hook in head.S
    Update lguest documentation to reflect the new virtual block device name.
    generalize lgread_u32/lgwrite_u32.
    Example launcher handle guests not being ready for input
    Update example launcher for virtio
    Lguest support for Virtio
    Remove old lguest I/O infrrasructure.
    Remove old lguest bus and drivers.
    Virtio helper routines for a descriptor ringbuffer implementation
    Module autoprobing support for virtio drivers.
    Virtio console driver
    Block driver using virtio.
    Net driver using virtio
    Virtio interface
    Boot with virtual == physical to get closer to native Linux.
    Allow guest to specify syscall vector to use.
    Rename "cr3" to "gpgdir" to avoid x86-specific naming.
    Pagetables to use normal kernel types
    ...

    Linus Torvalds
     
  • As it is some callers of synchronize_irq rely on memory barriers
    to provide synchronisation against the IRQ handlers. For example,
    the tg3 driver does

    tp->irq_sync = 1;
    smp_mb();
    synchronize_irq();

    and then in the IRQ handler:

    if (!tp->irq_sync)
    netif_rx_schedule(dev, &tp->napi);

    Unfortunately memory barriers only work well when they come in
    pairs. Because we don't actually have memory barriers on the
    IRQ path, the memory barrier before the synchronize_irq() doesn't
    actually protect us.

    In particular, synchronize_irq() may return followed by the
    result of netif_rx_schedule being made visible.

    This patch (mostly written by Linus) fixes this by using spin
    locks instead of memory barries on the synchronize_irq() path.

    Signed-off-by: Herbert Xu
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Herbert Xu
     

23 Oct, 2007

25 commits