11 Jan, 2006

1 commit


10 Jan, 2006

5 commits


09 Jan, 2006

5 commits

  • This patch works around a problem with spurious interrupts seen at boot time when
    a MAXTOR 6H500F0 drive is present. An ATA interrupt condition is mysteriously
    present at start of day. If we took too long in issuing the first command,
    the kernel would basically get tired of the spurious interrupts and turn the interrupt
    off. Issuing the first command essentially causes the interrupt condition to
    get acknowledged.

    I haven't seen this happen with any other drives.

    What I basically do is ack ATA status by reading it regardless of whether we're
    expecting to have to handle an interrupt. This clears the start-of-day anomalous
    interrupt condition, and keeps the kernel from disabling that interrupt due to
    too many spurious interrupts.

    Also, I fixed a bug where hotplug interrupts weren't getting acknowledged as handled
    in the ISR. This was not the cause of the spurious interrupts, but it's the right
    thing to do anyway.

    Signed-Off-By: Andrew Chew

    Signed-off-by: Jeff Garzik

    Andrew Chew
     
  • This patch moves the SCSI softirq handling to the block layer version.
    There should be no functional changes.

    Signed-off-by: Jens Axboe

    Jens Axboe
     
  • Many ARM drivers do not need to include asm/irq.h - remove this
    unnecessary include from some ARM drivers.

    Signed-off-by: Russell King

    Russell King
     
  • HDIO_GETGEO is implemented in most block drivers, and all of them have to
    duplicate the code to copy the structure to userspace, as well as getting
    the start sector. This patch moves that to common code [1] and adds a
    ->getgeo method to fill out the raw kernel hd_geometry structure. For many
    drivers this means ->ioctl can go away now.

    [1] the s390 block drivers are odd in this respect. xpram sets ->start
    to 4 always which seems more than odd, and the dasd driver shifts
    the start offset around, probably because of it's non-standard
    sector size.

    Signed-off-by: Christoph Hellwig
    Cc: Jens Axboe
    Cc:
    Cc: Jeff Dike
    Cc: Paolo Giarrusso
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Neil Brown
    Cc: Markus Lidel
    Cc: Russell King
    Cc: David Woodhouse
    Cc: Martin Schwidefsky
    Cc: James Bottomley
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • The pre-parsed addrs/n_addrs fields in struct device_node are finally
    gone. Remove the dodgy heuristics that did that parsing at boot and
    remove the fields themselves since we now have a good replacement with
    the new OF parsing code. This patch also fixes a bunch of drivers to use
    the new code instead, so that at least pmac32, pseries, iseries and g5
    defconfigs build.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

07 Jan, 2006

4 commits

  • Manual fixup for merge with Jens' "Suspend support for libata", commit
    ID 9b847548663ef1039dd49f0eb4463d001e596bc3.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This patch adds suspend patch to libata, and ata_piix in particular. For
    most low level drivers, they should just need to add the 4 hooks to
    work. As I can only test ata_piix, I didn't enable it for more
    though.

    Suspend support is the single most important feature on a notebook, and
    most new notebooks have sata drives. It's quite embarrassing that we
    _still_ do not support this. Right now, it's perfectly possible to
    suspend the drive in mid-transfer.

    Signed-off-by: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jens Axboe
     
  • Make drivers that use directly PC parport HW depend on PARPORT_PC rather than
    HW independent PARPORT.

    Signed-off-by: Marko Kohtala
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marko Kohtala
     
  • Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X,
    ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by
    S390, 64BIT and COMPAT.

    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Schwidefsky
     

06 Jan, 2006

10 commits


05 Jan, 2006

6 commits


03 Jan, 2006

1 commit


02 Jan, 2006

1 commit


27 Dec, 2005

1 commit

  • The oops is characteristic of the underlying device being removed from
    visibility before the class device, and sure enough we do device_del()
    before transport_unregister() in the scsi_target_reap() routines. I've
    no idea why this is suddenly showing up, since the code has been in
    there since that function was first invented. However, I've confirmed
    this fixes Andrew Vasquez's boot oops.

    Signed-off-by: James Bottomley
    Signed-off-by: Linus Torvalds

    James Bottomley
     

25 Dec, 2005

1 commit


24 Dec, 2005

2 commits


22 Dec, 2005

1 commit


19 Dec, 2005

1 commit

  • Miquel van Smoorenburg forwarded me this fix to
    resolve a deadlock condition that occurs due to the API change in
    2.6.13+ kernels dropping the host locking when entering the error
    handling. They all end up calling adpt_i2o_post_wait(), which if you
    call it unlocked, might return with host_lock locked anyway and that
    causes a deadlock.

    Signed-off-by: Mark Salyzyn
    Cc: James Bottomley
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Salyzyn, Mark
     

18 Dec, 2005

1 commit