Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp537885rwr; Thu, 4 May 2023 06:40:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ZWiyEiU5rEKlgLxtw3VZ30RVYKwA6kNGrlv7rdeXoLDsdiRFbTvTwUdr0BUmgmB120BNG X-Received: by 2002:a17:902:6aca:b0:1a5:1e7:86d7 with SMTP id i10-20020a1709026aca00b001a501e786d7mr3584893plt.52.1683207615066; Thu, 04 May 2023 06:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683207615; cv=none; d=google.com; s=arc-20160816; b=NTUPdjw64b8kzt2MeVamLyRBsHA+MhNUn/7yJY6LE+NcEYJx0HcfJfwIfgWLQ1n37M Mws9LZaYSwJEz32BTMtshRfa24rScl0HZjFS5pYxW/O2dM0iDs08VlPVQA3cI1wb1+6u pPiMotJaLeCtpOhGoc9D3VLCzJXU6ANJFXcoS6dilnP+wewQb6+npov+L7+mD8a7EWID idv83H4mQeNUGDCGEWj3uz6rDbPIt1zDzZMisMb02s3oeod3AMaFAwoZIC+dCEeVlA0u 6GxObukhdCygPDfMvkexjaMY7jdqXhxR4wp4wKdOz/TNpIi96LsZCKKs8sb3FFSkq2if Kfjw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=1GoSmlsswYCSSMaB76ExjC77jP1QgiBUF/bzBvuBTsg=; b=eE8Pu0gpse8WBQI9Ch/qxQRI5Vm4aS9x80QcY3ncMYDoMTVc5hQsBkPyYEdANTQjIb IDiJU9quVe2X6cVVn84AkS888/dLspsZ1fiueCJ6UHvtFtVMM2tWKYKlZH0b/E59P/Ra oGy/2I8aaJ4rR1tj/APNGa9ZaWk5FB5kmyjyUCxgaQKiG8xwLbNbjmGNbsOdvfAGhTTg LLQ3zUu+WfKhccjDgQQe6Whj17M6yPk9nnWz3BmxmZdoNCeyOv8qCitVmYsQYi0cGiwL evpQCaG79RsCk5S+nUsQFYOB4/KfjEXvEjrHEtJrp0maA/uk6gc8KjNe19kZR0BXhB2s EM7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=Td2N0gBj; 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 i4-20020a17090332c400b0019d038765f6si37635352plr.449.2023.05.04.06.40.02; Thu, 04 May 2023 06:40:15 -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=Td2N0gBj; 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 S231195AbjEDN0G (ORCPT + 99 others); Thu, 4 May 2023 09:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjEDNZ6 (ORCPT ); Thu, 4 May 2023 09:25:58 -0400 X-Greylist: delayed 535 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 04 May 2023 06:25:56 PDT Received: from vulcan.natalenko.name (vulcan.natalenko.name [104.207.131.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BC48273B; Thu, 4 May 2023 06:25:56 -0700 (PDT) Received: from localhost (unknown [83.148.33.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 8DE4A12F8768; Thu, 4 May 2023 15:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1683206216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=1GoSmlsswYCSSMaB76ExjC77jP1QgiBUF/bzBvuBTsg=; b=Td2N0gBjPvlTlyWzvZHpJqFSgse2/YThNRfD6cCkdFEtPcZvagxfK2z2uJ/6ZK4CiNuRGx /cPifY7XykPQVQctaZOZrKE92Cm2Akzh3uCoKNdldBM1lfHT9NFCLB9hcsb77/uhp5Nc0S Tj87eGjKwHqbtCXeQG/t0nqYKwS9kDo= From: Oleksandr Natalenko To: linux-kernel@vger.kernel.org Cc: Alex Williamson , Eric Auger , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Jason Gunthorpe , Abhishek Sahu , Kevin Tian , Cornelia Huck , Bo Liu , "K V P, Satyanarayana" , kvm@vger.kernel.org Subject: [PATCH] vfio/pci: demote hiding ecap messages to debug level Date: Thu, 4 May 2023 15:16:54 +0200 Message-Id: <20230504131654.24922-1-oleksandr@natalenko.name> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,URIBL_BLOCKED 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 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 */ -- 2.40.1