From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF9EEC4338F for ; Tue, 17 Aug 2021 16:53:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C1CC760FD9 for ; Tue, 17 Aug 2021 16:53:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231287AbhHQQxx (ORCPT ); Tue, 17 Aug 2021 12:53:53 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:58583 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230354AbhHQQxw (ORCPT ); Tue, 17 Aug 2021 12:53:52 -0400 Received: from [192.168.0.3] (ip5f5aeb65.dynamic.kabel-deutschland.de [95.90.235.101]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id CA12561E5FE00; Tue, 17 Aug 2021 18:53:16 +0200 (CEST) Subject: Re: SK hynix BC511: warning: nvme nvme0: missing or invalid SUBNQN field. To: Keith Busch Cc: Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, LKML , Dell.Client.Kernel@dell.com References: <67f74c8e-9d5e-22a1-f1c2-a4284b07ba56@molgen.mpg.de> <20210817161638.GC223727@dhcp-10-100-145-180.wdc.com> From: Paul Menzel Message-ID: Date: Tue, 17 Aug 2021 18:53:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210817161638.GC223727@dhcp-10-100-145-180.wdc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [cc: +Dell.Client.Kernel@dell.com as it’s a Dell device] Dear Keith, Thank you for your prompt response. Am 17.08.21 um 18:16 schrieb Keith Busch: > On Tue, Aug 17, 2021 at 05:10:40PM +0200, Paul Menzel wrote: >> On a Dell OptiPlex 7780 AIO/04G47W (BIOS 1.6.3 03/08/2021) Linux 5.10.47 >> shows the warning below: >> >> $ dmesg | grep nvme >> [ 3.015392] nvme 0000:02:00.0: platform quirk: setting simple suspend >> [ 3.021861] nvme nvme0: pci function 0000:02:00.0 >> [ 3.026593] ahci 0000:00:17.0: version 3.0 >> [ 3.026922] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode >> [ 3.035020] ahci 0000:00:17.0: flags: 64bit ncq sntf pm clo only pio slum part ems deso sadm sds apst >> [ 3.035219] nvme nvme0: missing or invalid SUBNQN field. >> [ 3.044518] scsi host0: ahci >> [ 3.051632] nvme nvme0: 12/0/0 default/read/poll queues >> [ 3.052590] ata1: SATA max UDMA/133 abar m2048@0xd1339000 port 0xd1339100 irq 125 >> [ 3.058538] nvme0n1: p1 p2 p3 >> >> Should it be added to the quirk list in `drivers/nvme/host/pci.c` or is it a >> real issues, the manufacturer should fix? If so, do you have SK Hynix >> contacts? > > It would be great if device makers would be spec compliant, but the > driver will continue to work with the device the same whether you add > the quirk or not. Could you please point me to the NVMe specification section, so I can refer to it, when contacting the manufacturer? > The quirk just suppresses the nqn check and warning. Feel free to add > it if you don't like seeing the warning message or if the > manufacturer can't resolve the compliance issue. Understood. I am going to do that, when it can’t be resolved. Kind regards, Paul