Received: by 10.223.185.116 with SMTP id b49csp6339484wrg; Wed, 28 Feb 2018 07:50:36 -0800 (PST) X-Google-Smtp-Source: AG47ELuqFWQQGk2EF7dGTsWeJzILimb+BY1CBjj6fJozJ0IxqUfDGT1yoUJPwUD37wsYT2nw07xK X-Received: by 2002:a17:902:768b:: with SMTP id m11-v6mr14750873pll.185.1519833036218; Wed, 28 Feb 2018 07:50:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519833036; cv=none; d=google.com; s=arc-20160816; b=ygHMf2EKUihPUcTXrr5fq3nE6Ls70pTF4BKiBGyKw6d3VNsf/wu5J8wgmOLacdWfQz mm6sNrsngOZoOF2ZQIGmH1p3m33yAqWBcTlyvtDPavNKBh4KkxIZMeHAnsnBG7FK7ZbL FP11qo6l970AmYB92z/h5vSuzrh9mxKr4U1biDO3KzGl8K8moR805+zOdfoHQIW5YEoP LmKsa77KA1cnsrCQfP1/vR2GDnwrUdQ8rq12PPA1oVaQfE7hpOgKgnv2ZRlwtA+wSOci 3uqNPBd8H9ADfftTLPAzUurXO8/Y2i4xhzv7jzozpFOrXPNV1XQaRXCi/09yITFm+AIW /lHg== 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=Rzl8XOTLxziCCVH6dqz9viwfGHuuBsw8Sz/h6GAsGGY=; b=QgInuXAn9AXP6srUgBRL2+O62Rx3QNSUe2Z71jtR9R/Xf5RD2negC2bRT1gOqbEO28 5e/2HbZJYneoco6fSg1awwK35/LwZm8hJaqRLukVaIgnbDV9gfU/p7bke5oUxf67CAn7 EPVji8JbsimmqbYULCIRoG4X9xoQJNxDzpOdWT75zvIztSVPJyJG5LBwdrF6NlEEZMVs j2N1P6UpyTU13qEDsPZuOXwcWLbVXnfFaIORWqn/i9dW+rNE7HsUmaChzeZF2sTbobje Uxm1Nfe8ivObUbtgCYOEUaZjgzsY08Kj95AShTJO7cqHg6yVbkEiQB/FapaQsB+gcIwa sSgA== 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 r12si1166130pgt.200.2018.02.28.07.50.21; Wed, 28 Feb 2018 07:50:36 -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 S1752814AbeB1Ptp (ORCPT + 99 others); Wed, 28 Feb 2018 10:49:45 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:34280 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932379AbeB1Ptn (ORCPT ); Wed, 28 Feb 2018 10:49:43 -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 1er3Yq-0006XR-5K; Wed, 28 Feb 2018 15:22:28 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yj-0000FD-Fg; Wed, 28 Feb 2018 15:22:21 +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, "Icenowy Zheng" , "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 194/254] uas: ignore UAS for Norelsys NS1068(X) chips 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: Icenowy Zheng commit 928afc85270753657b5543e052cc270c279a3fe9 upstream. The UAS mode of Norelsys NS1068(X) is reported to fail to work on several platforms with the following error message: xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for unknown stream ring slot 1 ep 8 xhci-hcd xhci-hcd.0.auto: @00000000bf04a400 00000000 00000000 1b000000 01098001 And when trying to mount a partition on the disk the disk will disconnect from the USB controller, then after re-connecting the device will be offlined and not working at all. Falling back to USB mass storage can solve this problem, so ignore UAS function of this chip. Signed-off-by: Icenowy Zheng Acked-by: Hans de Goede Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/storage/unusual_uas.h | 7 +++++++ 1 file changed, 7 insertions(+) --- a/drivers/usb/storage/unusual_uas.h +++ b/drivers/usb/storage/unusual_uas.h @@ -145,6 +145,13 @@ UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x99 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), +/* Reported-by: Icenowy Zheng */ +UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999, + "Norelsys", + "NS1068X", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_IGNORE_UAS), + /* Reported-by: Takeo Nakayama */ UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999, "JMicron",