[PATCH v2 0/2] Preclude IOCCSZ/IORCSZ validation for admin controller connect

Kamaljit Singh posted 2 patches 5 months ago
drivers/nvme/host/core.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
[PATCH v2 0/2] Preclude IOCCSZ/IORCSZ validation for admin controller connect
Posted by Kamaljit Singh 5 months ago
During negative testing it was observed that when ioccsz and/or iorcsz 
were cleared to zero on a Target, a new connection to an administrative 
controller failed to establish, due to driver validation of those fields. 
Since an administrative controller does not support I/O queues, these 
checks should be excluded for such a controller.

Kamaljit Singh (2):
  nvme-core: add method to check for an I/O controller
  nvme-core: do ioccsz/iorcsz validation only for I/O controllers

 drivers/nvme/host/core.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

-- 
2.43.0
Re: [PATCH v2 0/2] Preclude IOCCSZ/IORCSZ validation for admin controller connect
Posted by Keith Busch 4 months, 3 weeks ago
On Fri, Sep 05, 2025 at 04:25:48PM -0700, Kamaljit Singh wrote:
> During negative testing it was observed that when ioccsz and/or iorcsz 
> were cleared to zero on a Target, a new connection to an administrative 
> controller failed to establish, due to driver validation of those fields. 
> Since an administrative controller does not support I/O queues, these 
> checks should be excluded for such a controller.

Thanks, applied to nvme-6.18.