Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5999574pxb; Mon, 14 Feb 2022 12:47:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwh4gNo6erJpWj+qCMQpljYH+AkGCaj3AxJTMiJMPDOd6TGhVRWFz9b62Zv7DNZH4Kwl8SI X-Received: by 2002:a17:90b:398:: with SMTP id ga24mr505903pjb.108.1644871649060; Mon, 14 Feb 2022 12:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644871649; cv=none; d=google.com; s=arc-20160816; b=e8dD5Bm05po4yCw0Wkxk8MGpfa6m9etRVwwBOnE+ALEjvOLVn2Nvs6jsKCE1v8zImH 7DK5yBHEsZW3eWvYKSXM8rlxqibQUwpP54tVYHsqTu9frTSUz3f2Ymp32dt7mRUWInYW uKxccmW+5TUbw8fX39WrbQCpzIzS3rRSGfDrBt4ebsS1AocVwtE845InM3eHtWVjrGCF JcLRVFc5adD+t1RCSM0y7oJHTcxp5wHjAfePh60P2uHcBTTgUhN2h/aMYneRb7F1XBb2 eXkXs9K95EKLJOqay1pZsrx0GNU6l4WajAQMLgcUzO5Jx6faYIhfA+YBmaFW+Bw1QoEz sDZA== 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=gpo1MSJTpkeLh83gRoEVxHEYFy5O093ayOX++Qc76qo=; b=KB2Xkunv7ZF+N49jeRK1UFpJISaI5hbX1t3ew1uD1ULyE0KuxEiFXiqUVBCC8qVliH 1TjjJ4ITu//aBxcAcmCcrPFYWJ/PLsl3/uBl6L5x980TbnYBDVbayIjkope5KPXzm2e/ hPAdG7HcCg5BJ0wuWfDidpXYQtYgMdf7QYN8GymC7Tfw0xUcyEkPhTUJce2MYogLiP+1 VOGPoeaaXZUb/qOT4OmyB/VL0nXJUC0M08noNgVymsdie8S56SUkrvEX1Pds4Z/BARSt U26O4MQ2AkrRgI3ct91LkIldd0odPd4L6fYRngmnw2072kUxC8dU4BdqkHyLpNumHtIF bxAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ebLL3tSa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i5si12312568pjz.146.2022.02.14.12.47.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 12:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ebLL3tSa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 136031C33F1; Mon, 14 Feb 2022 12:13:22 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245324AbiBNJuA (ORCPT + 99 others); Mon, 14 Feb 2022 04:50:00 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344411AbiBNJq5 (ORCPT ); Mon, 14 Feb 2022 04:46:57 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C4E760D90; Mon, 14 Feb 2022 01:40:34 -0800 (PST) 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 A043860F87; Mon, 14 Feb 2022 09:40:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E4CCC340E9; Mon, 14 Feb 2022 09:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644831625; bh=ZIoruihJRDf1q4OFLPrXAa1XVhoSo5Vgetf4aKxnfEQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ebLL3tSaQVHlY0KN7ojK9q9/R/rnFJAAJy9sGtwqB/fcubFfRxieVCEQ1giXKcln6 IIYfA1CBlebvL61jXFSnyZw+VJq4EWKnztmA0gnyU5BavaqcyrufoEGr7wmEMUK93q a6yq34ME5uxqYMrQeOQ1E7YAiFggQQtfJpAH+41Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Zheng Wu , Ye Jinhe , Keith Busch , Christoph Hellwig , Sasha Levin Subject: [PATCH 5.10 035/116] nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs Date: Mon, 14 Feb 2022 10:25:34 +0100 Message-Id: <20220214092459.901116421@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220214092458.668376521@linuxfoundation.org> References: <20220214092458.668376521@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.0 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=no 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: Wu Zheng [ Upstream commit 25e58af4be412d59e056da65cc1cefbd89185bd2 ] The Intel P4500/P4600 SSDs do not report a subsystem NQN despite claiming compliance to a standards version where reporting one is required. Add the IGNORE_DEV_SUBNQN quirk to not fail the initialization of a second such SSDs in a system. Signed-off-by: Zheng Wu Signed-off-by: Ye Jinhe Reviewed-by: Keith Busch Signed-off-by: Christoph Hellwig Signed-off-by: Sasha Levin --- drivers/nvme/host/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 1b85349f57af0..97afeb898b253 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3198,7 +3198,8 @@ static const struct pci_device_id nvme_id_table[] = { NVME_QUIRK_DEALLOCATE_ZEROES, }, { PCI_VDEVICE(INTEL, 0x0a54), /* Intel P4500/P4600 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | - NVME_QUIRK_DEALLOCATE_ZEROES, }, + NVME_QUIRK_DEALLOCATE_ZEROES | + NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_VDEVICE(INTEL, 0x0a55), /* Dell Express Flash P4600 */ .driver_data = NVME_QUIRK_STRIPE_SIZE | NVME_QUIRK_DEALLOCATE_ZEROES, }, -- 2.34.1