nvme: enable passthrough with fixed-buffer
authorKanchan Joshi <joshi.k@samsung.com>
Thu, 5 Aug 2021 12:55:39 +0000 (18:25 +0530)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Sep 2021 18:40:30 +0000 (12:40 -0600)
commit2e6a09df7c3f2f4161b9d6aa691f2801b2428eae
tree9e27e86442c54f3f14a8e50604dd4b3a82422044
parentb7a9426e154c5aca1dd8a954544c3dbb2713d652
nvme: enable passthrough with fixed-buffer

Add two new variants of passthrough ioctls
(NVMe_IOCTL_IO/IO64_CMD_FIXED) to carry out passthrough command with
pre-mapped buffers.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/20210805125539.66958-7-joshi.k@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/ioctl.c
include/uapi/linux/nvme_ioctl.h