public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
From: Keith Busch <kbusch@meta.com>
To: <linux-nvme@lists.infradead.org>, <hch@lst.de>, <sagi@grimberg.me>
Cc: Keith Busch <kbusch@kernel.org>
Subject: [PATCHv3 0/3] meta sgl and userspace protection
Date: Mon, 18 Nov 2024 07:57:35 -0800	[thread overview]
Message-ID: <20241118155738.2737423-1-kbusch@meta.com> (raw)

From: Keith Busch <kbusch@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



             reply	other threads:[~2024-11-18 15:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18 15:57 Keith Busch [this message]
2024-11-18 15:57 ` [PATCHv3 1/3] nvme-pci: add support for sgl metadata Keith Busch
2024-11-18 16:27   ` Christoph Hellwig
2024-11-18 15:57 ` [PATCHv3 2/3] nvme: define the remaining used sgls constants Keith Busch
2024-11-18 16:28   ` Christoph Hellwig
2024-11-18 15:57 ` [PATCHv3 3/3] nvme-pci: use sgls for all user requests if possible Keith Busch
2024-11-18 16:28   ` Christoph Hellwig
2024-12-02  7:56   ` New warning `nvme nvme0: using unchecked data buffer` (was: [PATCHv3 3/3] nvme-pci: use sgls for all user requests if possible) Paul Menzel
2024-12-02 15:05     ` Keith Busch
2024-12-02 15:15       ` New warning `nvme nvme0: using unchecked data buffer` Paul Menzel
2024-12-02 15:49         ` Keith Busch
2025-01-26  8:37           ` Paul Menzel
2025-01-29 19:00             ` Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241118155738.2737423-1-kbusch@meta.com \
    --to=kbusch@meta.com \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox