From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/8] nvme: Add NVM Express driver support
Date: Wed, 9 Aug 2017 21:56:30 -0400 [thread overview]
Message-ID: <20170810015630.GJ5837@bill-the-cat> (raw)
In-Reply-To: <CAEUhbmV1ziPyzntuYjvcD96AJa32ZMVXns=e5EHREUCAkULLOg@mail.gmail.com>
On Thu, Aug 10, 2017 at 09:49:42AM +0800, Bin Meng wrote:
> Hi Tom,
>
> On Thu, Aug 10, 2017 at 9:31 AM, Tom Rini <trini@konsulko.com> wrote:
> > On Thu, Aug 10, 2017 at 06:40:57AM +0800, Bin Meng wrote:
> >> Hi Tom,
> >>
> >> On Thu, Aug 3, 2017 at 5:30 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> >> > This series adds NVM Express driver support to U-Boot.
> >> >
> >> > This series is based on previous RFC v2 patchset [1][2] done by
> >> > Zhikang Zhang and Wenbin Song, as well as Jon Nettleton's fixes
> >> > [3] on top of the RFC v1.
> >> >
> >> > The patches are organized in a way that meets the requirement
> >> > of upstream. Jon's fixes were squashed/integrated with a proper
> >> > order in this series.
> >> >
> >> > The original RFC driver was cleaned up a lot, to remove the
> >> > compilation limitation on non-ARMv8 architecture (including a
> >> > header file from armv8), drop the board_r.c modification, drop
> >> > unnecessary PCI configuration space initialization, add 32-bit
> >> > architecture support of readq/writeq operations, eliminate
> >> > compiler warnings, as well as coding convention clean up, plus
> >> > a fix to a bug that is exposed by QEMU platform.
> >> >
> >> > Tested with an Intel SSD 750 series NVMe 400GB card, a Plextor
> >> > NVMe SSD M8Pe Series 256GB card, on Intel Crown Bay board, as
> >> > well as QEMU x86 emulation platform.
> >> >
> >> > This series is available at u-boot-x86/nvme-working for testing.
> >> >
> >> > [1] http://patchwork.ozlabs.org/patch/753088/
> >> > [2] http://patchwork.ozlabs.org/patch/753089/
> >> > [3] http://patchwork.ozlabs.org/patch/794909/
> >> >
> >> >
> >> > Bin Meng (2):
> >> > nvme: Handle zero Maximum Data Transfer Size (MDTS)
> >> > x86: qemu: Enable NVMe driver
> >> >
> >> > Jon Nettleton (2):
> >> > nvme: Detect devices that are class Storage Express
> >> > nvme: Fix number of blocks detection
> >> >
> >> > Zhikang Zhang (4):
> >> > dm: blk: part: Add UCLASS_NVME and IF_TYPE_NVME
> >> > nvme: Add NVM Express driver support
> >> > nvme: Add show routine to print detailed information
> >> > nvme: Add nvme commands
> >> >
> >> > cmd/Kconfig | 7 +
> >> > cmd/Makefile | 1 +
> >> > cmd/nvme.c | 197 +++++++++++
> >> > configs/qemu-x86_defconfig | 1 +
> >> > disk/part.c | 6 +-
> >> > doc/README.nvme | 86 +++++
> >> > drivers/Kconfig | 2 +
> >> > drivers/Makefile | 1 +
> >> > drivers/block/blk-uclass.c | 2 +
> >> > drivers/nvme/Kconfig | 12 +
> >> > drivers/nvme/Makefile | 7 +
> >> > drivers/nvme/nvme-uclass.c | 62 ++++
> >> > drivers/nvme/nvme.c | 860 +++++++++++++++++++++++++++++++++++++++++++++
> >> > drivers/nvme/nvme.h | 717 +++++++++++++++++++++++++++++++++++++
> >> > drivers/nvme/nvme_show.c | 127 +++++++
> >> > include/blk.h | 1 +
> >> > include/dm/uclass-id.h | 1 +
> >> > include/nvme.h | 82 +++++
> >> > include/pci_ids.h | 1 +
> >> > 19 files changed, 2172 insertions(+), 1 deletion(-)
> >> > create mode 100644 cmd/nvme.c
> >> > create mode 100644 doc/README.nvme
> >> > create mode 100644 drivers/nvme/Kconfig
> >> > create mode 100644 drivers/nvme/Makefile
> >> > create mode 100644 drivers/nvme/nvme-uclass.c
> >> > create mode 100644 drivers/nvme/nvme.c
> >> > create mode 100644 drivers/nvme/nvme.h
> >> > create mode 100644 drivers/nvme/nvme_show.c
> >> > create mode 100644 include/nvme.h
> >>
> >> Do you think this NVMe support can be included in 2017.09? If yes (and
> >> no other review comments from the list), I can apply and for you to
> >> pull via the x86 tree.
> >
> > I've reviewed it, and things look good. I'll pick it up in a day or
> > two. My question now is, can this also be enabled for sandbox, given
> > that we have PCI there? Thanks!
>
> Thanks for the review! I've reassigned the patches to you in the patchwork.
>
> For the sandbox, I believe you want this driver to be included for
> build testing? I think it can be enabled on sandbox, but I have not
> tried that yet.
Build testing and coverity coverage to start with. A follow up (that
would require some work in places) would be adding test.py tests of some
sort.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170809/6b6a4643/attachment.sig>
prev parent reply other threads:[~2017-08-10 1:56 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-03 9:30 [U-Boot] [PATCH 0/8] nvme: Add NVM Express driver support Bin Meng
2017-08-03 9:30 ` [U-Boot] [PATCH 1/8] dm: blk: part: Add UCLASS_NVME and IF_TYPE_NVME Bin Meng
2017-08-10 1:30 ` Tom Rini
2017-08-14 0:07 ` [U-Boot] [U-Boot, " Tom Rini
2017-08-03 9:30 ` [U-Boot] [PATCH 2/8] nvme: Add NVM Express driver support Bin Meng
2017-08-10 1:30 ` Tom Rini
2017-08-14 0:07 ` [U-Boot] [U-Boot,2/8] " Tom Rini
2017-08-03 9:30 ` [U-Boot] [PATCH 3/8] nvme: Add show routine to print detailed information Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-14 0:07 ` [U-Boot] [U-Boot, " Tom Rini
2017-08-03 9:30 ` [U-Boot] [PATCH 4/8] nvme: Add nvme commands Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-14 0:08 ` [U-Boot] [U-Boot,4/8] " Tom Rini
2017-08-03 9:31 ` [U-Boot] [PATCH 5/8] nvme: Detect devices that are class Storage Express Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-14 0:08 ` [U-Boot] [U-Boot, " Tom Rini
2017-08-03 9:31 ` [U-Boot] [PATCH 6/8] nvme: Fix number of blocks detection Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-14 0:08 ` [U-Boot] [U-Boot,6/8] " Tom Rini
2017-08-03 9:31 ` [U-Boot] [PATCH 7/8] nvme: Handle zero Maximum Data Transfer Size (MDTS) Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-14 0:08 ` [U-Boot] [U-Boot, " Tom Rini
2017-08-03 9:31 ` [U-Boot] [PATCH 8/8] x86: qemu: Enable NVMe driver Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-14 0:08 ` [U-Boot] [U-Boot,8/8] " Tom Rini
2017-08-09 22:40 ` [U-Boot] [PATCH 0/8] nvme: Add NVM Express driver support Bin Meng
2017-08-10 1:31 ` Tom Rini
2017-08-10 1:49 ` Bin Meng
2017-08-10 1:56 ` Tom Rini [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=20170810015630.GJ5837@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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