linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET #upstream] libata: implement presence detection using polling IDENTIFY for ata_piix, take #2
@ 2006-11-10  9:08 Tejun Heo
  2006-11-10  9:08 ` [PATCH 2/5] libata: convert @post_reset to @flags in ata_dev_read_id() Tejun Heo
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Tejun Heo @ 2006-11-10  9:08 UTC (permalink / raw)
  To: jgarzik, alan, linux-ide, htejun

Hello, all.

This is the second take of polling-IDENTIFY patchset.  Other than
rebased on the current upstream, nothing has changed since the last
take[L].

Some SATA and many PATA controllers don't have reliable way to detect
device presence and some controllers report master device's signature
as slave's if slave isn't present.  This sometimes results in failure
to detect devices and at other times phantom devices which cause
considerable delay during boot.

This patchset implements device detection via polling IDENTIFY, which
is used by IDE and was used by old libata.  When no device present,
!BSY && !DRQ status is seen while trying to read the IDENTIFY block.
If a LLD specifies ATA_FLAG_DETECT_POLLING, IDENTIFY command is issued
using polling PIO and the HSM marks AC_ERR_NODEV_HINT if !BSY && !DRQ
is met.  Then the probing logic marks the device non-existent silently
and continues probing.

ata_piix is having a lot of problem involving missing and/or phantom
devices and converted to use polling IDENTIFY by this patchset.

This patchset contains 6 patches.

#01-02	: prep for ATA_FLAG_DETECT_POLLING implementation
#03	: implement ATA_DETECT_POLLING
#04	: apply ATA_DETECT_POLLING to ata_piix
#05	: kill unnecessary parts from ata_piix

This patchset is against

  upstream (cfd15b0011498986ef14b6c53f5eaba89d2171f3)

Thanks.

--
tejun

[L] http://thread.gmane.org/gmane.linux.ide/13284/focus=13284



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-14 19:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10  9:08 [PATCHSET #upstream] libata: implement presence detection using polling IDENTIFY for ata_piix, take #2 Tejun Heo
2006-11-10  9:08 ` [PATCH 2/5] libata: convert @post_reset to @flags in ata_dev_read_id() Tejun Heo
2006-11-10  9:08 ` [PATCH 4/5] ata_piix: apply device detection via polling IDENTIFY Tejun Heo
2006-11-10  9:08 ` [PATCH 5/5] ata_piix: strip now unneded MAP related stuff Tejun Heo
2006-11-10  9:08 ` [PATCH 1/5] ata_piix: clean up port flags Tejun Heo
2006-11-14 19:23   ` Jeff Garzik
2006-11-10  9:08 ` [PATCH 3/5] libata: implement presence detection via polling IDENTIFY Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).