Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3621147ybh; Mon, 5 Aug 2019 22:27:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpDku78j4geptOSAA0hdTuX+KszvzSaiVh/OZOAU+G7/qiWOdSpqyMcVW8IGmIYC5Zjlq9 X-Received: by 2002:aa7:8b55:: with SMTP id i21mr1779071pfd.155.1565069269693; Mon, 05 Aug 2019 22:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565069269; cv=none; d=google.com; s=arc-20160816; b=XdrwfC9PSJcjLrHXQ57ACe21NwksYDUsDSsmulGuq2rV0gQg+9Yw86VF5bwYmKoXIc 2iKw4F6FFsEa/9WDYq4EEC+z3WVtY7sXKYoVxS8GclSPfGzIoDcL9s8YdHkISoFUA+sM m4/EsUpM92Bs+/7GZVPscwdi7fnsdtJ+FXttc4qlOjKsx9dlsaM4LkTbdCwVHYh3P+SN yrjxVroDiHQDShre2LwKGkbqa5EPt2i4lrLI5W5aYvqgkVgjf2ROAXzzStxQQ0yc7ixP hFuCSoy7rljXjfxS3MAzZTxO9RE8gklXND5W4kqwIZu7MNz5oFUS5Jr0mzflhCyi45It qAcA== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=qUdMSCo1b1kvDQO85TF1TAKVXT9Pn8+XGEF0oWv6oio=; b=03LVI86Y3IFEBxWO7oCw0uLJ/qH/ukoegD+2/l7xLL2H4MYvmoxVsTTJPAotuUj7KU OEMhO9kPwYZ3tP0+W+JCxT+of2Zhm7Bf4cS9hT//nZiJaja8O3yNP+QosK/IpebHgDln aouIqHIoIv1OsvEMrzAXXG0Rfsly7a8rrQvOh9Ig+2WFp/csnFvhJW8vhQlF6y7zfmAy Md37G5GibS6Xwz8EDiySDeVd1xvyQHeMJ0+Vx1lfgt7cZerFfFtcp3ImUbc0qso+EQNh p5rm7Xe66u+5qZjRKLwpKHkTDLYwphR0a4ySSPmAJDBKfQrkUosziMXxM65tvNz7E7NK ETlA== 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 g13si31787222pgp.405.2019.08.05.22.27.34; Mon, 05 Aug 2019 22:27:49 -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 S1731688AbfHFF1C (ORCPT + 99 others); Tue, 6 Aug 2019 01:27:02 -0400 Received: from gate.crashing.org ([63.228.1.57]:49635 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbfHFF1C (ORCPT ); Tue, 6 Aug 2019 01:27:02 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id x765Qc1C016879; Tue, 6 Aug 2019 00:26:39 -0500 Message-ID: Subject: Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers From: Benjamin Herrenschmidt To: Sagi Grimberg , Jens Axboe , Keith Busch Cc: Damien Le Moal , "linux-kernel@vger.kernel.org" , Paul Pawlowski , Minwoo Im , "linux-nvme@lists.infradead.org" , Keith Busch , Christoph Hellwig Date: Tue, 06 Aug 2019 15:26:38 +1000 In-Reply-To: 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> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-08-05 at 13:07 -0700, Sagi Grimberg wrote: > > > > > > 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 > > Doesn't apply.. > > Ben, can you please respin a patch that applies on nvme-5.4? > > http://git.infradead.org/nvme.git/shortlog/refs/heads/nvme-5.4 Sure, will do in the next couple of days ! Cheers, Ben.