09 Feb, 2006

2 commits


08 Feb, 2006

4 commits


06 Feb, 2006

1 commit

  • percpu_data blindly allocates bootmem memory to store NR_CPUS instances of
    cpudata, instead of allocating memory only for possible cpus.

    As a preparation for changing that, we need to convert various 0 -> NR_CPUS
    loops to use for_each_cpu().

    (The above only applies to users of asm-generic/percpu.h. powerpc has gone it
    alone and is presently only allocating memory for present CPUs, so it's
    currently corrupting memory).

    Signed-off-by: Eric Dumazet
    Cc: "David S. Miller"
    Cc: James Bottomley
    Acked-by: Ingo Molnar
    Cc: Jens Axboe
    Cc: Anton Blanchard
    Acked-by: William Irwin
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Dumazet
     

03 Feb, 2006

1 commit

  • Several bug reports have come in, noting that disabling CONFIG_PCI_MSI
    has fixed their problems with this driver. This may be generic system
    issues, but there is also the probability of unimplemented hardware
    errata workarounds. Until this ream of bug reports is sorted out, we
    can get them going in non-MSI interrupt mode.

    As such, this change adds an 'msi' module option, which defaults to off.

    Jeff Garzik
     

02 Feb, 2006

1 commit

  • Kernel 2.6.16-rc1 broke the ide-scsi driver: ide-scsi loads but fails to
    find any devices to bind to. It also triggers a message "Driver 'ide-scsi'
    needs updating - please use bus_type methods" from the driver core.

    The IDE core in 2.6.16-rc1 changed the location of an IDE driver's
    ->probe()/->remove()/->shutdown() methods: they are now in the ide_driver_t
    struct not in the gen_driver sub-struct. drivers/ide/ was updated for this
    change but ide-scsi.c wasn't. Hence the breakage.

    This patch repairs ide-scsi and also eliminates the driver core warning.

    Signed-off-by: Mikael Pettersson
    Cc: Russell King
    Cc: Greg KH
    Acked-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mikael Pettersson
     

01 Feb, 2006

8 commits


30 Jan, 2006

4 commits


29 Jan, 2006

1 commit


28 Jan, 2006

1 commit

  • On occasion, a user will submit a patch that enables the "mod15write"
    quirk for their device. Enabling this quirk has the effect of clamping
    all ATA commands to no more than 15 sectors. The intended use of this
    quirk is to stop the controller from generating FIS's of unusual size
    ("but Wesley, what about the FOUS's?"), which in turn works around
    problems in a of hard drives.

    One side effect of this quirk is greatly decreased performance. Users
    often enable the mod15write quirk to fix various system, power, chip,
    and/or driver problems. For a few rare problematic cases, enabling this
    has cured lockups or data corruption.

    Rather than add bogus listings to the mod15write quirk list (I get a
    patch every month doing such), we add a 'slow_down' module parameter.
    This allows users to employ a performance sledgehammer in the hopes
    of curing a problem. It defaults to off (0), of course.

    Jeff Garzik
     

27 Jan, 2006

1 commit

  • When the scsi_execute_async interface was added it ended up reducing
    the flexibility of userspace to send arbitrary scsi commands through
    sg using SG_IO. The SG_IO interface allows userspace to specify the
    CDB length. This is now ignored in scsi_execute_async and it is
    guessed using the COMMAND_SIZE macro, which is not always correct,
    particularly for vendor specific commands. This patch adds a cmd_len
    parameter to the scsi_execute_async interface to allow the caller
    to specify the length of the CDB.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    brking@us.ibm.com
     

26 Jan, 2006

7 commits


18 Jan, 2006

4 commits


17 Jan, 2006

5 commits