linux/drivers/nvme/host
Christoph Hellwig 69f4bda5f4 nvme: also return I/O command effects from nvme_command_effects
[ Upstream commit 831ed60c2a ]

To be able to use the Commands Supported and Effects Log for allowing
unprivileged passtrough, it needs to be corretly reported for I/O
commands as well.  Return the I/O command effects from
nvme_command_effects, and also add a default list of effects for the
NVM command set.  For other command sets, the Commands Supported and
Effects log is required to be present already.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-01-12 11:59:17 +01:00
..
core.c nvme: also return I/O command effects from nvme_command_effects 2023-01-12 11:59:17 +01:00
fabrics.c nvme-fabrics: remove superfluous nvmf_host_put in nvmf_parse_options 2021-08-16 14:42:23 +02:00
fabrics.h nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts() 2022-02-08 18:34:05 +01:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: remove freeze/unfreeze around update_nr_hw_queues 2021-09-21 09:17:12 +02:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme-hwmon: kmalloc the NVME SMART log buffer 2022-10-29 10:12:56 +02:00
ioctl.c nvme: restrict management ioctls to admin 2022-11-26 09:24:48 +01:00
Kconfig nvme: Have NVME_FABRICS select NVME_CORE instead of transport drivers 2021-08-16 21:03:18 +02:00
Makefile remove the lightnvm subsystem 2021-08-14 15:54:09 -06:00
multipath.c nvme: fix SRCU protection of nvme_ns_head list 2022-12-08 11:28:44 +01:00
nvme.h nvme: fix multipath crash caused by flush request when blktrace is enabled 2023-01-12 11:59:16 +01:00
pci.c nvme-pci: fix page size checks 2023-01-12 11:58:42 +01:00
rdma.c nvme: fix regression when disconnect a recovering ctrl 2022-07-21 21:24:36 +02:00
tcp.c nvme-tcp: fix regression that causes sporadic requests to time out 2022-09-15 11:30:06 +02:00
trace.c nvme: add set feature tracing support 2021-08-16 14:42:23 +02:00
trace.h nvme: use command_id instead of req->tag in trace_nvme_complete_rq() 2022-08-17 14:24:00 +02:00
zns.c nvme: split nvme_report_zones 2021-06-03 10:29:26 +03:00