Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4972123rwd; Tue, 23 May 2023 15:55:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Tt7PmWsnCuesjlqZPgb8LnILQ1AJk2Vzt3DxuWNeMX2XfL6oxHHd2zGxpNG98Uzed3nGM X-Received: by 2002:a05:6a20:8e25:b0:10b:2ba5:ca66 with SMTP id y37-20020a056a208e2500b0010b2ba5ca66mr10087710pzj.20.1684882546849; Tue, 23 May 2023 15:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684882546; cv=none; d=google.com; s=arc-20160816; b=X1b4c3IevbU8Jrvm63bk7PO3bWRJCc2Bqri5Pfm/cRzPdAXrpwWsmRy/qpo88e/hIa m4YoDMDwKOwcxVbinNTTkbuzns8MD1a8OT/oPUFP2WsWGgU7315qXfxj/Xf0O3g8Pt7w GyirEAW0ymnP/Du1qsU2iFI6nuG0sAr9mYMIhqIariwdFVCPz25tbYimU0R632EpctyB +Wk1q59jzJ251yQYWIKPNIpqM7YYjKJNC5caC4SIZU2h7hOCjvyaoMN4tpCR7DnK9xZR TBbwFR45VymlqGdONenSgC9l60EDQWwTTXnc3UuLouTl8e8qUturNkE9yi4kgUw/IUnF AbKA== 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:subject:cc:to:from:date :dkim-signature; bh=TSzmRiQoN3lxJIxg8kAm83wUwxZmw5XdhOhZwpl0V28=; b=k/OMjaMEZO4KrUvstZlMjFZbG2PgzEDCO6BoppVfMP8dBrAXqfJd+LmXuyQ/3sRH2N Eun4sT//Svqup3IZXZ+5JKIbx3qAIGakYU4ElpHjHymBhkerA9I1VM/ZXt69mhTPh4dj 9X3zlD2AbkN718ymjgdbGAJgx/Pvrdp0hh2CBnKmtu0kIc65hobjbLsSLJt4qZZDUV1C gg9dTIrYVyNoyJRx2/D+H5uSFakphiwAlQc2I0TXhLIBae7Oa/u8ly9w5P0ucqCOqoGi 5QjeWQksWXvljoFYrjZ/c8G0zNMrL+7UA92YEYS8uvREl1LBswbFsf4IDBHNor9/mGMI SjAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Jq+nDfXq; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a63db58000000b005307d9f387esi7185181pgi.536.2023.05.23.15.55.35; Tue, 23 May 2023 15:55:46 -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=@redhat.com header.s=mimecast20190719 header.b=Jq+nDfXq; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238688AbjEWWn4 (ORCPT + 99 others); Tue, 23 May 2023 18:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238377AbjEWWny (ORCPT ); Tue, 23 May 2023 18:43:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD51EE5 for ; Tue, 23 May 2023 15:43:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684881788; 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=TSzmRiQoN3lxJIxg8kAm83wUwxZmw5XdhOhZwpl0V28=; b=Jq+nDfXqcGl8s7/n0BMtHUxJhKMyg/hRI3VQqN3z9nj+QFFHpIw1iypaUiKHfSa8/9LfQ9 KI/V5EO0SepeXm80yfaepRXx0e36h01Hz7Lb0BYyvbNggA2AOB+R6smk9Okxbcu6cbQMcH 5FOYClew+XVUig1vFGyQofow9CPBCrE= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-401-Wf-PDbPSMZWqpElkKHnv0Q-1; Tue, 23 May 2023 18:43:07 -0400 X-MC-Unique: Wf-PDbPSMZWqpElkKHnv0Q-1 Received: by mail-io1-f71.google.com with SMTP id ca18e2360f4ac-763997ab8cdso46543539f.2 for ; Tue, 23 May 2023 15:43:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684881786; x=1687473786; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TSzmRiQoN3lxJIxg8kAm83wUwxZmw5XdhOhZwpl0V28=; b=Cpnu8iaV6Qsi6D6H5Ob7o6XsVEyWjmYfo9t25NCPTIsmurrWrh0vbEIDEl8QwSvZho j0Bb8xB6gMUJ9DhimKuNbwbtx9YRRontEdvQXrBYwPNqeLET0HHcjjyFOt01gzsNKMA6 l6b7jJJpbAdKw5hlyNWMZL2sEqZpJjUgdqN914y48HfJ6F5TvlZBcWnXDEMwy9HvwdX2 5O57aXFBSkrKeH9M5tXuFdLUvYJ0I0CECWf8fcOq+7p3KT10yLqGtFLkdr/o659sjA2V 9vflQA/mREWGe07NXz7vGAhWljvSXGDzYjDTzHGGgNvr16Z31RL7tE1M6dfuukflhN4a 8fIQ== X-Gm-Message-State: AC+VfDxlqRJDuzl1wIOjR6wpOyEOe4I0Dc9VNnOM8kFpSVULQZaYjAYg oiJFcgeVn5YApejx4PJu7ieMZCOxmeAu8xnSgyBYOPLDclwioFFrNOSrZk6BLFdOxRtHgwMbqgh 6CtHGiQ+H0b8O5Bi7ZDnJCzN9 X-Received: by 2002:a92:dac4:0:b0:33a:1a98:559a with SMTP id o4-20020a92dac4000000b0033a1a98559amr4920808ilq.2.1684881786642; Tue, 23 May 2023 15:43:06 -0700 (PDT) X-Received: by 2002:a92:dac4:0:b0:33a:1a98:559a with SMTP id o4-20020a92dac4000000b0033a1a98559amr4920794ilq.2.1684881786397; Tue, 23 May 2023 15:43:06 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id o4-20020a92c684000000b0033842c3f6b4sm2684497ilg.83.2023.05.23.15.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 15:43:05 -0700 (PDT) Date: Tue, 23 May 2023 16:43:04 -0600 From: Alex Williamson To: Oleksandr Natalenko Cc: linux-kernel@vger.kernel.org, Eric Auger , =?UTF-8?B?Q8OpZHJpYw==?= 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 Message-ID: <20230523164304.6b0fb03b.alex.williamson@redhat.com> In-Reply-To: <20230504131654.24922-1-oleksandr@natalenko.name> References: <20230504131654.24922-1-oleksandr@natalenko.name> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Thu, 4 May 2023 15:16:54 +0200 Oleksandr Natalenko wrote: > Seeing a burst of messages like this: > > 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 > > is of little to no value for an ordinary user. > > Hence, use pci_dbg() instead of pci_info(). > > Signed-off-by: Oleksandr Natalenko > --- > drivers/vfio/pci/vfio_pci_config.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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_device *vdev) > } > > if (!len) { > - pci_info(pdev, "%s: hiding ecap %#x@%#x\n", > + pci_dbg(pdev, "%s: hiding ecap %#x@%#x\n", > __func__, ecap, epos); > > /* If not the first in the chain, we can skip over it */ Applied to vfio next branch for v6.5. Thanks! Alex