Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp813618iog; Wed, 15 Jun 2022 12:58:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tf5ctkQSe6NzCM073m49gZ8j4y4RZaY1/GWjGCP6dMtqyUcogsKcyVhekojNTZJADOJKph X-Received: by 2002:a65:588b:0:b0:3fe:4237:2ee5 with SMTP id d11-20020a65588b000000b003fe42372ee5mr1260565pgu.442.1655323117512; Wed, 15 Jun 2022 12:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655323117; cv=none; d=google.com; s=arc-20160816; b=v/Xn30qi8ZAArUR9BC2chyU7lsG+hCT4nXn/jotVMF6s+T5GpEfyXkv5QoKNq5U8Ar Kk0uI2q6wnNgJyoAsEdQ+qY0i24iVlQR+uqExdlZWc3YZa6/6yibZu2o7x4m353YKhIV H3ayruhW0ah2mBGRWnVMGEJwWpJ+lfu1C/OWlrPP55rPjIiyAWnqq9O8IrT2cpN68s1Z gSID8lTLZMUlux5TvM5Ey71aScDU/lqWngmvzQUEtdG9Sfui8xKHt2QffbM6TGAUKOuR BvpNEhsSj41hAw78PBpRhzs36BViw3pFsietAaFXoIBkVvGdX7jHxygPZ1DmqZ7edY1+ 6w4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+plJLyc6BfesKBMfyYWeTBRHfNx/06Fk1S03G42Wxl4=; b=xVsPmGRc+GTKpAF4SZCY8L2IdM19tx3e1waL305f0CZAiur0IOofLsCGAOoPXRGEcM Hr7zrjejJhfmT++I2pIPO42E1haCVWeukvrZOoQgvhtb1EqK1nqxtH6S9KW2gM61fTB0 vuKXbVC5SQK+nbmZKRMBcPONJUnpXApFi4jgsmO2KfyxCPH3up23JFH6hex4X/ByqCK/ +tzqXSWXqwLQPNDMhP4uJkNTMiyRR7cZBDchsCSlpNri9LunB8nCXJarZGPaXKwO1l/A W4W4/nwyKJo1GYdJfH8DLpzAF6jRzVAQiUAPEY9XTbY8Ls0UW3PSKEdz999FFZaxzWy0 5WZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mOjsn2om; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020aa788cd000000b0050ebd76abccsi132867pff.2.2022.06.15.12.58.26; Wed, 15 Jun 2022 12:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mOjsn2om; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355709AbiFOSww (ORCPT + 99 others); Wed, 15 Jun 2022 14:52:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358430AbiFOSws (ORCPT ); Wed, 15 Jun 2022 14:52:48 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7788024BF0 for ; Wed, 15 Jun 2022 11:52:47 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id t3-20020a17090a510300b001ea87ef9a3dso2858001pjh.4 for ; Wed, 15 Jun 2022 11:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+plJLyc6BfesKBMfyYWeTBRHfNx/06Fk1S03G42Wxl4=; b=mOjsn2omSJQYO+C6R1n+7Va36LEjp++XQfMZQgxSRdbtYoqgUjImwjvbQoccczC3ou OK/8E3yx+flabo4DNZPP1FDlsfa/wuavvcUMnn3Sltx0t+EsgbhR+8+fUuzNZZ0hYpzq SKKwvjXO9r8BlrtMxm+PVmnl7H+JWP6Jbc+dqBFR9NJ3BLGG9GSTUN4I54zr56QOoCKs 4ungpINDDzuBJYu67AZtMp+9+o8ePw72rKL7PRdNedynU/LKR0Hl6T+u58qaycxXX29C QmvgsP/EpuWm5ZCAsm28B+TL8NqUFxoWWIONQQdGxDFOmalbPBJSnIbD4uHP9QeY+U6o MH8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+plJLyc6BfesKBMfyYWeTBRHfNx/06Fk1S03G42Wxl4=; b=Szqo4sg3zlHfnekU1166hSKG0wXPmd5tI9fRTLqqKhNwueA3hDPAWPUmcuswZtTduV xbxVsZP9jhJBtT9go78TsdW7F6nNmyNYAD006d9m186cRv1tt4T3g6SwFmNJwfzU0d2t 8zy0k3IlF/I+KInW+B4Qa+V64xgco7FPVbzMIGb4bMH9iK1eCf2+9WBcwIs7b88Dkvz/ 0KwO+6b/+abHfm3jVaQY53D5Lc3jXUCBWcQVKKZXz3KzT/7kTwcn0PXmwqPoZKSm0AL2 +Mu2fo0BApGbPZeOKfCM7DxvOEb6sBvsbENp6MNRInSSS9n2AbhzataInL32c3NhuwjG hjDg== X-Gm-Message-State: AJIora/19FMjFvuZxqsoFiYYorInPxvDrQFCI2wXlDYJL4WQ57C8+2Q0 5DH5R6+qLGNq/SmtaIPGA5ohZ819RsmEF+oQmug= X-Received: by 2002:a17:90b:4ac9:b0:1e3:1dca:d995 with SMTP id mh9-20020a17090b4ac900b001e31dcad995mr856644pjb.111.1655319167029; Wed, 15 Jun 2022 11:52:47 -0700 (PDT) MIME-Version: 1.0 References: <20220615180213.760756-1-e.velu@criteo.com> In-Reply-To: From: Erwan Velu Date: Wed, 15 Jun 2022 20:52:35 +0200 Message-ID: Subject: Re: [PATCH] nvme: Report model,sn,fw,pci device information during init To: Keith Busch Cc: Erwan Velu , Jens Axboe , Christoph Hellwig , Sagi Grimberg , "open list:NVM EXPRESS DRIVER" , open list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] > The PCI_ID: print is misleading. That format usually indicates VID:DID, but > you're printing VID:SSVID. True. > This is also very similar to the recently introduced nvme_print_device_info(), > but that one removes the annoying trailing spaces if they exist. I guess if > we're going this direction, just use that print, but change it from dev_err to > dev_info, and remove the call on global id collision detection. Oh I missed it. Shall I provide a patch for nvme-5.19 or wait until the next window ?