From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E6F1C4332F for ; Tue, 29 Nov 2022 08:56:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=7DoaJQXAg0BqFnr6I4AJNauIQJei6eXnwp2GkrtTSMQ=; b=wN9G3zndkYZtXixu10Hwn2mly5 hfL0Dep6Ktf/R1C2Ob5VKkttXb04Ga42zighC/EWaq2bb/95TxWYobzjHWkerHAKanSGrMtjLAN71 5BQm3Wh0gmSqkNLvyaT3JIFHoC6bzDN4br9tdh5Nznwi8758m3TsEjy175cECGW8CvOJ2g+4+bFCL QFIqhgajmlwjl9OW+vA5IUmg9Ss40kiT7GLiruAy9fXlXanayoT36P9ecpCfP2CQOJ7hmMZdhmA/f YK65Kx0wE9F/pfRpfYxlTI0lSdXaaYV0AKe42mN5EWOgVsB6/1X6bD3wc1JYoyClgQ5PbGVoQXuYs LQ5NvpxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozwPq-007avE-J1; Tue, 29 Nov 2022 08:56:34 +0000 Received: from [2001:4bb8:192:26e7:2e6b:fea:4668:9e6f] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozwPn-007asb-DY; Tue, 29 Nov 2022 08:56:31 +0000 Date: Tue, 29 Nov 2022 09:56:28 +0100 From: Christoph Hellwig To: Jens Axboe Cc: Keith Busch , Sagi Grimberg , Chaitanya Kulkarni , linux-block@vger.kernel.org, linux-nvme@lists.infradead.org Subject: [GIT PULL] nvme updates for Linux 6.2 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org This is just the first round, there is quite a bit more in the queue. The following changes since commit 5626196a5ae0937368b35c3625c428a2125b0f44: Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-6.2/block (2022-11-14 12:57:50 -0700) are available in the Git repository at: git://git.infradead.org/nvme.git tags/nvme-6.2-2022-11-29 for you to fetch changes up to 68c5444c317208f5a114f671140373f47f0a2cf6: nvmet: expose firmware revision to configfs (2022-11-21 08:35:58 +0100) ---------------------------------------------------------------- nvme updates for Linux 6.2 - support some passthrough commands without CAP_SYS_ADMIN (Kanchan Joshi) - refactor PCIe probing and reset (Christoph Hellwig) - various fabrics authentication fixes and improvements (Sagi Grimberg) - avoid fallback to sequential scan due to transient issues (Uday Shankar) - implement support for the DEAC bit in Write Zeroes (Christoph Hellwig) - allow overriding the IEEE OUI and firmware revision in configfs for nvmet (Aleksandr Miloserdov) - force reconnect when number of queue changes in nvmet (Daniel Wagner) - minor fixes and improvements (Uros Bizjak, Joel Granados, Sagi Grimberg, Christoph Hellwig, Christophe JAILLET) ---------------------------------------------------------------- Aleksandr Miloserdov (2): nvmet: expose IEEE OUI to configfs nvmet: expose firmware revision to configfs Christoph Hellwig (16): nvmet: only allocate a single slab for bvecs nvme: implement the DEAC bit for the Write Zeroes command nvme: don't call nvme_init_ctrl_finish from nvme_passthru_end nvme: move OPAL setup from PCIe to core nvme: simplify transport specific device attribute handling nvme-pci: put the admin queue in nvme_dev_remove_admin nvme-pci: move more teardown work to nvme_remove nvme-pci: factor the iod mempool creation into a helper nvme-pci: factor out a nvme_pci_alloc_dev helper nvme-pci: set constant paramters in nvme_pci_alloc_ctrl nvme-pci: call nvme_pci_configure_admin_queue from nvme_pci_enable nvme-pci: simplify nvme_dbbuf_dma_alloc nvme-pci: move the HMPRE check into nvme_setup_host_mem nvme-pci: split the initial probe from the rest path nvme-pci: don't unbind the driver on reset failure nvme: rename the queue quiescing helpers Christophe JAILLET (1): nvme-fc: improve memory usage in nvme_fc_rcv_ls_req() Daniel Wagner (1): nvmet: force reconnect when number of queue changes Joel Granados (1): nvme: return err on nvme_init_non_mdts_limits fail Kanchan Joshi (2): nvme: fine-granular CAP_SYS_ADMIN for nvme io commands nvme: identify-namespace without CAP_SYS_ADMIN Sagi Grimberg (20): nvme-auth: rename __nvme_auth_[reset|free] to nvme_auth[reset|free]_dhchap nvme-auth: rename authentication work elements nvme-auth: remove symbol export from nvme_auth_reset nvme-auth: don't re-authenticate if the controller is not LIVE nvme-auth: remove redundant buffer deallocations nvme-auth: don't ignore key generation failures when initializing ctrl keys nvme-auth: don't override ctrl keys before validation nvme-auth: remove redundant if statement nvme-auth: don't keep long lived 4k dhchap buffer nvme-auth: guarantee dhchap buffers under memory pressure nvme-auth: clear sensitive info right after authentication completes nvme-auth: remove redundant deallocations nvme-auth: no need to reset chap contexts on re-authentication nvme-auth: check chap ctrl_key once constructed nvme-auth: convert dhchap_auth_list to an array nvme-auth: remove redundant auth_work flush nvme-auth: have dhchap_auth_work wait for queues auth to complete nvme-tcp: stop auth work after tearing down queues in error recovery nvme-rdma: stop auth work after tearing down queues in error recovery nvmet: fix a memory leak in nvmet_auth_set_key Uday Shankar (1): nvme: avoid fallback to sequential scan due to transient issues Uros Bizjak (1): nvmet: use try_cmpxchg in nvmet_update_sq_head drivers/nvme/host/apple.c | 14 +- drivers/nvme/host/auth.c | 258 ++++++++++++----------- drivers/nvme/host/core.c | 125 ++++++++--- drivers/nvme/host/fc.c | 35 ++-- drivers/nvme/host/ioctl.c | 116 ++++++++--- drivers/nvme/host/nvme.h | 35 ++-- drivers/nvme/host/pci.c | 423 ++++++++++++++++++-------------------- drivers/nvme/host/rdma.c | 30 +-- drivers/nvme/host/tcp.c | 32 +-- drivers/nvme/target/admin-cmd.c | 9 +- drivers/nvme/target/auth.c | 2 + drivers/nvme/target/configfs.c | 121 ++++++++++- drivers/nvme/target/core.c | 44 ++-- drivers/nvme/target/io-cmd-file.c | 16 +- drivers/nvme/target/loop.c | 8 +- drivers/nvme/target/nvmet.h | 6 +- include/linux/nvme.h | 2 + 17 files changed, 766 insertions(+), 510 deletions(-)