Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3688086lfo; Mon, 23 May 2022 11:29:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJS+DiB1s2+Hwq/0SwkYUnUHC6m9klvq9sU63sJij4mfV9xSPy8eONwkpmbMo0cSQmTa6a X-Received: by 2002:a17:902:c944:b0:161:7b60:e707 with SMTP id i4-20020a170902c94400b001617b60e707mr23314449pla.70.1653330539995; Mon, 23 May 2022 11:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653330539; cv=none; d=google.com; s=arc-20160816; b=piWq/ghIhl48umdUAkl8GkCBFQdJzSN77sUNfjwqUIoEalyAVK7flFc+Ne6O9pmDIE gv6+lHIY1nngQHVgkTRt04yO22i8r/4uPtm0Nq6Uh76+7BZ2SL9jYWWz5qIuCGrewKHM kwEblum1Lj+IXJixJYcdwGiGYMUSsOWweYdf3ctBOR3iOeGD6Q97bzNzZYCdgNhfNemc N+cE7qmcIrCbG+N8N0Ocpb13MYjTz1ZOQsKsblF7GhIdcm3Pl7OBqKkBPbSNXzjsTnQX RIMZQKEjRp8AWaKn3HOfQbU0t/rRcEDwfdhYdlqS6tuelz4OnLGUJOKRiK5dS2GbVTyW Gx9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=StK+gmSB7UQR4ukJS7wwJ9HBEfE0nnb1ylB8Og9xHNs=; b=EeCLF53LhqwKjlzrbd37mUc3/bbCKeWgKSjnujJA6kPZOgJHXFB+k0jo9PylTJdLsQ if3KZj5uOfOAJNUwWus5KLAbinCgeUDxW6fU/WhH9sqAAKsZQfy9nUD/cT4KIabghTK6 flOkfHZCVsj2cAbNeXbcp8NrdYmx2euRjWysV45R0Fr04Bmtn/6G1UsrF2Q1E+D5dRDY bVCbvg3ZGCcpgjSivGahnUOOCuV0IxmV9SFynyZigg89VUV7oI3exfTLqvdAui5xx1Pj O6uzAAa3ipYPqdf9ZwrLaxxoPgQtgsctC5gDlU119ESU8igaSyIMTka9nrlr1K4FEN41 TAoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OlgZ0RAp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y6-20020a17090a784600b001e0679feb42si4000pjl.136.2022.05.23.11.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 11:28:59 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OlgZ0RAp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B050911E4B2; Mon, 23 May 2022 11:28:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242574AbiEWRpv (ORCPT + 99 others); Mon, 23 May 2022 13:45:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242821AbiEWR2H (ORCPT ); Mon, 23 May 2022 13:28:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 254E98B0BD; Mon, 23 May 2022 10:24:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EFE6A60C21; Mon, 23 May 2022 17:24:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBC59C385A9; Mon, 23 May 2022 17:24:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1653326676; bh=3Edr0WGxsislP39bX1l22AF4oaC/dYzIMfeh7yF5tdU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OlgZ0RApY4dWmadQvohfPBHutENjLXNh81btwTcR5qpYdEZBR0XC8BfoTmpHN5xCM 1CrTe5nOH03ZNnZmU2ihrFxmHNdQ9e+RurrVxlmeKNCztf0kds5STG91L0sXsmXYv+ +uA0AVZmrXJIwspvwIWmBo9RpdbmAttwLdhScOlE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Monish Kumar R , Christoph Hellwig , Sasha Levin Subject: [PATCH 5.17 025/158] nvme-pci: add quirks for Samsung X5 SSDs Date: Mon, 23 May 2022 19:03:02 +0200 Message-Id: <20220523165834.742572116@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220523165830.581652127@linuxfoundation.org> References: <20220523165830.581652127@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Monish Kumar R [ Upstream commit bc360b0b1611566e1bd47384daf49af6a1c51837 ] Add quirks to not fail the initialization and to have quick resume latency after cold/warm reboot. Signed-off-by: Monish Kumar R Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/host/pci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index e4b79bee6206..94a0b933b133 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3470,7 +3470,10 @@ static const struct pci_device_id nvme_id_table[] = { NVME_QUIRK_128_BYTES_SQES | NVME_QUIRK_SHARED_TAGS | NVME_QUIRK_SKIP_CID_GEN }, - + { PCI_DEVICE(0x144d, 0xa808), /* Samsung X5 */ + .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY| + NVME_QUIRK_NO_DEEPEST_PS | + NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) }, { 0, } }; -- 2.35.1