The following changes since commit e0d245e2230998e66dfda10fb8c413f29196eb1c: Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-5.14/drivers (2021-06-15 15:42:56 -0600) are available in the Git repository at: git://git.infradead.org/nvme.git tags/nvme-5.14-2021-06-22 for you to fetch changes up to 3c3ee16532c1be92350a2a88bd19283b7bdf32e9: nvmet: use NVMET_MAX_NAMESPACES to set nn value (2021-06-21 08:34:10 +0200) ---------------------------------------------------------------- nvme updates for Linux 5.14: - move the ACPI StorageD3 code to drivers/acpi/ and add quirks for certain AMD CPUs (Mario Limonciello) - zoned device support for nvmet (Chaitanya Kulkarni) - fix the rules for changing the serial number in nvmet (Noam Gottlieb) - various small fixes and cleanups (Dan Carpenter, JK Kim, Chaitanya Kulkarni, Hannes Reinecke, Wesley Sheng, Geert Uytterhoeven, Daniel Wagner) ---------------------------------------------------------------- Chaitanya Kulkarni (25): nvme: factor out a nvme_validate_passthru_nsid helper nvme-pci: remove trailing lines for helpers nvme: add a helper to check ctrl sgl support nvme-fc: use ctrl sgl check helper nvme-pci: use ctrl sgl check helper nvme-tcp: use ctrl sgl check helper nvme-fabrics: remove memset in nvmf_reg_read64() nvme-fabrics: remove memset in nvmf_reg_write32() nvme-fabrics: remove memset in connect admin q nvme-fabrics: remove memset in connect io q nvmet: use req->cmd directly in bdev-ns fast path nvmet: use req->cmd directly in file-ns fast path nvmet: use u32 for nvmet_subsys max_nsid nvmet: use u32 type for the local variable nsid nvmet: use nvme status value directly nvmet: remove local variable block: export blk_next_bio() nvmet: add req cns error complete helper nvmet: add nvmet_req_bio put helper for backends nvmet: add Command Set Identifier support nvmet: add ZBD over ZNS backend support nvmet: remove zeroout memset call for struct nvme-pci: remove zeroout memset call for struct nvme: remove zeroout memset call for struct nvmet: use NVMET_MAX_NAMESPACES to set nn value Dan Carpenter (1): nvme-tcp: fix error codes in nvme_tcp_setup_ctrl() Daniel Wagner (2): nvme: verify MNAN value if ANA is enabled nvme: remove superfluous bio_set_dev in nvme_requeue_work Geert Uytterhoeven (1): nvme: fix grammar in the CONFIG_NVME_MULTIPATH kconfig help text Hannes Reinecke (1): nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst() JK Kim (1): nvme-pci: fix var. type for increasing cq_head Mario Limonciello (2): ACPI: Check StorageD3Enable _DSD property in ACPI code ACPI: Add quirks for AMD Renoir/Lucienne CPUs to force the D3 hint Noam Gottlieb (4): nvmet: change sn size and check validity nvmet: make sn stable once connection was established nvmet: allow mn change if subsys not discovered nvmet: make ver stable once connection established Wesley Sheng (1): nvme.h: add missing nvme_lba_range_type endianness annotations block/blk-lib.c | 1 + drivers/acpi/device_pm.c | 32 ++ drivers/acpi/internal.h | 9 + drivers/acpi/x86/utils.c | 25 ++ drivers/nvme/host/Kconfig | 2 +- drivers/nvme/host/core.c | 19 +- drivers/nvme/host/fabrics.c | 12 +- drivers/nvme/host/fc.c | 2 +- drivers/nvme/host/ioctl.c | 26 +- drivers/nvme/host/multipath.c | 12 +- drivers/nvme/host/nvme.h | 5 + drivers/nvme/host/pci.c | 60 +--- drivers/nvme/host/tcp.c | 4 +- drivers/nvme/target/Makefile | 1 + drivers/nvme/target/admin-cmd.c | 155 +++++++--- drivers/nvme/target/configfs.c | 102 +++++-- drivers/nvme/target/core.c | 98 ++++-- drivers/nvme/target/discovery.c | 8 +- drivers/nvme/target/fc.c | 10 +- drivers/nvme/target/io-cmd-bdev.c | 33 +- drivers/nvme/target/io-cmd-file.c | 4 +- drivers/nvme/target/nvmet.h | 41 ++- drivers/nvme/target/passthru.c | 3 +- drivers/nvme/target/rdma.c | 3 +- drivers/nvme/target/zns.c | 615 ++++++++++++++++++++++++++++++++++++++ include/linux/acpi.h | 5 + include/linux/bio.h | 2 + include/linux/nvme.h | 12 +- 28 files changed, 1073 insertions(+), 228 deletions(-) create mode 100644 drivers/nvme/target/zns.c