Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp891839pxp; Wed, 16 Mar 2022 20:22:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYmugoWLszKX+O8vF3I7dRqbfoInK9jzZSLyc7fr9zFbj6xn+nFUWn/hlvdBwmmGKnR0Sw X-Received: by 2002:a17:902:e850:b0:153:e6c5:7f53 with SMTP id t16-20020a170902e85000b00153e6c57f53mr1691162plg.87.1647487368456; Wed, 16 Mar 2022 20:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647487368; cv=none; d=google.com; s=arc-20160816; b=ZeIwT3qYhxsdkIhwE2mGny4c3iwRh9ShIGCzYz3W1y8XoDUifBhlxCSu6tOUlSw6Kh hIqkZob8XRVYEhZKjaebP0FNsWZkQ+opvFiA51i67hd+t+9l92ax8pYDkyk8p3s2jRMb a2DnIOiUTIcsCDP7+y65fi1iojWYEpJLMCmoLrwP6pe8yV3u+5nBJgHKwe6CGwA7zBgy AOYkc9SHWv3XdExM3ylLfvf4VZyZ8orYwkmuFYvLzR2Bj+6rB1/j8MN6FS8N5aD2nV3C 8TGMK3lKQj2vjO+Cl0539EcJRAqBTg3iMDyTleUR04fUvlwF/k2HXl17tjuQ5uuFBmIe /M2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=n81xps7cJS1Knk/x84t2TghHdhPUfiGPD2l0OpvP3YU=; b=CGKxeUgqghdDChezRN4qYOtEve6tWr4d5+aFVU65L6OBWIOjg/PP7kMxtzcykWhJ8m DXhW9yBBsBxoQBl14+/8Ti2cBNEtMLf2uQz3mKGddyyQTcVkmgThYUqHHmawteAT3hcQ njxVzK1lhu7/ZFNiZFYQuwk9QXKJz8iwMe5aWc3fI0VPi7+QsSD9KKz9HEFk8aKBXv+J vAq/RMXZen3v68212yiET1boCeXkiNB0g6+BDk0+UTkmS4B7pkabSnDlJxSC7Eu61EFC BW5BNwG3nN31XiQs+tKT7kFOoWQuRMXywx4PbLoRD62WeL3Wd8jYkFN/98Bv8OPm9Gp6 LUeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FholFiSU; 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=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u14-20020a62ed0e000000b004f35ee26414si3256133pfh.97.2022.03.16.20.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 20:22:48 -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=@intel.com header.s=Intel header.b=FholFiSU; 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=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F3E12983C; Wed, 16 Mar 2022 20:22:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347260AbiCPHyH (ORCPT + 99 others); Wed, 16 Mar 2022 03:54:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244083AbiCPHyF (ORCPT ); Wed, 16 Mar 2022 03:54:05 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70EB42649 for ; Wed, 16 Mar 2022 00:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647417172; x=1678953172; h=from:to:cc:subject:date:message-id; bh=Je2ZWX3edA1Czz6ssXci3qY6Mhod4o9JMVkDWJhNKPQ=; b=FholFiSUsZKEcbzMy34SUollSJ7d2l1n/rUyCCTzEY2wmpau+OsgRpcz 3uQKF+zo1MaJbueIh/K4N+A7ZhKoWod/TdOZPDxYzON54Tm7NqsRcPFtx 6bMsIecFaRQfk4HN07omnJEma1+fu0VVSGk3ObroNvpR1zOleR4ttZM65 15iafUrrxyNt/nE3ZMmXDEr7906dbe8bcRlWtOFUuRWE2EP+9ASdtkwxR 7DjMQOAMUavpI9zGA3DYOMeAwqdA29LaHdSg7XeBPTX121VbsNU8Y/5eW 39BOBuLXL63ap24DVkhMcqyGsr3JTeMA7BU0qGqv97/CjC684/J4QOU4a g==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="319734626" X-IronPort-AV: E=Sophos;i="5.90,186,1643702400"; d="scan'208";a="319734626" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 00:52:52 -0700 X-IronPort-AV: E=Sophos;i="5.90,186,1643702400"; d="scan'208";a="690484275" Received: from basccgtest09.gar.corp.intel.com (HELO localhost.localdomain) ([10.223.165.104]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 00:52:49 -0700 From: monish.kumar.r@intel.com To: kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Cc: abhijeet.rao@intel.com, monish.kumar.r@intel.com Subject: [PATCH] nvme-pci: Add quirk changes for Samsung X5 SSDs Date: Wed, 16 Mar 2022 13:24:49 +0530 Message-Id: <20220316075449.18906-1-monish.kumar.r@intel.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-3.5 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 Add quirks to not fail the initialization and to have quick resume latency after cold/warm reboot. Signed-off-by: Monish Kumar R --- 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 6a99ed680915..c1150e01394c 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3463,7 +3463,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.17.1