Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp665153rwr; Fri, 5 May 2023 03:13:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Ct5z5yTJL0I942+bhLCWU6qxCx1/Y5gwDspZKSCUmPZjtPeQMognL9x6Toye86wUdCiis X-Received: by 2002:a17:903:244b:b0:1a6:fe25:4129 with SMTP id l11-20020a170903244b00b001a6fe254129mr982451pls.0.1683281610042; Fri, 05 May 2023 03:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683281610; cv=none; d=google.com; s=arc-20160816; b=0dIJ8sGjzOeY6sZ2QZUd/Wgb+51pyTS3TtI4dlKuDxJjjUOWeobVOenynrooMusAfD gELC8nW/6Q86p7iCy1hpjb2KnqqrrPzOY8DqM+/rjsgAgacQwvMv+boKg8Yp1bWUuZx5 sOiTyX28omNPp+UwOG8E8LBqLJDKHhXMaLIr0IThscjQoQdpsTbgr6ZmzTCq5fNCIKky /cu32pCIyskDaXYkPJmP8g1JQAZ3AP1SNJedsc4SjZmxGIcEDsHHuUAMv8qsUGF+XcPn vzjc9WELiSU7bmrvd8YdEDcGOX4aLu7NbLibIDUVUabTLVFFFOp0ufkr+nAH1sPivXMM phWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2U8Eyv9nlZnFEQ8LEuDy/nhAeBfgve9KkqjGss4tmqU=; b=zeZnEJ2WUn3zw0jbrp5kVj/OjXdGY2Q4CbYKDd9/tZWYOjHpWYgVABxyIftFXBeirq XzFqnipxfqbLwgEL27bRkrZPjH4m8VuUxujsK/YVDx7aFUwYqnpHJBPIr0EcEvXXhF7E lipbENnUE6Ch0SuTlIKe6VSVh+jtjDOA3KIH8lIxNpIIb372D6E6QCjmy2Mszrt5yOg7 XWMdgIPxazdWT/83szHuQLU+8wyV5VeHJ4g6nS+L0iSdrBL5+OSBjuE9dNBLYXU592SG 6PgM9AeW9f4xH+uvRoVGNJlBRaUzj7cODior4Hpfm0g4k0XKOxjBXvqgsZCMbHSRfoD3 fivw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=oxOU7q3B; 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=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r9-20020a1709028bc900b001aaea258805si1336352plo.134.2023.05.05.03.13.17; Fri, 05 May 2023 03:13:30 -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=@natalenko.name header.s=dkim-20170712 header.b=oxOU7q3B; 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=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231649AbjEEKCG (ORCPT + 99 others); Fri, 5 May 2023 06:02:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231685AbjEEKCC (ORCPT ); Fri, 5 May 2023 06:02:02 -0400 Received: from vulcan.natalenko.name (vulcan.natalenko.name [104.207.131.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF5DF1161C; Fri, 5 May 2023 03:01:59 -0700 (PDT) Received: from spock.localnet (unknown [83.148.33.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 9C7DD12FA060; Fri, 5 May 2023 12:01:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1683280913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2U8Eyv9nlZnFEQ8LEuDy/nhAeBfgve9KkqjGss4tmqU=; b=oxOU7q3BEN1zLMIqYfCJqAmwPBRg+HQJ6RDIO+mpq9nrSjS/Vakss/QZ9YVIY5CEjQan4R rQj0RKBx6PVnqPMNs+g9G3gf5MHHqHh/oBDle2jQXoEreSS+7G30UUyq/97BJVXkDIePg8 pr4EPL2LkMeKwL09YhQVRy98D1SjeIY= From: Oleksandr Natalenko To: Alex Williamson Cc: linux-kernel@vger.kernel.org, Eric Auger , =?ISO-8859-1?Q?C=E9dric?= Le Goater , Jason Gunthorpe , Abhishek Sahu , Kevin Tian , Cornelia Huck , Bo Liu , "K V P, Satyanarayana" , kvm@vger.kernel.org Subject: Re: [PATCH] vfio/pci: demote hiding ecap messages to debug level Date: Fri, 05 May 2023 12:01:51 +0200 Message-ID: <2680715.mvXUDI8C0e@natalenko.name> In-Reply-To: <20230504170111.70a7f639.alex.williamson@redhat.com> References: <20230504131654.24922-1-oleksandr@natalenko.name> <20230504170111.70a7f639.alex.williamson@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Hello. On p=C3=A1tek 5. kv=C4=9Btna 2023 1:01:11 CEST Alex Williamson wrote: > On Thu, 4 May 2023 15:16:54 +0200 > Oleksandr Natalenko wrote: >=20 > > Seeing a burst of messages like this: > >=20 > > vfio-pci 0000:98:00.0: vfio_ecap_init: hiding ecap 0x19@0x1d0 > > vfio-pci 0000:98:00.0: vfio_ecap_init: hiding ecap 0x25@0x200 > > vfio-pci 0000:98:00.0: vfio_ecap_init: hiding ecap 0x26@0x210 > > vfio-pci 0000:98:00.0: vfio_ecap_init: hiding ecap 0x27@0x250 > > vfio-pci 0000:98:00.1: vfio_ecap_init: hiding ecap 0x25@0x200 > > vfio-pci 0000:b1:00.0: vfio_ecap_init: hiding ecap 0x19@0x1d0 > > vfio-pci 0000:b1:00.0: vfio_ecap_init: hiding ecap 0x25@0x200 > > vfio-pci 0000:b1:00.0: vfio_ecap_init: hiding ecap 0x26@0x210 > > vfio-pci 0000:b1:00.0: vfio_ecap_init: hiding ecap 0x27@0x250 > > vfio-pci 0000:b1:00.1: vfio_ecap_init: hiding ecap 0x25@0x200 > >=20 > > is of little to no value for an ordinary user. > >=20 > > Hence, use pci_dbg() instead of pci_info(). > >=20 > > Signed-off-by: Oleksandr Natalenko > > --- > > drivers/vfio/pci/vfio_pci_config.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio= _pci_config.c > > index 948cdd464f4e..dd8dda14e701 100644 > > --- a/drivers/vfio/pci/vfio_pci_config.c > > +++ b/drivers/vfio/pci/vfio_pci_config.c > > @@ -1643,7 +1643,7 @@ static int vfio_ecap_init(struct vfio_pci_core_de= vice *vdev) > > } > > =20 > > if (!len) { > > - pci_info(pdev, "%s: hiding ecap %#x@%#x\n", > > + pci_dbg(pdev, "%s: hiding ecap %#x@%#x\n", > > __func__, ecap, epos); > > =20 > > /* If not the first in the chain, we can skip over it */ >=20 > Looks fine to me, though I might adjust that next line to keep the > previous alignment. Sure, but if you want me to send v2 with this, please let me know. Thanks. > In general this has certainly caused more > confusion than insightful information, so demoting it to debug is a > good idea. Thanks, >=20 > Alex >=20 >=20 =2D-=20 Oleksandr Natalenko (post-factum)