]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme-core: do ioccsz/iorcsz validation only for I/O controllers
authorKamaljit Singh <kamaljit.singh@opensource.wdc.com>
Fri, 5 Sep 2025 23:25:50 +0000 (16:25 -0700)
committerKeith Busch <kbusch@kernel.org>
Tue, 23 Sep 2025 22:38:28 +0000 (15:38 -0700)
commitf7e9a615302fec524445da213745609a06b9914d
tree3606fe71b39e565ebcf9c7ad3e6080a0eb0ba48a
parenta5b852797411a65b99b467766a03be8f24284ddc
nvme-core: do ioccsz/iorcsz validation only for I/O controllers

An administrative controller does not support I/O queues, hence it
should ignore existing checks for IOCCSZ/IORCSZ. Currently, these checks
only exclude a discovery controller but need to also exclude an
administrative controller.

Signed-off-by: Kamaljit Singh <kamaljit.singh@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c