Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2098722ybl; Thu, 30 Jan 2020 11:19:51 -0800 (PST) X-Google-Smtp-Source: APXvYqyxVuFkuW6sLYPwONZoHIj+H1USv7amVcynOr4McUrutaBkOA8oHJBIXYQSjyXOWiCJ+7hI X-Received: by 2002:a05:6830:18c4:: with SMTP id v4mr4546327ote.265.1580411991422; Thu, 30 Jan 2020 11:19:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580411991; cv=none; d=google.com; s=arc-20160816; b=BMgdNfiJOhHFcR4h+mBR0geBGXqF3vy47ZRFMbDxtG6vtU4N9lEwipaKyZg3dDvtIQ evVj/R3h7zYV13XwA7X3Nrt27qukPURYS4NQP9GU1TC6uu4wHsI81Trg50JxIynWMWA0 TG4d1u2iYJqmnqS+Ysg0pMKs5xxheEHXmA0OIU8x8Vfj3b78AfabcJ6WLGNIIfuzZEmv aMHl/IClbfNDd3/Fl5OCfbyBU1jOuy7Md0MWblZuEyRkkCoLWUdQ9Z7txK71qXW7Qz1h gOCHvqDoGzPt9pw6sVyfZplhXtE+Xhjj71s98QAvHruIC5sFCmSgi6OriLOplRpYvXyl PAwA== 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=L3khULlHuqfumWzllx9ex1aBnGvNMx2upI+GiXSj7Is=; b=mIq9/e3dWx10pyympycj0O41sUxyOMLl8302GmjnQacv0xUzLtfq5G16WRu3YjhysW wyKnzqxo7bltDC+CRCjV+SxuhlXHVKesDC+QCJc1pJUMn/4fbNfeGO/4A3fMICdKTv2T uLpOhgcJqmond3NSvRvatmwir9ehzp+TxgmbUkTGFcYuMozo+RwQMi5KNRd3t1/jSxQB Yws/u/nSp8wxHB1Izyh/AnP8OMdnQhwyzToV5LhDFMrZC0cGPPmwncISn0Aj0DaOCA/K cfl3IXsZAZe9UEakGVkiYIWHCMRrfF5gPOeYebAqPgPIXi80rXgPjqddMO8gNbN37ssS 3GRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="2unGKum/"; 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 o13si3761135otp.27.2020.01.30.11.19.39; Thu, 30 Jan 2020 11:19: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; dkim=pass header.i=@kernel.org header.s=default header.b="2unGKum/"; 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 S1731216AbgA3Sqd (ORCPT + 99 others); Thu, 30 Jan 2020 13:46:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:56350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731190AbgA3SqX (ORCPT ); Thu, 30 Jan 2020 13:46:23 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 DDE9320674; Thu, 30 Jan 2020 18:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580409983; bh=xjiIuT2evy8epx2GISn700fzYHTLGE7gpt2NB0cwO60=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2unGKum/abviiiSlkrMBEzMuTd/rh6j95jo5JLTqMzN3qDW0Ss7WO/LcH5DWCsTK0 tRtvdGn9uO0Nhe8Mdy1FH1SakHMGzCDxTlldGr75jYJkZ86GCKk+agfHwY00EzE2uX 4YwWgjC7vK0sY9QjZGKk8jtDlT1uEGHtIarNL+eQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Steven Ellis , Pacho Ramos , Laura Abbott , Sasha Levin Subject: [PATCH 5.4 095/110] usb-storage: Disable UAS on JMicron SATA enclosure Date: Thu, 30 Jan 2020 19:39:11 +0100 Message-Id: <20200130183625.212740705@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200130183613.810054545@linuxfoundation.org> References: <20200130183613.810054545@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Laura Abbott [ Upstream commit bc3bdb12bbb3492067c8719011576370e959a2e6 ] Steve Ellis reported incorrect block sizes and alignement offsets with a SATA enclosure. Adding a quirk to disable UAS fixes the problems. Reported-by: Steven Ellis Cc: Pacho Ramos Signed-off-by: Laura Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/storage/unusual_uas.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h index d0bdebd87ce3a..1b23741036ee8 100644 --- a/drivers/usb/storage/unusual_uas.h +++ b/drivers/usb/storage/unusual_uas.h @@ -87,12 +87,15 @@ UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999, USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_IGNORE_UAS), -/* Reported-by: Takeo Nakayama */ +/* + * Initially Reported-by: Takeo Nakayama + * UAS Ignore Reported by Steven Ellis + */ UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999, "JMicron", "JMS566", USB_SC_DEVICE, USB_PR_DEVICE, NULL, - US_FL_NO_REPORT_OPCODES), + US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS), /* Reported-by: Hans de Goede */ UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999, -- 2.20.1