All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kanchan Joshi <joshi.k@samsung.com>
To: hch@lst.de, kbusch@kernel.org, axboe@kernel.dk
Cc: linux-nvme@lists.infradead.org, gost.dev@samsung.com,
	joshiiitr@gmail.com
Subject: [PATCH 0/3] uring-passthrough for admin commands
Date: Tue, 17 May 2022 11:01:44 +0530	[thread overview]
Message-ID: <20220517053147.7925-1-joshi.k@samsung.com> (raw)
In-Reply-To: CGME20220517053710epcas5p374ddc759e51f3adb243a5e98f5038699@epcas5p3.samsung.com

During the review rounds and LSFMM, it emerged that uring-passthrough
for admin-commands will also be useful. So this series wires that up.

Prepared against for-next (linux-block) on top of
commit cef3f8e4ed04 (Merge branch 'for-5.19/block'...).

Patch 1 is prep.
Patch 2 adds new opcode for admin uring-passthrough, and enables it over
ns char device (/dev/ngXnY). It reuses the code of io-command
passthrough, with the only difference that commands are issued on admin
queue.

Patch 3 enables the same for controller char device (/dev/nvmeX).

Kanchan Joshi (3):
  nvme: helper for uring-passthrough checks
  nvme: enable uring-passthrough for admin commands
  nvme: admin command uring-passthrough on controller node

 drivers/nvme/host/core.c        |  1 +
 drivers/nvme/host/ioctl.c       | 83 +++++++++++++++++++++++++++++----
 drivers/nvme/host/nvme.h        |  1 +
 include/uapi/linux/nvme_ioctl.h |  1 +
 4 files changed, 77 insertions(+), 9 deletions(-)

-- 
2.25.1



       reply	other threads:[~2022-05-17  6:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20220517053710epcas5p374ddc759e51f3adb243a5e98f5038699@epcas5p3.samsung.com>
2022-05-17  5:31 ` Kanchan Joshi [this message]
     [not found]   ` <CGME20220517053711epcas5p40f48777253119633d99c8b2b905793ff@epcas5p4.samsung.com>
2022-05-17  5:31     ` [PATCH 1/3] nvme: helper for uring-passthrough checks Kanchan Joshi
2022-05-17  8:15       ` Christoph Hellwig
     [not found]   ` <CGME20220517053712epcas5p20c6a2b123709d7df1a1df8c9b1c91125@epcas5p2.samsung.com>
2022-05-17  5:31     ` [PATCH 2/3] nvme: enable uring-passthrough for admin commands Kanchan Joshi
2022-05-17  8:15       ` Christoph Hellwig
2022-05-17 13:50         ` Kanchan Joshi
2022-05-18  7:29           ` Christoph Hellwig
2022-05-19  9:52             ` Kanchan Joshi
     [not found]   ` <CGME20220517053713epcas5p4770bb3699f7a0c5884c14633659e8cd2@epcas5p4.samsung.com>
2022-05-17  5:31     ` [PATCH 3/3] nvme: admin command uring-passthrough on controller node Kanchan Joshi

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=20220517053147.7925-1-joshi.k@samsung.com \
    --to=joshi.k@samsung.com \
    --cc=axboe@kernel.dk \
    --cc=gost.dev@samsung.com \
    --cc=hch@lst.de \
    --cc=joshiiitr@gmail.com \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.