Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8009178rwn; Wed, 14 Sep 2022 07:41:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR6cGYEABGS2fbVpfTXhgk3OUl1wjMqff6Axs3bcU7x9/abyzNRHhWBUH/cx10zFspruyOXG X-Received: by 2002:a05:6402:11d4:b0:452:a97c:cd36 with SMTP id j20-20020a05640211d400b00452a97ccd36mr4131860edw.53.1663166504187; Wed, 14 Sep 2022 07:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663166504; cv=none; d=google.com; s=arc-20160816; b=dzmOXio0yUb0W+FQ53FQ8yYgVp1MjHDiZzDlz9VRIbLY34SEsRQBiI2X1EVGeEKi7t uehbNYV5zolmAvWILpojP6hg4EQ8YmPG5iqy2+QFWltcUp73UpP3BIhimmHnjhQeQRUo FivexszxNiNNdc7/1gRHxjIknd2edQ3DoHmVTgQCEkW+bpLTRDeZC5HIGuXx0ykhTMoz ldzReF1MN9E5CUDyKvqsGUmEstjLYuWtZz0IuVJ8XhXrGIOei+UAefa1BzLdQhO/p9dG 2fN4lk9ddefxxqob52l0t1NMEsSQjejjkxfCxwjfOJF1DyokqE0YCDhwgZxl+QPqcS8k vRSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=HkBOGVaxtNvXzx4SwU3igVtS65TbAnYRLy78fyKLl7A=; b=OvuBGUPIAbRkDrf8tKbCFtPhZ6TUoDgWvvh0yW1ZYOE2qXoDs+rWCEaqqXy1gvxMWi 5TsvwDEj3Bg4HcmrL/KGNNsizt0gq49gWD9MpHahWqQLA/mfSfNvIbhzTPOPF2aSKncE KGoTzgzv8Aq0+qZ1wCrnS6xXNkgURAIw9SMt35T9NIOf9wsZNnNX0FoNb0Em35dt0TVY +gx4DJIk6WzHCBBf5A5TSs9LCRUKMQYCy9iryxTMKS6kv6YA8a4evr2+0zkBpAAc7ref xC7V6mzyZlcYwwYFLfR0LSNR7ilvEeNvPn+r9CN93mdoxBbyAwT1NRcOwFmq6vbELQGv pxag== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020aa7d847000000b0044880841e1asi10787062eds.347.2022.09.14.07.41.17; Wed, 14 Sep 2022 07:41:44 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229773AbiINNqB (ORCPT + 99 others); Wed, 14 Sep 2022 09:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbiINNp6 (ORCPT ); Wed, 14 Sep 2022 09:45:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 394AA5924B; Wed, 14 Sep 2022 06:45:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EF1D0B81B67; Wed, 14 Sep 2022 13:45:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7332C433B5; Wed, 14 Sep 2022 13:45:44 +0000 (UTC) Date: Wed, 14 Sep 2022 19:15:39 +0530 From: Manivannan Sadhasivam To: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= Cc: Jon Hunter , Vidya Sagar , Bjorn Helgaas , jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, lpieralisi@kernel.org, robh@kernel.org, bhelgaas@google.com, treding@nvidia.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com Subject: Re: [PATCH V1] PCI: dwc: Use dev_info for PCIe link down event logging Message-ID: <20220914134539.GI16459@workstation> References: <20220913200746.GA619956@bhelgaas> <20220914062411.GD16459@workstation> <29b39edd-10ab-b679-f270-67b0b406ca2f@nvidia.com> <20220914111857.GF16459@workstation> <5ffe3dfa-28a5-a5fc-0ae2-28927c39dc03@nvidia.com> <20220914114306.GG16459@workstation> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 On Wed, Sep 14, 2022 at 09:44:44PM +0900, Krzysztof WilczyƄski wrote: > Hello, > > [...] > > Anyway, I don't strongly object the change and leave it to the > > maintainers to decide. > > Perhaps it makes sense to make this a dev_dbg() over dev_info(), especially > since it appears that this information is of more use to the developer (who > most likely has the suitable log level set anyway), and given that there is > no way to reliably detect a presence in a slot on some platforms, this > might otherwise, add to the other messages that normal users don't pay > attention to usually - if this is not to be treated as an error. > No, this is clearly not a debug message. As I quoted above, the link up can fail due to an issue with PHY also. In that case, user has to see the log to debug/report the issue. So, either dev_info() or dev_err(). Thanks, Mani > Krzysztof