[U-Boot] [PATCH 00/14] nvme: Various bug fixes and updates

Bin Meng bmeng.cn at gmail.com
Tue Aug 22 15:15:05 UTC 2017


This series fixes various bugs and clean up on current NVMe driver.
It also enables NVMe driver on sandbox for build testing.

This series is available at u-boot-x86/nvme-working for testing.


Bin Meng (14):
  nvme: Remove useless defines
  nvme: Fix getting PCI vendor id of the NVMe block device
  nvme: Fix ndev->queues allocation
  nvme: Fix endianness assignment to prp2 in nvme_identify()
  nvme: Cache controller's capabilities
  nvme: Respect timeout when en/disabling the controller
  nvme: Use macros to access NVMe queues
  nvme: Consolidate block read and write routines
  nvme: Apply cache operations on the DMA buffers
  nvme: Use blk_create_devicef() API
  nvme: Get rid of the global variable nvme_info
  nvme: Adjust the 'nvme' command to use blk_common_cmd()
  sandbox: Add a dummy invalidate_dcache_range() function
  sandbox: Enable NVMe driver for build testing

 arch/sandbox/cpu/cpu.c             |   4 +
 cmd/nvme.c                         | 195 +++++--------------------------------
 configs/sandbox_defconfig          |   1 +
 configs/sandbox_flattree_defconfig |   1 +
 configs/sandbox_spl_defconfig      |   1 +
 doc/README.nvme                    |   4 +-
 drivers/nvme/nvme-uclass.c         |  35 ++-----
 drivers/nvme/nvme.c                | 179 +++++++++++++++-------------------
 drivers/nvme/nvme.h                |  71 +-------------
 drivers/nvme/nvme_show.c           |   7 +-
 include/config_fallbacks.h         |   1 +
 11 files changed, 131 insertions(+), 368 deletions(-)

-- 
2.9.2



More information about the U-Boot mailing list