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 C7321C43334 for ; Mon, 13 Jun 2022 18:09:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243451AbiFMSI6 (ORCPT ); Mon, 13 Jun 2022 14:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244908AbiFMSIR (ORCPT ); Mon, 13 Jun 2022 14:08:17 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52E0542EEB for ; Mon, 13 Jun 2022 06:55:54 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id E1E6A68AA6; Mon, 13 Jun 2022 15:55:49 +0200 (CEST) Date: Mon, 13 Jun 2022 15:55:49 +0200 From: Christoph Hellwig To: "Jason A. Donenfeld" Cc: Christoph Hellwig , "R, Monish Kumar" , "open list:NVM EXPRESS DRIVER" , Sagi Grimberg , "alan.adamson@oracle.com" , LKML , Yi Zhang , Keith Busch , "axboe@fb.com" , "Rao, Abhijeet" Subject: Re: 2 second nvme initialization delay regression in 5.18 [Was: Re: [bug report]nvme0: Admin Cmd(0x6), I/O Error (sct 0x0 / sc 0x2) MORE DNR observed during blktests] Message-ID: <20220613135549.GA1714@lst.de> References: <20220610061449.GD24331@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 10, 2022 at 11:19:31AM +0200, Jason A. Donenfeld wrote: > Right, that seems like the set of variance we're dealing with. If it's a > firmware version issue, then we revert because people can update? Or can > we quirk firmware version numbers too? We can quirk on firmware version and model number as well. Those quirks need to go into the core nvme module and not just the PCI driver, though. > If it's ASIC stepping, I guess we > need to quirk that. And likewise thunderbolt, but that seems more > awkward to quirk around, because afaik, it all just appears as PCIe? It all appears as PCIe, but the pci_dev has an is_thunderbolt flag. Thanks to both of you for the information. I'd like to wait until the end of the week or so if we can hear something from Samsung, and if we don't we'll have to quirk based on the model number.