From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65FFEC04A94 for ; Thu, 3 Aug 2023 13:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235914AbjHCNEM (ORCPT ); Thu, 3 Aug 2023 09:04:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235886AbjHCNDw (ORCPT ); Thu, 3 Aug 2023 09:03:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ADC9212B; Thu, 3 Aug 2023 06:03:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D81D661D69; Thu, 3 Aug 2023 13:03:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65916C433CB; Thu, 3 Aug 2023 13:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691067813; bh=9Q9y+Y2QzfJdoochpxIlRw8fhM/lfnNz9Cq2beWflSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gQgBuT1DPs2ZhqfHz11XVlQVgtgZYOO2SvR6J/Yx7D/mB4eH/wHd4EZRRLV7YXVJV YUeS/1MzNrrI+oAaDb5GTHC+dpv2AEYNCYdNZcNxqpVnxzqK0p2MXVUpCZdx0Vtcfl xynyCNJScw3T6fDa0v43F8YeTiwLKPMlUr9rJtrhALInxWgcs04clR+RjKv95b/3s8 hLVhurE/xnYJetvBbq3eYmLGPZH2w3UuRFwWGzvUZoKpwqSEJ0rRIgbv/fn3kUzDxB 54RIG8Oi13BR0dMkOiLLqQZ37Uxkx3f5H6P/k27DT2s5lMJfU32RKtwUFmYj5QQ9FP is1p4oZ7c2uxA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Pankaj Raghav , Clemens Springsguth , Keith Busch , Sasha Levin , sagi@grimberg.me, linux-nvme@lists.infradead.org Subject: [PATCH AUTOSEL 6.4 7/7] nvme: add BOGUS_NID quirk for Samsung SM953 Date: Thu, 3 Aug 2023 09:03:20 -0400 Message-Id: <20230803130321.641516-7-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803130321.641516-1-sashal@kernel.org> References: <20230803130321.641516-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.4.7 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pankaj Raghav [ Upstream commit e5bb0988a5b622f58cc53dbdc044562229284d23 ] Add the quirk as SM953 is reporting bogus namespace ID. Link: https://bugzilla.kernel.org/show_bug.cgi?id=217593 Reported-by: Clemens Springsguth Tested-by: Clemens Springsguth Signed-off-by: Pankaj Raghav Signed-off-by: Keith Busch Signed-off-by: Sasha Levin --- drivers/nvme/host/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 492f319ebdf37..8cef5805bfb2f 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3394,6 +3394,8 @@ static const struct pci_device_id nvme_id_table[] = { .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x144d, 0xa809), /* Samsung MZALQ256HBJD 256G */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, + { PCI_DEVICE(0x144d, 0xa802), /* Samsung SM953 */ + .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x1cc4, 0x6303), /* UMIS RPJTJ512MGE1QDY 512G */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x1cc4, 0x6302), /* UMIS RPJTJ256MGE1QDY 256G */ -- 2.40.1