[GIT PULL] nvme updates for Linux 6.7

Keith Busch kbusch at kernel.org
Tue Oct 17 14:09:03 PDT 2023


The following changes since commit 5e9b7cfc209b84d135993b8cb75ea383f24b2bba:

  aoe: replace strncpy with strscpy (2023-10-03 18:23:48 -0600)

are available in the Git repository at:

  git://git.infradead.org/nvme.git tags/nvme-6.7-2023-10-17

for you to fetch changes up to 32445526d836f827ea7e74ef933610b531d239df:

  nvme-auth: allow mixing of secret and hash lengths (2023-10-17 13:57:55 -0700)

----------------------------------------------------------------
nvme updates for Linux 6.7

 - nvme-auth updates (Mark)
 - nvme-tcp tls (Hannes)
 - nvme-fc annotaions (Kees)

----------------------------------------------------------------
Hannes Reinecke (20):
      nvme-keyring: register '.nvme' keyring
      nvme-keyring: define a 'psk' keytype
      nvme: add TCP TSAS definitions
      nvme-tcp: add definitions for TLS cipher suites
      nvme-keyring: implement nvme_tls_psk_default()
      security/keys: export key_lookup()
      nvme-tcp: allocate socket file
      nvme-tcp: enable TLS handshake upcall
      nvme-tcp: control message handling for recvmsg()
      nvme-tcp: improve icreq/icresp logging
      nvme-fabrics: parse options 'keyring' and 'tls_key'
      nvmet: make TCP sectype settable via configfs
      nvmet-tcp: make nvmet_tcp_alloc_queue() a void function
      nvmet-tcp: allocate socket file
      nvmet: Set 'TREQ' to 'required' when TLS is enabled
      nvmet-tcp: enable TLS handshake upcall
      nvmet-tcp: control messages for recvmsg()
      nvmet-tcp: peek icreq before starting TLS
      nvme: rework NVME_AUTH Kconfig selection
      nvmet-tcp: use 'spin_lock_bh' for state_lock()

Kees Cook (1):
      nvmet-fc: Annotate struct nvmet_fc_tgt_queue with __counted_by

Mark O'Donovan (3):
      nvme-auth: alloc nvme_dhchap_key as single buffer
      nvme-auth: use transformed key size to create resp
      nvme-auth: allow mixing of secret and hash lengths

 drivers/nvme/common/Kconfig    |  13 +++++++++++++
 drivers/nvme/common/Makefile   |   3 ++-
 drivers/nvme/common/auth.c     |  68 +++++++++++++++++++++++++++++++++++++----------------------------
 drivers/nvme/common/keyring.c  | 182 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/nvme/host/Kconfig      |  24 ++++++++++++++++-------
 drivers/nvme/host/Makefile     |   2 +-
 drivers/nvme/host/auth.c       |  30 ++++++++++++++---------------
 drivers/nvme/host/core.c       |  14 ++++++++++----
 drivers/nvme/host/fabrics.c    |  67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 drivers/nvme/host/fabrics.h    |   9 +++++++++
 drivers/nvme/host/nvme.h       |   5 +++--
 drivers/nvme/host/sysfs.c      |  27 +++++++++++++++++++++++---
 drivers/nvme/host/tcp.c        | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 drivers/nvme/target/Kconfig    |  22 +++++++++++++++------
 drivers/nvme/target/auth.c     |  31 ++++++++++++++++--------------
 drivers/nvme/target/configfs.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 drivers/nvme/target/fc.c       |   3 ++-
 drivers/nvme/target/nvmet.h    |  11 +++++++++++
 drivers/nvme/target/tcp.c      | 338 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------
 include/linux/key.h            |   1 +
 include/linux/nvme-auth.h      |   7 +++++--
 include/linux/nvme-keyring.h   |  36 +++++++++++++++++++++++++++++++++++
 include/linux/nvme-tcp.h       |   6 ++++++
 include/linux/nvme.h           |  10 ++++++++++
 security/keys/key.c            |   1 +
 25 files changed, 1090 insertions(+), 132 deletions(-)
 create mode 100644 drivers/nvme/common/keyring.c
 create mode 100644 include/linux/nvme-keyring.h



More information about the Linux-nvme mailing list