Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp33397ybv; Wed, 5 Feb 2020 00:31:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxiurZT0Ej+fYGKcB9iUK2EogM0Co/fn+D01rb/f28iaXCerKyRLAvwXr1PopF3FIJ47d/h X-Received: by 2002:aca:5106:: with SMTP id f6mr2015896oib.112.1580891491104; Wed, 05 Feb 2020 00:31:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580891491; cv=none; d=google.com; s=arc-20160816; b=MQ3GOgKTMO7vvohbHmawoM6YATRbq0bATk+l0pEHMN18aoPceUuByY8jX2SN8NSUTQ TX1E89MX9PbV/7t38N04rd1ZlAUuO+jFbuXcPWKLVEL3UP8ofhA15Ng3RiD+w8Unf1Gh oezWA0tuYiVMyvkWHs/0oSj76SJJw8GGOcvBN1YXb+flVhhkA5d1DvOuMT/5UyK6CSSF P12RCceoi+m9QxNnUpzAEG80b3i5sZkdiksBYjRjX2zx7kx+nTzmjUqG9aZcinPlP/1z Q60+fIkMyMcQy9FJELw+4/gmQOM0DGLur/9b3p5l1Qfs8dnJ6zovskT29T1KrPsYkX/R HRAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=BG4IzCN/k7RDoU7F9ijuLATxaHf+je3scFWvm2/EZ6o=; b=nLUxNcGcVUCghho/8MuYe0nbZmiJW2aa87ErL4xcIVHCv4we9e5RBBmsIdRHpPQvZJ eda/hbyHllC2Ig69Qj3nL9w6Fcwl6it+Y+q74z86EFgaMCf8mI0+VdFCj4LaiJpYML+6 ZV1K8rB5LmWX6IW3ai53Nza+rmKwDuc8oESFGSUVKRRavmzUMeTdclt1KBsGwihw3Zdr 14bFnxkAUFZc5toljH2UE22V2TicIjkcXzvOuLGz+/4h7MxgDsto+Clc7mIOrbJIoyKD /gGXOmsNb9GPo1XMnQ6exVdQxwQZoJbXi90Q79CdWmh3/VkC0MTl0mFeWGD5owJxwHfG DQbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f204si11338276oia.43.2020.02.05.00.30.59; Wed, 05 Feb 2020 00:31:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728034AbgBEI3g (ORCPT + 99 others); Wed, 5 Feb 2020 03:29:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:36194 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbgBEI3g (ORCPT ); Wed, 5 Feb 2020 03:29:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 52D4DAD6F; Wed, 5 Feb 2020 08:29:34 +0000 (UTC) From: Hannes Reinecke To: Jens Axboe Cc: Bartolomiej Zolnierkiewicz , linux-ide@vger.kernel.org, Linux Kernel Mailinglist , Hannes Reinecke , Hannes Reinecke Subject: [PATCH] libata: add horkage for ASMedia 1092 Date: Wed, 5 Feb 2020 09:29:30 +0100 Message-Id: <20200205082930.113885-1-hare@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 9c05177e09c2..f1a2f0a4ce05 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4416,6 +4416,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 }, -- 2.16.4