Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13154441rwl; Wed, 4 Jan 2023 04:25:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXv2KxsRUAPX452y3nqJHin/HaBgQGSHTyFnq/cpUnnKZqPaNev9XoQ3rAGMc44M8CZUUg5K X-Received: by 2002:a17:907:c388:b0:849:e96f:51f4 with SMTP id tm8-20020a170907c38800b00849e96f51f4mr32848974ejc.23.1672835113038; Wed, 04 Jan 2023 04:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672835113; cv=none; d=google.com; s=arc-20160816; b=PbqNipFx5K9FSsVNvUbTGca3QTJpp0Q9liDqQn4YhJnGzRYjP3RjEJLjyqYs7N7LKS vvpn16HHSodA8l44daG4CG+KE0FJQ72UfTTSSknXuaIwMT9vVsdp/LJsIhR33TVzBwW2 4i1CSvqIacX7D/LT5UqQwM36kahM4k+HvYamDsCphvDDPlbtcy251hHTtyjcnc94LozK 1RzTGcVTznSe2BWSN3D7EZkDlGex1TFYpfDaR5N0vaqE6UMM4+SAmKnX0twNHzEHBN3C 4cyBI3CCVLVSd4O+9ldggFNshuNweGr3Tal4oSBFPDvAFwEwvKYwYFn41oBKxnv1p6gn Upaw== 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 :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=gbKqkFsN4hQeaKGBwT0swWYlTLMQd/HhdjuV7OkFZck=; b=MiiJDas+K6kQpYds2CgFwnfeQ4796tQNuvlA48o1ZApQ+uZ5LDIcDqRNvg7iDVhBnH VcJp0hIaE2p2Kt/Pq1Fxxdv+6bS+5KVmq+btI+/94zhTnKj/iyIATF8+RPvam9eXDed2 GJbsXj1DhJWfQ13TuuLkrMrhWXti2NtoFpWTZC6jxEgKglcGfRFCWdr4u6CpZOtc5iyk w3DWwvNEIaedcS3uJSf8G6/5zpljClnlAFp33XHCmaDkuJ3jj+VT9PALaeuLMIaVouJO eft0ZEcDDNs29+yqTFfTrPZN7HPOp3PzlhtqV6AMAbkl8EhZwDJ01wIj0r4xnTIFGQiV JbTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mHVGqX8H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go15-20020a1709070d8f00b00836ecced351si32736193ejc.380.2023.01.04.04.24.59; Wed, 04 Jan 2023 04:25:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mHVGqX8H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239173AbjADMDJ (ORCPT + 57 others); Wed, 4 Jan 2023 07:03:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239170AbjADMDG (ORCPT ); Wed, 4 Jan 2023 07:03:06 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A0DF1EEFB for ; Wed, 4 Jan 2023 04:03:06 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id 79so22043245pgf.11 for ; Wed, 04 Jan 2023 04:03:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:in-reply-to:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=gbKqkFsN4hQeaKGBwT0swWYlTLMQd/HhdjuV7OkFZck=; b=mHVGqX8H91pzBJ3DqpDdUa8q5l+Xnziz+IY+I893b//GyPfrcaV4LyEnL5N7W5orqd KhjDg2DKRkhNeg7kPMi5/Dhy3WkN7600cWS/0Yu9rxCpyqo6ycTsVO0NN2JpLSH8kMyK vXORpTS7mvElXy7DsHenbpJaJVvGFX/hjwlGlF0eg94KlhEZgBDawY7WE2dRw3ar+b2i KCiH4TGS/ukHVvhsiEvXeIHB87DmZkltPYIzUeRllH6xEgLaT6NJ0QPl9TZhB2tEE4Ex wsFb6n+q+5/6hA8Q+vPZ5CnnwLwj2nu7jw2G2lKejRqy5shn0+KKHYefSNm2sZ/Hxh65 xfPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:in-reply-to:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gbKqkFsN4hQeaKGBwT0swWYlTLMQd/HhdjuV7OkFZck=; b=IMEO26jPJRtWlKv64MaDw973pDZ3HSsmEv1MPPXkvZ/F+R0ErkucrZfHqK78msL7BF SvHP1jLJcL3F8rlhTR19uQ1fHbLC7LLn518r0MH/KEbU1cmn9LPuSq7kfG7VMAL3OM42 xjLYXzknQSlByXSi89IrRRPb6K0IhSInidMc5o0Xbv0J9BhcxNy7JCj6uGfeh1REXOoX wgT69mNuaPDlMN4ig9EjpeDUZGYLlrc4anvwYLGqNodf3PRppV9srmhYta1w6M+j0eZI Z3gyKPMU+kpcDqqPVKogrPuUa6DtCiBBUFPgOSiCJ9CnaMbaBmZupgkknSHgjhb0pBce T1Nw== X-Gm-Message-State: AFqh2koHP2SKNZCzIYrD86EItFtiyOI4ngJjljU19vJlPhbEg5j3egEI lyiRizCmnueBLuL2R2Ug3l2qa7sHwXU5dACIyxk= X-Received: by 2002:a62:e317:0:b0:581:4297:362f with SMTP id g23-20020a62e317000000b005814297362fmr33459797pfh.13.1672833785678; Wed, 04 Jan 2023 04:03:05 -0800 (PST) Received: from redecorated-mbp ([202.53.32.211]) by smtp.gmail.com with ESMTPSA id d18-20020aa797b2000000b0058251b6e0e8sm6856527pfq.188.2023.01.04.04.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jan 2023 04:03:05 -0800 (PST) Date: Wed, 4 Jan 2023 23:03:00 +1100 From: Orlando Chamberlain To: marcan@marcan.st Cc: asahi@lists.linux.dev, axboe@fb.com, hch@lst.de, kbusch@kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, sagi@grimberg.me, sven@svenpeter.dev, ushankar@purestorage.com Subject: Re: [PATCH] nvme-pci: Add NVME_QUIRK_IDENTIFY_CNS quirk to Apple T2 controllers Message-ID: <20230104230300.66b4a581@redecorated-mbp> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) In-Reply-To: <20230104101641.12215-1-marcan@marcan.st> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 > This mirrors the quirk added to Apple Silicon controllers in apple.c. > These controllers do not support the Active NS ID List command and > behave identically to the SoC version judging by existing user > reports/syslogs, so will need the same fix. This quirk reverts > back to NVMe 1.0 behavior and disables the broken commands. > > Fixes: 811f4de0344d ("nvme: avoid fallback to sequential scan due to transient issues") > Signed-off-by: Hector Martin On T2 macbookpro16,1 with 6.2.0-rc3-00010-g69b41ac87e4a I had this in dmesg: nvme nvme0: 1/0/0 default/read/poll queues nvme nvme0: Identify NS List failed (status=0xb) And in /dev only nvme0 existed (no nvme0n1*). This patch fixed that and /dev/nvme0n1p* existed. Tested-by: Orlando Chamberlain