linux-stable/drivers/nvme
Christoph Hellwig e64d23bd47 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 12:00:44 +01:00
..
common nvmet-auth: fix a couple of spelling mistakes 2022-08-02 17:22:51 -06:00
host nvme: also return I/O command effects from nvme_command_effects 2023-01-12 12:00:44 +01:00
target nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it 2023-01-12 12:00:43 +01:00
Kconfig nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00
Makefile nvme: implement In-Band authentication 2022-08-02 17:14:49 -06:00