Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp167923rwr; Thu, 4 May 2023 16:51:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5AsYLTiC7B/NCRNnjeuni6z6d1+wq+zWb181XE3hfFGFblHxHv/mdCnougKrkKqKV6/G3q X-Received: by 2002:a05:6a20:a585:b0:e7:4f8a:d04d with SMTP id bc5-20020a056a20a58500b000e74f8ad04dmr4146692pzb.57.1683244302644; Thu, 04 May 2023 16:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683244302; cv=none; d=google.com; s=arc-20160816; b=KFfUcakXZrixjaPKG5pZ9iy2Dkm2njUVO8swzgBD08hY4eK60DOer0bdRKE+qy/8YZ Mk3gMBw2KcLCBE0E2HAd1BT0s+SPCcseqiKomvv93QckxkE6WLfm3EX8uhvHSBhTJsvt S6V+k/O1lAR+/vV3YdBB/38tGnNrKCrVvAskiif2v5J8tS5fYVF4opHnrtfMyFuzHKyc bj9lHCsMWtIn3GzpY9InXeiFvOdDKT9SZU+hZVL0pbJrl8+AwHz5rWJ90XA+4+I4Fhbm TavZ3OzfbD/KLxiH+SlOY7E8WCAQb+Wz7I7dYaegCCSN83AHjWQ5LQxhJ4KEtK8eN8t7 LJ6w== 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=lkwlQPMGMIxAlMZp1ec5I95UHcrfctVyRuyNlrEK4fQ=; b=dfGBGjjZ3rq+0WvSYN/wGxOseOejW8GIcJhsxk7smsbFT5N5cz0wEfsjmJm1DXZ9SY p6sKG/hFMk4NDbkoI+463RpFfMAvS266cUi98/P5BPF0B8PNTA589pUu/Af4sAQWPpr5 oAkLM3ApEt3gOxlcwcb9zZP0qpZLjUmbCPh7J7r2ObZa6oQ6vRJSdVJKQ/jnv7waLw4p 9A7wYQD5oOJ/TDk5AI//RcVxsZ+fLLe1cTP+990QPVGrayfAkDapOLFhnKILmK/k6e/m Tw17pJBbsedbOD7tNJ/qU165kJdDR/kC/aY9sa4Jvsva+90Cft7XDnduj2ekn/YQVnlh 63GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ALfhyBGs; 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 z15-20020a63330f000000b0052c74f7adfdsi520096pgz.837.2023.05.04.16.51.17; Thu, 04 May 2023 16:51:42 -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=ALfhyBGs; 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 S229703AbjEDXCF (ORCPT + 99 others); Thu, 4 May 2023 19:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjEDXCD (ORCPT ); Thu, 4 May 2023 19:02:03 -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 0AE9C9EF8 for ; Thu, 4 May 2023 16:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683241276; 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=lkwlQPMGMIxAlMZp1ec5I95UHcrfctVyRuyNlrEK4fQ=; b=ALfhyBGsB5RjJqbuwmfiTDMZGSrRVIlMRGKMwIJOgqPZ9O0vZsFakIv1issIp6UXseUXeC rGUMZc3rxSCfMVFZw+U5OjWS2T4k6Wuoep/fejKgHK71G1RV8mwqEYtaoXUextsO7KiRq3 IttTaWOpDnoCa/VpjcoxLPtt+DveK6I= Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-587-vyMgwY0RNiWoEF5g24Gg8g-1; Thu, 04 May 2023 19:01:15 -0400 X-MC-Unique: vyMgwY0RNiWoEF5g24Gg8g-1 Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-3315646c88cso15669185ab.3 for ; Thu, 04 May 2023 16:01:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683241274; x=1685833274; 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=lkwlQPMGMIxAlMZp1ec5I95UHcrfctVyRuyNlrEK4fQ=; b=By4D7kjbP0y8swhu8b7Wwy3V7c/btT4QKKXq2rOpIiPlGimHcn7qriB04y1y+TVpdI /+g/HpmKYDsUqWrfZcd09FmxBtziW6d5wgGzoUsHZfZfKL0jrJV1tCKRLU99Ye27hHx1 5Ecl5OoZpd3kVC4GrP9ZsiVBoF7ZAOvENkolVSEmNorjxaS2Vida61ejYlFBjqVhByKW 3o4XOSFB9Dx5POXnp3yrzDsqEzSuiUHOaegh3BcQtKEtf75wwzpFUUNGSQmFbsxhaNvy oe2FnKmTCG8NbVoCsOT0oA7+loVoDkLxQAykLiriPhzUKPqSCE9FwrzKCCeXfx7BnOmS 4aLQ== X-Gm-Message-State: AC+VfDx0ICnm0smRpnEy6I0YsSsl0lL+2JtzVF76OQFgtJKuKc18CUdZ ppDMMBhhQW8DF/MzSGjymKmCQ/k2XGGrI6kimaLZpSVf3cy87aduvGsMhT1XKnJosJzYgKkgs0y 2+pSmRQ+j1o6y4SdCzEZ18VT2 X-Received: by 2002:a05:6e02:146:b0:331:3564:7834 with SMTP id j6-20020a056e02014600b0033135647834mr315432ilr.18.1683241274344; Thu, 04 May 2023 16:01:14 -0700 (PDT) X-Received: by 2002:a05:6e02:146:b0:331:3564:7834 with SMTP id j6-20020a056e02014600b0033135647834mr315410ilr.18.1683241274089; Thu, 04 May 2023 16:01:14 -0700 (PDT) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id y9-20020a92c749000000b00325de773339sm68010ilp.64.2023.05.04.16.01.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 16:01:13 -0700 (PDT) Date: Thu, 4 May 2023 17:01:11 -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: <20230504170111.70a7f639.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.3 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=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 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 */ Looks fine to me, though I might adjust that next line to keep the previous alignment. In general this has certainly caused more confusion than insightful information, so demoting it to debug is a good idea. Thanks, Alex