Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp14348imu; Thu, 8 Nov 2018 13:57:25 -0800 (PST) X-Google-Smtp-Source: AJdET5eQwo2JQsvwx32p41i9XJFmjkZDX6yvFRCFym8kyXurB3cDzcMjh+z7oiR3jVqfNioS+iRM X-Received: by 2002:a62:be18:: with SMTP id l24-v6mr6091998pff.51.1541714245301; Thu, 08 Nov 2018 13:57:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541714245; cv=none; d=google.com; s=arc-20160816; b=WX+NgCRJ2qB3iYh2jkFcpSjnJh3gOpk3eMeQalLuGuyGfIg7PKu1HSrLO9KKXlHn0y g/HiqFUS4KjDwKuT4athF/jSZvW4hGnEzdmeWwVDXW3jqty0yGRajdoK9g3Unzq2SUhl 2YD3p+GouOsNNESjO8LVgVyzT1O301hrJJCEICD5a0rPhxE/4GlM/RZxQlIW930p1sDw kfEypRYPBtIYnNyzQN/TjQdF1vfBcQCwSg6LwumDjd2pixb+IR8NrJOKQdNHTEf6sqPa Dhx+MDjbMwojeNHeFXRWoEmNxh02p/5GXE/tXDNs9HlmDUWfNhuhdE6Bpi56h0YQP4IX F5lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/I3DlP7RxsflOCesJWYEDLcbgN6cs8fmMSqV8ScI+sE=; b=hUH/jAzvl0lgJKTydtlD6hzbMCe/nHL5J4Ceftu/tgIS+bAQYpkGb2a+8oTGb8DpNM M/ur/kro282yqkYeEkkm4XRGy0KnGs9iiuSCkmTNeisTcnCjXqXkl3LNbZarK2Lrs62v syL9GGml2YK1rm564ti9II4bTCNhTFLJXsUvQ3aYcoX1x3SUoLhDxQ8gwm/N/ZWKfi/Z fwWU+H2LWa9ygQB/KzVykG2XxIq+9VmAT0zMsRiBevKILstfjWxsplzmUo3URd+vqwal pNTq9qyjLpC0c0GUb9k+s7xMWZuKM03TXn3v7BN/DuPy/+TvTqgAZpj2HybpVsBPGTi2 w8PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=llCdUuUh; 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 p22si4551240pgl.340.2018.11.08.13.57.09; Thu, 08 Nov 2018 13:57:25 -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; dkim=pass header.i=@kernel.org header.s=default header.b=llCdUuUh; 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 S1728804AbeKIHdV (ORCPT + 99 others); Fri, 9 Nov 2018 02:33:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:48960 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727311AbeKIHdV (ORCPT ); Fri, 9 Nov 2018 02:33:21 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B27C120892; Thu, 8 Nov 2018 21:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714153; bh=V5JYs4r3GVVYOyf3Hw89w8pn8yPcayr99sZWk/HvALQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=llCdUuUhSwJPXU486GZKEUbQzhMTBOlwKOyYaz97e4Vi5JwMhFxK442JFds+YLmhz oXwJuLHj3ZNPp0fftpzvnAP+tuvJeHzK3dsWGv0Hmf5serR9IeDpaXx0ltv5G+eQXe pcKT+6oCaSOYqcSEgJ4d4SIxbOqcCM1jl+/icpwo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Darrick J. Wong" , Hans de Goede , Sasha Levin Subject: [PATCH 3.18 061/144] uas: disable UAS on Apricorn SATA dongles Date: Thu, 8 Nov 2018 13:50:32 -0800 Message-Id: <20181108215059.302025538@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215054.826084593@linuxfoundation.org> References: <20181108215054.826084593@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 36d1ffdb210ec2d0d6a69e9f6466ae8727d34119 ] The Apricorn SATA dongle will occasionally return "USBSUSBSUSB" in response to SCSI commands when running in UAS mode. Therefore, disable UAS mode on this dongle. Signed-off-by: Darrick J. Wong Acked-by: Hans de Goede Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/storage/unusual_uas.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h index baf671aef9d0..31c79b1f970e 100644 --- a/drivers/usb/storage/unusual_uas.h +++ b/drivers/usb/storage/unusual_uas.h @@ -40,6 +40,16 @@ * and don't forget to CC: the USB development list */ +/* + * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI + * commands in UAS mode. Observed with the 1.28 firmware; are there others? + */ +UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128, + "Apricorn", + "", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_IGNORE_UAS), + /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */ UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999, "Seagate", -- 2.17.1