From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Keith Busch <kbusch@kernel.org>
Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org,
Paul Pawlowski <paul@mrarm.io>, Jens Axboe <axboe@fb.com>,
Christoph Hellwig <hch@lst.de>,
Minwoo Im <minwoo.im.dev@gmail.com>,
Damien Le Moal <Damien.LeMoal@wdc.com>
Subject: Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers
Date: Tue, 30 Jul 2019 13:15:03 -0700 [thread overview]
Message-ID: <fc55769bcacd45f8283f504b7d4332271da1436b.camel@kernel.crashing.org> (raw)
In-Reply-To: <20190730153044.GA13948@localhost.localdomain>
On Tue, 2019-07-30 at 09:30 -0600, Keith Busch wrote:
> On Fri, Jul 19, 2019 at 03:31:02PM +1000, Benjamin Herrenschmidt wrote:
> > From 8dcba2ef5b1466b023b88b4eca463b30de78d9eb Mon Sep 17 00:00:00 2001
> > From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> > Date: Fri, 19 Jul 2019 15:03:06 +1000
> > Subject:
> >
> > Another issue with the Apple T2 based 2018 controllers seem to be
> > that they blow up (and shut the machine down) if there's a tag
> > collision between the IO queue and the Admin queue.
> >
> > My suspicion is that they use our tags for their internal tracking
> > and don't mix them with the queue id. They also seem to not like
> > when tags go beyond the IO queue depth, ie 128 tags.
> >
> > This adds a quirk that marks tags 0..31 of the IO queue reserved
> >
> > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> > ---
>
> One problem is that we've an nvme parameter, io_queue_depth, that a user
> could set to something less than 32, and then you won't be able to do
> any IO. I'd recommend enforce the admin queue to QD1 for this device so
> that you have more potential IO tags.
Makes sense, I don't think we care much about the number of admin tags
on these devices.
I'm travelling, not sure I'll be able to respin & test before next
week.
Thanks.
Cheers,
Ben.
next prev parent reply other threads:[~2019-07-30 20:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-19 5:31 [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers Benjamin Herrenschmidt
2019-07-19 5:45 ` Balbir Singh
2019-07-19 12:28 ` Christoph Hellwig
2019-07-19 13:51 ` Benjamin Herrenschmidt
2019-07-22 21:54 ` Benjamin Herrenschmidt
2019-07-23 1:36 ` Ming Lei
2019-07-30 15:30 ` Keith Busch
2019-07-30 20:15 ` Benjamin Herrenschmidt [this message]
2019-07-30 20:28 ` Benjamin Herrenschmidt
2019-08-05 6:49 ` Benjamin Herrenschmidt
2019-08-05 13:49 ` Keith Busch
2019-08-05 18:27 ` Sagi Grimberg
2019-08-05 18:35 ` Keith Busch
2019-08-05 19:07 ` Jens Axboe
2019-08-05 19:56 ` Sagi Grimberg
2019-08-05 20:07 ` Sagi Grimberg
2019-08-06 5:26 ` Benjamin Herrenschmidt
2019-08-06 5:26 ` Benjamin Herrenschmidt
2019-08-06 5:24 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc55769bcacd45f8283f504b7d4332271da1436b.camel@kernel.crashing.org \
--to=benh@kernel.crashing.org \
--cc=Damien.LeMoal@wdc.com \
--cc=axboe@fb.com \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=minwoo.im.dev@gmail.com \
--cc=paul@mrarm.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox