Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1400536pxa; Thu, 20 Aug 2020 10:16:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfwGbjmlxQgsRaHGa7GnaaDY9XkSMWp69HFfudZM5mxmuOdIUTOfLY2A5EhkslocFLj7Tz X-Received: by 2002:a05:6402:3113:: with SMTP id dc19mr3682194edb.280.1597943779808; Thu, 20 Aug 2020 10:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597943779; cv=none; d=google.com; s=arc-20160816; b=eIaPjdxRr8hJ1sHRBsBbwbt/5LwUnMf85tpNHf/Fsn7GjcsOa99HVpoopP5I31YGpb jUZMVQJuLh+m1nSRVpr0U/0yBAaQ7TwFi+joZMMxxbm3HBNngY6AdzOQT+BcpiF/BMqB 4FuaeqPNeR2yCaZZRsaO1gWg+U0MV/yxOjEO+WX58AaUEhIUYv4fI2FqUSQdAPt9VbuU kEyBfqZAxCK0v8dALQ2XU24K06S88LxRSrspywYqGJKL9nXVyeR9b0SEMlhbZrjufi3T k8MxvqdODeaNCZFsi0Z1Iadld4MBMYN/aq2/bWaJybZiyEF/Brv4YPIjyBD2JVEcQHjj RLtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=sNKOyAN070cUsV8VT5l3bx4jOXj3jbU+B3Xnf+xMJbU=; b=ebRWa2mpQqhStQ8D2cMIs5/1p2TQTBDDtff7Wtx4iXR++g5LqrCfbMmbIsKeNbsp7X oSGoYoOjQDIMONkXGmTeLx3mDrDN/H6DCnBVOPOlTikcgM5dIZ6QMK3wDhHTN+Hw2B8q Obdo1qD/f33UjMaRdfLdYMuz/EsCcri3+x9FxiQRquRh9R0SmFPH/me1YaRJeE5hUj3/ 5EAS9NfYw7FH/LYQafy0capk9fpe0r40vI8lNaSbOmpurtU+9x+C20D/joRKN5fm2cgf MESsBtHQsFqp1mfTHeIDbywMFJ+FPe0I+utXuJmjdYGQW8d8fGsveOTdD+GomBjqm65d xq7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=LliNBby4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rl7si1535039ejb.264.2020.08.20.10.15.55; Thu, 20 Aug 2020 10:16:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=LliNBby4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726946AbgHTRMz (ORCPT + 99 others); Thu, 20 Aug 2020 13:12:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730448AbgHTRMf (ORCPT ); Thu, 20 Aug 2020 13:12:35 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02AE8C061385 for ; Thu, 20 Aug 2020 10:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sNKOyAN070cUsV8VT5l3bx4jOXj3jbU+B3Xnf+xMJbU=; b=LliNBby4Jz/n3J8MwHRrJ2CQzi o6j9/rormt1Yg0F5ZhXEUvyqbxEHD7jkgg2KjSzf63lvQ3cFu5wq8FRi3WG6kyPEcjoYhzK13hW8y T376qiV0+ZwOI97/wM5AVpa2qUxF0CtK4rHu8JxocQAn0n49vw3o6ULWF+cDs6IHlqINTR0jZib6S ElYPOzdyai+/g6bSIZJKEwjqezLha3dcJrPscd22VAq/UQ+hoeIuAV5FDVDk0v385NeUbh3dVqVXL /nuGd7667wv90lywivb6L3pLCCgWgOYoJJEGlJ4uLJc/zqP0L3IEAQHWSos3Tc7pMIRU0NPEflc2a QMH2hVOg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8o6p-0004aM-1f; Thu, 20 Aug 2020 17:12:15 +0000 Date: Thu, 20 Aug 2020 18:12:14 +0100 From: Christoph Hellwig To: Jens Axboe Cc: "Ahmed S. Darwish" , Keith Busch , linux-nvme@lists.infradead.org, Sagi Grimberg , Chaitanya Kulkarni , linux-kernel@vger.kernel.org Subject: Re: v5.9-rc1 commit reliably breaks pci nvme detection Message-ID: <20200820171214.GA15207@infradead.org> References: <20200817135011.GA2072@lx-t490> <20200817155658.GB1221871@dhcp-10-100-145-180.wdl.wdc.com> <2356f514-9408-6a6f-871d-046984963533@kernel.dk> <20200820170729.GA4116@lx-t490> <83a3d1b6-1eb5-859b-3c5c-287d8d18a99b@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83a3d1b6-1eb5-859b-3c5c-287d8d18a99b@kernel.dk> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 20, 2020 at 11:10:58AM -0600, Jens Axboe wrote: > To be fair, I've only heard this one complaint about it, so hopefully it's > not too widespread. I'm on an x86-64 laptop myself with nvme, and it works > just fine :-) The cause for this is the weird NVMe of by ones, where 0 in a field means 1. So for the overflow to happen you need a controller that supports USHORT_MAX queue entries. Which don't seem to be all that common.