From patchwork Tue Jan 5 04:07:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 357304 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58615C433E0 for ; Tue, 5 Jan 2021 04:08:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2101022597 for ; Tue, 5 Jan 2021 04:08:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728137AbhAEEIT (ORCPT ); Mon, 4 Jan 2021 23:08:19 -0500 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]:42806 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbhAEEIT (ORCPT ); Mon, 4 Jan 2021 23:08:19 -0500 Received: from mailhost.synopsys.com (sv2-mailhost1.synopsys.com [10.205.2.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 2EF474017C; Tue, 5 Jan 2021 04:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1609819639; bh=g0RabAfp5Y9ySM1+ZobHfBfFqD33KoVQm2dq3PgktB8=; h=Date:From:Subject:To:Cc:From; b=TPkQ94VfOsSMUt6wVoVbIUPLNpcurDRrUZhuWNJqFaLT/g+M0Lv89YNc0HGfJNgTE o2MyeOldDfI20Dw3qcKDkSj3DEC1IqgDD9E3razikbX8FBv9ZD33cyrn/7/RMK6ZL0 oi17mQOmYNkxrB+RSp1tkb9yl2lBnXU/Cyo5i0m17lV2GUmUQOISQDl1bV2Oogy5be URpMwarhXdQrtE+1fqtHvBVg5xxOFFlqnthDKgfg7MWZgS/ruMIt2laGfI6DJfGvsX eLlSo7CoemoqD66jrXl9zF1P4X7gatCluumLu+RuZrwkyR1q0QJPqbZ+1pKySWwOwr 0qdl3Fnta2A8Q== Received: from te-lab16 (unknown [10.10.52.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPSA id F2484A0250; Tue, 5 Jan 2021 04:07:15 +0000 (UTC) Received: by te-lab16 (sSMTP sendmail emulation); Mon, 04 Jan 2021 20:07:15 -0800 Date: Mon, 04 Jan 2021 20:07:15 -0800 Message-Id: <2edc7af892d0913bf06f5b35e49ec463f03d5ed8.1609819418.git.Thinh.Nguyen@synopsys.com> X-SNPS-Relay: synopsys.com From: Thinh Nguyen Subject: [PATCH] usb: uas: Add PNY USB Portable SSD to unusual_uas To: Hans de Goede , Greg Kroah-Hartman , Alan Stern , usb-storage@lists.one-eyed-alien.net Cc: stable@vger.kernel.org, linux-usb@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Here's another variant PNY Pro Elite USB 3.1 Gen 2 portable SSD that hangs and doesn't respond to ATA_1x pass-through commands. If it doesn't support these commands, it should respond properly to the host. Add it to the unusual uas list to be able to move forward with other operations. Cc: stable@vger.kernel.org Signed-off-by: Thinh Nguyen Acked-by: Oliver Neukum --- drivers/usb/storage/unusual_uas.h | 7 +++++++ 1 file changed, 7 insertions(+) base-commit: 5c8fe583cce542aa0b84adc939ce85293de36e5e diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h index 870e9cf3d5dc..f9677a5ec31b 100644 --- a/drivers/usb/storage/unusual_uas.h +++ b/drivers/usb/storage/unusual_uas.h @@ -90,6 +90,13 @@ UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999, USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_BROKEN_FUA), +/* Reported-by: Thinh Nguyen */ +UNUSUAL_DEV(0x154b, 0xf00b, 0x0000, 0x9999, + "PNY", + "Pro Elite SSD", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_NO_ATA_1X), + /* Reported-by: Thinh Nguyen */ UNUSUAL_DEV(0x154b, 0xf00d, 0x0000, 0x9999, "PNY",