[PATCHSET #upstream] libata: implement presence detection using polling IDENTIFY for ata_piix, take #2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux