[PATCH] nvme: fix possible initialization failure for P4500/P4600 SSDs

Keith Busch kbusch at kernel.org
Mon Jan 10 08:03:09 PST 2022


On Mon, Jun 21, 2021 at 07:07:01PM -0400, Zheng Wu wrote:
> From: Wu Zheng <wu.zheng at intel.com>
> 
> Subnqn isn't supported in P4500/P4600 SSDs.
> It's a fixed unavailable value in each P4500/P4600 SSD.
> 
> Multiple SSDs need to return the different subnqn when SSDs are initialization.
> To P4500/P4600 SSDs, in nvme_init_subnqn, id->subnqn is not null and
> it's from P4500/P4600. However, multiple P4500/P4600 SSDs return the same subnqn.
> It causes the possible initialization failure.
> 
> To fix this, the flag of NVME_QUIRK_IGNORE_DEV_SUBNQN need to be added to
> driver_data of P4500/P4600 for nvme_id_table.
> 
> Signed-off-by: Zheng Wu <wu.zheng at intel.com>
> Signed-off-by: Ye Jinhe <jinhe.ye at intel.com>

Looks fine.

Reviewed-by: Keith Busch <kbusch at kernel.org>



More information about the Linux-nvme mailing list