[PATCH 0/2] Unprivileged sgl-only passthrough

Kanchan Joshi joshi.k at samsung.com
Wed Oct 18 11:30:01 PDT 2023


Patch 1: Prep. Adds the meta-transfer ability in nvme-pci
Patch 2: Enables fine-granular passthrough with the change that i/o
commands can transfer the data only via SGL.

Requirement:
- Prepared against block 6.6 tree.
- The patch in uring-passthrough failure handling is required to see the
  submission failure (if any)
  https://lore.kernel.org/linux-nvme/20231018135718.28820-1-joshi.k@samsung.com/

Kanchan Joshi (2):
  nvme-pci: meta-transfer via sgl
  nvme: fine-granular CAP_SYS_ADMIN for nvme io/admin commands

 drivers/nvme/host/ioctl.c | 162 ++++++++++++++++++++++++++++++--------
 drivers/nvme/host/nvme.h  |   6 ++
 drivers/nvme/host/pci.c   |  63 +++++++++++++--
 include/linux/nvme.h      |   2 +
 4 files changed, 194 insertions(+), 39 deletions(-)

-- 
2.25.1




More information about the Linux-nvme mailing list