From: Keith Busch <kbusch@xxxxxxxxxx> The NVM Express workgroup has ratified technical proposals enabling new command sets. The specifications may be viewed from the following link: https://nvmexpress.org/wp-content/uploads/NVM-Express-1.4-Ratified-TPs.zip This series implements support for the Zoned Namespace (ZNS) Command Set defined in TP4053, and the Namespace Types base support it depends on from TP4056. The block layer is updated to include the new zone writeable capacity feature from ZNS, and existing zone block device drivers are updated to incorporate this feature. Aravind Ramesh (1): null_blk: introduce zone capacity for zoned device Keith Busch (2): nvme: support for multi-command set effects nvme: support for zoned namespaces Matias Bjørling (1): block: add capacity field to zone descriptors Niklas Cassel (1): nvme: implement I/O Command Sets Command Set support block/blk-zoned.c | 1 + drivers/block/null_blk.h | 2 + drivers/block/null_blk_main.c | 9 +- drivers/block/null_blk_zoned.c | 17 ++- drivers/nvme/host/Makefile | 1 + drivers/nvme/host/core.c | 223 ++++++++++++++++++++++++------ drivers/nvme/host/hwmon.c | 2 +- drivers/nvme/host/lightnvm.c | 4 +- drivers/nvme/host/multipath.c | 2 +- drivers/nvme/host/nvme.h | 51 ++++++- drivers/nvme/host/zns.c | 238 +++++++++++++++++++++++++++++++++ drivers/scsi/sd_zbc.c | 1 + include/linux/nvme.h | 134 ++++++++++++++++++- include/uapi/linux/blkzoned.h | 15 ++- 14 files changed, 647 insertions(+), 53 deletions(-) create mode 100644 drivers/nvme/host/zns.c -- 2.24.1