Skip to content

nvme: Various bug fixes and updates

Bin Meng u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14nvme: Remove useless definesdrivers/nvme/nvme.h+0 -601 reply
2/14nvme: Fix getting PCI vendor id of the NVMe block devicedrivers/nvme/nvme.c drivers/nvme/nvme.h+3 -221 reply
3/14nvme: Fix ndev->queues allocationdrivers/nvme/nvme.c+2 -21 reply
4/14nvme: Fix endianness assignment to prp2 in nvme_identify()drivers/nvme/nvme.c+1 -11 reply
5/14nvme: Cache controller's capabilitiesdrivers/nvme/nvme.c drivers/nvme/nvme.h+6 -61 reply
6/14nvme: Respect timeout when en/disabling the controllerdrivers/nvme/nvme.c+11 -31 reply
7/14nvme: Use macros to access NVMe queuesdrivers/nvme/nvme.c+15 -71 reply
8/14nvme: Consolidate block read and write routinesdrivers/nvme/nvme.c+12 -531 reply
9/14nvme: Apply cache operations on the DMA buffersdrivers/nvme/nvme.c drivers/nvme/nvme_show.c+34 -51 reply
10/14nvme: Use blk_create_devicef() APIdrivers/nvme/nvme-uclass.c+3 -91 reply
11/14nvme: Get rid of the global variable nvme_infodrivers/nvme/nvme-uclass.c drivers/nvme/nvme.c drivers/nvme/nvme.h+12 -351 reply
12/14nvme: Adjust the 'nvme' command to use blk_common_cmd()cmd/nvme.c doc/README.nvme include/config_fallbacks.h+30 -1701 reply
13/14sandbox: Add a dummy invalidate_dcache_range() functionarch/sandbox/cpu/cpu.c+4 -01 reply
14/14sandbox: Enable NVMe driver for build testingconfigs/sandbox_defconfig configs/sandbox_flattree_defconfig configs/sandbox_spl_defconfig+3 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.9.2