From: <Mario.Limonciello@dell.com>
To: <kbusch@kernel.org>
Cc: <axboe@fb.com>, <hch@lst.de>, <sagi@grimberg.me>,
<linux-nvme@lists.infradead.org>, <linux-kernel@vger.kernel.org>,
<Ryan.Hong@Dell.com>, <Crag.Wang@dell.com>, <sjg@google.com>,
<Charles.Hyde@dellteam.com>, <Jared.Dominguez@dell.com>
Subject: RE: [PATCH] nvme: Add quirk for LiteON CL1 devices running FW 22301111
Date: Wed, 14 Aug 2019 19:51:46 +0000 [thread overview]
Message-ID: <3f5dec208f334839b56ae63bb1a3e6f3@AUSX13MPC105.AMER.DELL.COM> (raw)
In-Reply-To: <20190814193132.GD3256@localhost.localdomain>
> -----Original Message-----
> From: Keith Busch <kbusch@kernel.org>
> Sent: Wednesday, August 14, 2019 2:32 PM
> To: Limonciello, Mario
> Cc: Jens Axboe; Christoph Hellwig; Sagi Grimberg; linux-
> nvme@lists.infradead.org; LKML; Hong, Ryan; Wang, Crag; sjg@google.com;
> Hyde, Charles - Dell Team; Dominguez, Jared
> Subject: Re: [PATCH] nvme: Add quirk for LiteON CL1 devices running FW
> 22301111
>
>
> [EXTERNAL EMAIL]
>
> On Wed, Aug 14, 2019 at 09:05:49AM -0700, Mario Limonciello wrote:
> > diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
> > index 8f3fbe5..47c7754 100644
> > --- a/drivers/nvme/host/core.c
> > +++ b/drivers/nvme/host/core.c
> > @@ -2251,6 +2251,29 @@ static const struct nvme_core_quirk_entry
> core_quirks[] = {
> > .vid = 0x1179,
> > .mn = "THNSF5256GPUK TOSHIBA",
> > .quirks = NVME_QUIRK_NO_APST,
> > + },
> > + /*
> > + * This LiteON CL1 firmware version has a race condition associated with
> > + * actions related to suspend to idle. LiteON has resolved the problem
> > + * in future firmware.
> > + */
> > + {
> > + .vid = 0x14a4,
> > + .mn = "CL1-3D128-Q11 NVMe LITEON 128GB",
> > + .fr = "22301111",
> > + .quirks = NVME_QUIRK_SIMPLE_SUSPEND,
> > + },
> > + {
> > + .vid = 0x14a4,
> > + .mn = "CL1-3D256-Q11 NVMe LITEON 256GB",
> > + .fr = "22301111",
> > + .quirks = NVME_QUIRK_SIMPLE_SUSPEND,
> > + },
> > + {
> > + .vid = 0x14a4,
> > + .mn = "CL1-3D512-Q11 NVMe LITEON 512GB",
> > + .fr = "22301111",
> > + .quirks = NVME_QUIRK_SIMPLE_SUSPEND,
> > }
> > };
>
> Are there models from this vendor with this same 'fr' that don't need
> this quirk? If not, you can leave .mn blank and just use a single entry.
Yes, I confirmed this firmware version string is only used on the CL1 family
of devices.
I will send a v2 modifying this. I also noticed that the
(ndev->ctrl.quirks & NVME_QUIRK_SIMPLE_SUSPEND)
is unnecessary in nvme_resume because ndev->last_ps is set to U32_MAX
in nvme_suspend, so I will remove that second modification.
prev parent reply other threads:[~2019-08-14 19:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-14 16:05 Mario Limonciello
2019-08-14 19:22 ` Sagi Grimberg
2019-08-14 19:31 ` Keith Busch
2019-08-14 19:51 ` Mario.Limonciello [this message]
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=3f5dec208f334839b56ae63bb1a3e6f3@AUSX13MPC105.AMER.DELL.COM \
--to=mario.limonciello@dell.com \
--cc=Charles.Hyde@dellteam.com \
--cc=Crag.Wang@dell.com \
--cc=Jared.Dominguez@dell.com \
--cc=Ryan.Hong@Dell.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=sagi@grimberg.me \
--cc=sjg@google.com \
/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
all inboxes | Powered by JetHome®