23 May, 2007

22 commits


22 May, 2007

18 commits

  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    Add constant for FCS/CRC length (frame check sequence)
    declance: Remove a dangling spin_unlock_irq() thingy
    e1000: Don't enable polling in open() (was: e1000: assertion hit in e1000_clean(), kernel 2.6.21.1)

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    libata: bump versions
    libata: Trim trailing whitespace
    libata: Kiss post_set_mode goodbye
    ata_piix: clean up
    pata_hpt366: Enable bits are unreliable so don't use them
    libata: Add Seagate STT20000A to DMA blacklist.
    ahci: disable 64bit dma on sb600

    Linus Torvalds
     
  • Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • Signed-off-by: Jeff Garzik

    Jeff Garzik
     
  • As of the -mm tree we don't have post_set_mode users any more.

    Signed-off-by: Alan Cox
    Signed-off-by: Jeff Garzik

    Alan Cox
     
  • With cable methods in place we don't need a custom error handler for SATA
    so get rid of it

    Signed-off-by: Alan Cox
    Signed-off-by: Jeff Garzik

    Alan Cox
     
  • Various people had problems with both old and new IDE when hpt366 enable
    bits started getting honoured. It turns out they are not reliable so
    don't rely on them

    Signed-off-by: Alan Cox
    Signed-off-by: Jeff Garzik

    Alan Cox
     
  • http://bugzilla.kernel.org/show_bug.cgi?id=1044 points out an
    additional hard disk that doesn't handle DMA transfers correctly.
    This patch is the libata variant of the earlier patch to drivers/ide/

    Signed-off-by: Dave Jones
    Signed-off-by: Jeff Garzik

    Dave Jones
     
  • SB600 claims it can do 64bit DMA but it can't. Disable it.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • The spin_unlock_irq() invocation in lance_start_xmit() has no matching
    locking request. The call is already protected by netif_tx_lock, so
    remove the statement.

    Signed-off-by: Maciej W. Rozycki
    Signed-off-by: Jeff Garzik

    Maciej W. Rozycki
     
  • Herbert Xu wrote:
    "netif_poll_enable can only be called if you've previously called
    netif_poll_disable. Otherwise a poll might already be in action
    and you may get a crash like this."

    Removing the call to netif_poll_enable in e1000_open should fix this issue,
    the only other call to netif_poll_enable is in e1000_up() which is only
    reached after a device reset or resume.

    Bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=8455
    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240339

    Tested by Doug Chapman

    Signed-off-by: Auke Kok
    Acked-by: Herbert Xu
    Signed-off-by: Jeff Garzik

    Auke Kok
     
  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
    IB/cm: Improve local id allocation
    IPoIB/cm: Fix SRQ WR leak
    IB/ipoib: Fix typos in error messages
    IB/mlx4: Check if SRQ is full when posting receive
    IB/mlx4: Pass send queue sizes from userspace to kernel
    IB/mlx4: Fix check of opcode in mlx4_ib_post_send()
    mlx4_core: Fix array overrun in dump_dev_cap_flags()
    IB/mlx4: Fix RESET to RESET and RESET to ERROR transitions
    IB/mthca: Fix RESET to ERROR transition
    IB/mlx4: Set GRH:HopLimit when sending globally routed MADs
    IB/mthca: Set GRH:HopLimit when building MLX headers
    IB/mlx4: Fix check of max_qp_dest_rdma in modify QP
    IB/mthca: Fix use-after-free on device restart
    IB/ehca: Return proper error code if register_mr fails
    IPoIB: Handle P_Key table reordering
    IB/core: Use start_port() and end_port()
    IB/core: Add helpers for uncached GID and P_Key searches
    IB/ipath: Fix potential deadlock with multicast spinlocks
    IB/core: Free umem when mm is already gone

    Linus Torvalds
     
  • The IB CM uses an idr for local id allocations, with a running counter
    as start_id. This fails to generate distinct ids if

    1. An id is constantly created and destroyed
    2. A chunk of ids just beyond the current next_id value is occupied

    This in turn leads to an increased chance of connection request being
    mis-detected as a duplicate, sometimes for several retries, until
    next_id gets past the block of allocated ids. This has been observed
    in practice.

    As a fix, remember the last id allocated and start immediately above it.
    This also fixes a problem with the old code, where next_id might
    overflow and become negative.

    Signed-off-by: Michael S. Tsirkin
    Acked-by: Sean Hefty
    Signed-off-by: Roland Dreier

    Michael S. Tsirkin
     
  • SRQ WR leakage has been observed with IPoIB/CM: e.g. flipping ports on
    and off will, with time, leak out all WRs and then all connections
    will start getting RNR NAKs. Fix this in the way suggested by spec:
    move the QP being destroyed to the error state, wait for "Last WQE
    Reached" event and then post WR on a "drain QP" connected to the same
    CQ. Once we observe a completion on the drain QP, it's safe to call
    ib_destroy_qp.

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

    Michael S. Tsirkin
     
  • Trivial error message fixups.

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

    Michael S. Tsirkin
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm: (22 commits)
    [ARM] spelling fixes
    [ARM] at91_adc parenthesis balance
    [ARM] 4400/1: S3C24XX: Add high-speed MMC device definition
    [ARM] 4399/2: S3C2443: Fix SMDK2443 nand timings
    [ARM] 4398/1: S3C2443: Fix watchdog IRQ number
    [ARM] 4397/1: S3C2443: remove SDI0/1 IRQ ambiguity
    [ARM] 4396/1: S3C2443: Add missing HCLK clocks
    [ARM] 4395/1: S3C24XX: add include of to relevant machines
    [ARM] 4388/1: no need for arm/mm mmap range checks for non-mmu
    [ARM] 4387/1: fix /proc/cpuinfo formatting for pre-ARM7 parts
    [ARM] ARMv6: add CPU_HAS_ASID configuration
    [ARM] integrator: fix pci_v3 compile error with DEBUG_LL
    [ARM] gic: Fix gic cascade irq handling
    [ARM] Silence OMAP kernel configuration warning
    [ARM] Update ARM syscalls
    [ARM] 4384/1: S3C2412/13 SPI registers offset correction
    [ARM] 4383/1: iop: fix usage of '__init' and 'inline' in iop files
    [ARM] 4382/1: iop13xx: fix msi support
    [ARM] Remove Integrator/CP SMP platform support
    [ARM] 4378/1: KS8695: Serial driver fix
    ...

    Linus Torvalds
     
  • a) platorm_driver_probe(...) instead of platform_driver_register(&driver);
    b) set bfin_spi_enable and bfin_spi_disable static
    c) Why is the width flag a u32?
    d) maybe use dev_dbg() instead of pr_debug()

    Signed-off-by: Bryan Wu
    Signed-off-by: Linus Torvalds

    Bryan Wu
     
  • properly setting up and respecting the read_status_mask / ignore_status_mask fields of the serial core

    Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu
    Signed-off-by: Linus Torvalds

    Mike Frysinger