]> git.baikalelectronics.ru Git - kernel.git/commitdiff
libata: add horkage for ASMedia 1092
authorHannes Reinecke <hare@suse.de>
Wed, 8 Dec 2021 06:58:53 +0000 (07:58 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 9 Dec 2021 02:20:47 +0000 (11:20 +0900)
The ASMedia 1092 has a configuration mode which will present a
dummy device; sadly the implementation falsely claims to provide
a device with 100M which doesn't actually exist.
So disable this device to avoid errors during boot.

Cc: stable@vger.kernel.org
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-core.c

index 59ad8c979cb300af14a204e6560b8cdb2acc8751..aba0c67d1bd6563d34250e4b8b11114612e91dcf 100644 (file)
@@ -3920,6 +3920,8 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
        { "VRFDFC22048UCHC-TE*", NULL,          ATA_HORKAGE_NODMA },
        /* Odd clown on sil3726/4726 PMPs */
        { "Config  Disk",       NULL,           ATA_HORKAGE_DISABLE },
+       /* Similar story with ASMedia 1092 */
+       { "ASMT109x- Config",   NULL,           ATA_HORKAGE_DISABLE },
 
        /* Weird ATAPI devices */
        { "TORiSAN DVD-ROM DRD-N216", NULL,     ATA_HORKAGE_MAX_SEC_128 },