[PATCHv3 0/3] meta sgl and userspace protection
Keith Busch
kbusch at meta.com
Mon Nov 18 07:57:35 PST 2024
From: Keith Busch <kbusch at kernel.org>
Changes from v2:
Added all the remaining sgl constants that the driver uses
Made the meta sgl checks pci transport specific
Fixed a coding mistake that was taking the sizeof the result of a
sizeof
Log a warning if the passthrough interface is used on devices that
don't support sgl.
Keith Busch (3):
nvme-pci: add support for sgl metadata
nvme: define the remaining used sgls constants
nvme-pci: use sgls for all user requests if possible
drivers/nvme/host/ioctl.c | 12 ++-
drivers/nvme/host/nvme.h | 10 ++-
drivers/nvme/host/pci.c | 147 ++++++++++++++++++++++++++++----
drivers/nvme/host/rdma.c | 4 +-
drivers/nvme/target/admin-cmd.c | 7 +-
include/linux/nvme.h | 5 ++
6 files changed, 161 insertions(+), 24 deletions(-)
--
2.43.5
More information about the Linux-nvme
mailing list