Received: by 10.223.185.116 with SMTP id b49csp6326093wrg; Wed, 28 Feb 2018 07:36:52 -0800 (PST) X-Google-Smtp-Source: AH8x226DTL5pQ9iDUqbd/lWZ4x55q8UmJlM8jsYFapthWVSEJVSlyJZv5LDGfNsicaPnWiInv9fN X-Received: by 10.98.225.2 with SMTP id q2mr17944281pfh.23.1519832211967; Wed, 28 Feb 2018 07:36:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519832211; cv=none; d=google.com; s=arc-20160816; b=rIEepNTLfavv+t8kfEREX+SWVjw61UaQ0QVJo9TQOVoThb/VyBq+ou1uVN+2Uy2FCF SLovDOODNRcj1y15tjuPVc9tVmI5aDfRSBl9rAdEvyoPo+ZKmx/X3MPXtrDg7sq0SPPT Gdrrzo3fYwhTpzNgCOnOtywi8UiYPSMuDkdBDizf3wy2izvtQEXR9MhTeod0mxVVbKDz IWkJMsNxM2PelelEyvWIxdad63bjVmTnO/QN7pTfQCSn1axodEWfQVijatW+RmpJFhFK fB1CKMrty84mKNgXTEaZ4u3jW3VSpmwrAs2RkhgGx01tdL1jomT4cWSONhxm/BIF5rRU lPZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=fOAohz/f5xKZPF34XFbic3fxaNfvYH/0yi/OocKbKGg=; b=ibTm8qjKAMkCWqgUa/YrxMa5tTqBUyG1HsvI+iaOSPp2QNNIrPkE2vjPG3TU55Wo5j 2vxjbxJVw46xarMcBSJQpIe1QZBg67H0J2mLDpWPbOAx0Jv8a2IfnWZTe7jihw+iXHyT nccSMRbp9l/u9ID86cO0J5twDCVTSH/w6lOgt5yNxNhvfvEGlcnM8KzmNo+u8JCXXfU3 m/4EW7gr64iKI4utHzGV3z5sP7NWp+xWuGQE87RMpDaxUrYUbuS/1FNJO4VPPpuOgswD I2mKIkyA+OJmaW1riohOWa2Jf1Jh2bJM4AltitcEYYcMaNjItmrin7wGexWmQNR9d1i+ Sf6A== 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 d18si1372717pfl.307.2018.02.28.07.36.37; Wed, 28 Feb 2018 07:36:51 -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 S933249AbeB1Pew (ORCPT + 99 others); Wed, 28 Feb 2018 10:34:52 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:33249 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752817AbeB1PWg (ORCPT ); Wed, 28 Feb 2018 10:22:36 -0500 Received: from [2a02:8011:400e:2:6f00:88c8:c921:d332] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1er3Ye-0006Xe-EW; Wed, 28 Feb 2018 15:22:16 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yd-0008OF-KV; Wed, 28 Feb 2018 15:22:15 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Greg Kroah-Hartman" , "Hans de Goede" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 026/254] uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices In-Reply-To: X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.55-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 7fee72d5e8f1e7b8d8212e28291b1a0243ecf2f1 upstream. We've been adding this as a quirk on a per device basis hoping that newer disk enclosures would do better, but that has not happened, so simply apply this quirk to all Seagate devices. Signed-off-by: Hans de Goede Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/storage/uas-detect.h | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/usb/storage/uas-detect.h +++ b/drivers/usb/storage/uas-detect.h @@ -111,6 +111,10 @@ static int uas_use_uas_driver(struct usb } } + /* All Seagate disk enclosures have broken ATA pass-through support */ + if (le16_to_cpu(udev->descriptor.idVendor) == 0x0bc2) + flags |= US_FL_NO_ATA_1X; + usb_stor_adjust_quirks(udev, &flags); if (flags & US_FL_IGNORE_UAS) {