android_kernel_xiaomi_sm8350/drivers/ata
Tejun Heo d1adc1bbd6 [PATCH] libata: handle 0xff status properly
libata waits for !BSY even when the status register reports 0xff.
This causes long boot delays when D8 isn't pulled down properly.  This
patch does the followings.

* don't wait if status register is 0xff in all wait functions

* make ata_busy_sleep() return 0 on success and -errno on failure.
  -ENODEV is returned on 0xff status and -EBUSY on other failures.

* make ata_bus_softreset() succeed on 0xff status.  0xff status is not
  reset failure.  It indicates no device.  This removes unnecessary
  retries on such ports.  Note that the code change assumes unoccupied
  port reporting 0xff status does not produce valid device signature.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Joe Jin <lkmaillist@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-12-01 22:40:28 -05:00
..
ahci.c [PATCH] ahci: ignore PORT_IRQ_IF_ERR on JMB controllers 2006-11-29 14:57:44 +09:00
ata_generic.c [PATCH] pci_module_init-convertion-in-ata_genericc fix 2006-12-01 22:40:25 -05:00
ata_piix.c [PATCH] libata: add 40pin "short" cable support, honour drive side speed detection 2006-12-01 22:40:25 -05:00
Kconfig [PATCH] ata: Generic platform_device libata driver 2006-12-01 22:40:28 -05:00
libata-core.c [PATCH] libata: handle 0xff status properly 2006-12-01 22:40:28 -05:00
libata-eh.c
libata-scsi.c [PATCH] libata: Fixup ata_sas_queuecmd to handle __ata_scsi_queuecmd failure 2006-11-28 03:51:55 -05:00
libata-sff.c [PATCH] sata_nv ADMA/NCQ support for nForce4 2006-12-01 22:40:27 -05:00
libata.h [PATCH] libata: unexport ata_dev_revalidate() 2006-10-31 20:40:09 -05:00
Makefile [PATCH] ata: Generic platform_device libata driver 2006-12-01 22:40:28 -05:00
pata_ali.c [PATCH] libata: add 40pin "short" cable support, honour drive side speed detection 2006-12-01 22:40:25 -05:00
pata_amd.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_artop.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_atiixp.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_cmd64x.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_cs5520.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_cs5530.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_cs5535.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_cypress.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_efar.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_hpt3x2n.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_hpt3x3.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_hpt37x.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_hpt366.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_isapnp.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_it821x.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_jmicron.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_legacy.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_marvell.c [libata] pata_marvell: minor and trivial cleanups 2006-12-01 22:40:27 -05:00
pata_mpiix.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_netcell.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_ns87410.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_oldpiix.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_opti.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_optidma.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_pcmcia.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_pdc202xx_old.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_pdc2027x.c [PATCH] pci_module_init() conversion for pata_pdc2027x 2006-12-01 22:40:25 -05:00
pata_platform.c [PATCH] ata: Generic platform_device libata driver 2006-12-01 22:40:28 -05:00
pata_qdi.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_radisys.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_rz1000.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_sc1200.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_serverworks.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_sil680.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_sis.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_sl82c105.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_triflex.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_via.c [PATCH] libata: add missing sht->slave_destroy 2006-11-29 14:57:58 +09:00
pata_winbond.c [PATCH] libata: Winbond support 2006-12-01 22:40:24 -05:00
pdc_adma.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sata_mv.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sata_nv.c [PATCH] sata_nv ADMA/NCQ support for nForce4 2006-12-01 22:40:27 -05:00
sata_promise.c Merge branch 'master' into upstream-fixes 2006-10-11 04:59:46 -04:00
sata_promise.h
sata_qstor.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sata_sil24.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sata_sil.c [PATCH] misc sata __iomem annotations 2006-10-10 15:37:21 -07:00
sata_sis.c [PATCH] sata_sis: fix flags handling for the secondary port 2006-10-31 20:26:10 -05:00
sata_svw.c [PATCH] misc sata __iomem annotations 2006-10-10 15:37:21 -07:00
sata_sx4.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sata_uli.c [libata] PCI ID table cleanup in various drivers 2006-09-28 20:21:59 -04:00
sata_via.c [libata] sata_via: fix obvious typo 2006-11-08 07:46:02 -05:00
sata_vsc.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00