WSL2-Linux-Kernel/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>
2023-01-12 11:59:17 +01:00
..
Kconfig
Makefile
core.c nvme: also return I/O command effects from nvme_command_effects 2023-01-12 11:59:17 +01:00
fabrics.c
fabrics.h
fault_inject.c
fc.c
fc.h
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
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
tcp.c
trace.c
trace.h
zns.c