1. 28 Mar, 2007 5 commits
    • Alan Cox's avatar
      pata_pdc202xx_old: LBA48 bug · 5e518810
      Alan Cox authored
      In LBA48 mode we have to help the controller to get anything to work. The
      chip provides a register giving word counts meant for ATAPI use which we
      can use. However we need to load the count in words not bytes..
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      5e518810
    • Tejun Heo's avatar
      libata: IDENTIFY backwards for drive side cable detection · 8c3c52a8
      Tejun Heo authored
      For drive side cable detection to work correctly, drives need to be
      identified backwards such that the slave device releases PDIAG- before
      the mater drive tries to detect cable type.  ata_bus_probe() was fixed
      by commit f31f0cc2 but the new EH path
      wasn't fixed.  This patch makes new EH path do IDENTIFY backwards.
      
      ata_dev_configure() for new devices are still performed master first.
      This is to keep the detection messages in forward order.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      8c3c52a8
    • Conke Hu's avatar
      ahci.c: walkaround for SB600 SATA internal error issue · 55a61604
      Conke Hu authored
         There is a HW issue in ATI SB600 SATA that PxSERR.E should not be
      set on some conditions, for example, when there is no media in SATA
      CD/DVD drive or media is not ready, AHCI controller fails to execute
      ATAPI commands and reports PORT_IRQ_TF_ERR, but ATI SB600 SATA
      controller sets PxSERR.E at the
      same time, which is not necessary.
          This patch is just to ignore the INTERNAL ERROR in such case.
      Without this patch, ahci error handler will report many errors as
      below:
          ----------- cut from dmesg -----------
      ata9: soft resetting port
      ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
      ata9.00: configured for UDMA/33
      ata9: EH complete
      ata9.00: exception Emask 0x40 SAct 0x0 SErr 0x800 action 0x2
      ata9.00: (irq_stat 0x40000001)
      ata9.00: cmd a0/00:00:00:00:20/00:00:00:00:00/a0 tag 0 cdb 0x0 data 0
              res 51/24:03:00:00:20/00:00:00:00:00/a0 Emask 0x40 (internal error)
      ata9: soft resetting port
      ata9: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
      ata9.00: configured for UDMA/33
      ata9: EH complete
      ata9.00: exception Emask 0x40 SAct 0x0 SErr 0x800 action 0x2
      ata9.00: (irq_stat 0x40000001)
      ata9.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x43 data 12 in
              res 51/24:03:00:00:00/00:00:00:00:00/a0 Emask 0x40 (internal error)
          -------- end cut ---------
      Signed-off-by: default avatarConke Hu <conke.hu@amd.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      55a61604
    • Jeff Garzik's avatar
      [libata] Disable ACPI by default; fix namespace problems · d7d0dad6
      Jeff Garzik authored
      Not yet ready to turn on ATA ACPI by default, for either PATA or SATA.
      
      Also, rename the global-scope module parameter variable 'noacpi' to
      something more libata-specific, reducing the potential for namespace
      collision.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      d7d0dad6
    • Zach Brown's avatar
      [PATCH] aio: remove bare user-triggerable error printk · 28defbea
      Zach Brown authored
      The user can generate console output if they cause do_mmap() to fail
      during sys_io_setup().  This was seen in a regression test that does
      exactly that by spinning calling mmap() until it gets -ENOMEM before
      calling io_setup().
      
      We don't need this printk at all, just remove it.
      Signed-off-by: default avatarZach Brown <zach.brown@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      28defbea
  2. 27 Mar, 2007 35 commits