Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3147292ybh; Mon, 5 Aug 2019 12:58:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfeAjlyLzW+zbLaUZHUfbSPPDu/y3mvdZb6nEffV6dA0VgZpawTHCMKaN7K6l0jwizrv6Z X-Received: by 2002:a63:e907:: with SMTP id i7mr135695290pgh.84.1565035128057; Mon, 05 Aug 2019 12:58:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565035128; cv=none; d=google.com; s=arc-20160816; b=K6a4hCQB0ZXmLMjiJaSBakEUzNUXu6pAoBvtNuzMGk3GDjhEg9rwPD8Rs60ynDR0/y lhMgS9ZdyQGDLUqtQcISbV2m5IbilfQYiDBoUWlSvinmS7PjaJoT56E0KhWMW8vgwJWZ S9g5YYsyMsXpothf0v6l4wardAxK0ttHP2SEB20uoDtH2ieq0ugmcTL8+aSrhq93x114 nLM0vdR+/Rii2vUgQ6/RKXjW8bU88hcl9+RvBsoY2/i/M6PYOeX8eAi0Zho3/14V5BlM CASyhdJrHPImwRTvK6idl98X+3xNjBsBcHOauWx+QvDILW67VJ5ngdip+k3OsTawm/9w YDhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Phj5qHRlX7O4d97X44pT5RUSua7c85Z/2K1/c6MyGLs=; b=Ndt/CDkdbDLsx2dmvpCvTR+HVhArvMUtR1IUl9xogw2ZsbPvwgZQy8/nfddbb/4xlm 4fnmKNS6WQhqTmo1PjUKNZoLg0UrgpvAy7VRae0Xiu811pFOZGEJivymeB6uro4pzWrW P3V/N5dcw0U66BZtpqRqr2NLk9z73UEGsY+v9kcVs/dgv2+Ez47K0uJy3CAt1ZhsmMGu 8AKN7tkQdvB0iIVxqWQcKlp9y6yD835MjyKUXb20c6iB5lJEuYpZ1wgIK0p1T6+5Xt1w XzRHRxYalS5/nQHnJ+oyJNlzJM8K8hpXRNEjGWV8LRj+kxJXbl4+ezZVLK3pwqB4/Qun +RVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 78si44378992pfz.268.2019.08.05.12.58.32; Mon, 05 Aug 2019 12:58:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730527AbfHET4l (ORCPT + 99 others); Mon, 5 Aug 2019 15:56:41 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:42629 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbfHET4l (ORCPT ); Mon, 5 Aug 2019 15:56:41 -0400 Received: by mail-oi1-f195.google.com with SMTP id s184so63097321oie.9 for ; Mon, 05 Aug 2019 12:56:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Phj5qHRlX7O4d97X44pT5RUSua7c85Z/2K1/c6MyGLs=; b=AmuZmkTo2pcly006JQobelFrxF4z+W5B8B6btZFfDbprYsxGnEB4SJ8iAUeGBZkI2b 8cTsTrs26JCBa0ZMU1oIbbZtD5uWlxV81QCmFBT9Rt9LM2hboWcWATghTg7w2rH1wjE3 CnZGkXiBQAR5mDX6LyJSB+e9O9rIB7ziMRtvK8eEzaICDb1hRYtg/p2avtG4Eo8BRTxE BQ0/DkjKg0wxFLOIyqgerHPj4WYQLAugM+O5K0geSh04MzgBNOr55B14L5r94JnKRBI6 LfY5ZPtbb6fEsiwFtXZVzkZijoTdejaCDKSclO2AgRwQkhlodVHmiTuyUV8hw5Z4y9Wa ZTCA== X-Gm-Message-State: APjAAAV627gUkTcgiXEUzEsAnM/ZNPVsd/XaOzTWpPXzDP/hs1KNZ0l7 FY7lMj2QR+KVbaRPm9BvOOk= X-Received: by 2002:aca:5744:: with SMTP id l65mr42751oib.159.1565035000407; Mon, 05 Aug 2019 12:56:40 -0700 (PDT) Received: from [192.168.1.114] (162-195-240-247.lightspeed.sntcca.sbcglobal.net. [162.195.240.247]) by smtp.gmail.com with ESMTPSA id b188sm29160832oia.57.2019.08.05.12.56.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2019 12:56:39 -0700 (PDT) Subject: Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers To: Jens Axboe , Keith Busch , Benjamin Herrenschmidt Cc: Damien Le Moal , "linux-kernel@vger.kernel.org" , Paul Pawlowski , Minwoo Im , "linux-nvme@lists.infradead.org" , Keith Busch , Christoph Hellwig References: <20190730153044.GA13948@localhost.localdomain> <2030a028664a9af9e96fffca3ab352faf1f739e5.camel@kernel.crashing.org> <6290507e1b2830b1729fc858cd5c20b85d092728.camel@kernel.crashing.org> <20190805134907.GC18647@localhost.localdomain> <40a6acc2-beae-3e36-ca20-af5801038a1e@grimberg.me> From: Sagi Grimberg Message-ID: Date: Mon, 5 Aug 2019 12:56:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>> Ping ? I had another look today and I don't feel like mucking around >>>> with all the AQ size logic, AEN magic tag etc... just for that sake of >>>> that Apple gunk. I'm happy to have it give up IO tags, it doesn't seem >>>> to make much of a difference in practice anyway. >>>> >>>> But if you feel strongly about it, then I'll implement the "proper" way >>>> sometimes this week, adding a way to shrink the AQ down to something >>>> like 3 (one admin request, one async event (AEN), and the empty slot) >>>> by making a bunch of the constants involved variables instead. >>> >>> I don't feel too strongly about it. I think your patch is fine, so >>> >>> Acked-by: Keith Busch >> >> Should we pick this up for 5.3-rc? > > No, it's not a regression fix. Queue it up for 5.4 instead. OK, will queue it up for nvme-5.4