diff options
author | Christoph Hellwig | 2022-12-21 10:12:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-01-12 12:02:42 +0100 |
commit | f6631b9b4f912af298c739684ee523482b2ecaa1 (patch) | |
tree | 4879208f258966f95551198da4d5129389fc3809 /sound | |
parent | 27eab31ed71fec55e98b0058db98342630e7c6a9 (diff) |
nvme: also return I/O command effects from nvme_command_effects
[ Upstream commit 831ed60c2aca2d7c517b2da22897a90224a97d27 ]
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions