Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp669961rwr; Thu, 4 May 2023 08:09:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4XzXmFXtduGeX4KSQDxU+1Ar5d5gJVA4IoAYV8vGLE+WqEEpfLacOBEBUh+HKEKDDLIB6h X-Received: by 2002:a17:902:ce8e:b0:1aa:fc8c:8f1f with SMTP id f14-20020a170902ce8e00b001aafc8c8f1fmr4848687plg.50.1683212989842; Thu, 04 May 2023 08:09:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683212989; cv=none; d=google.com; s=arc-20160816; b=rUuw947tvRrs7sS5IFklZq2AEa/Wcd7Zzj0GfF1XCcmS6YrBD2L42g7uJYRHKBivdw bp1daxSl1D3aqLaRU5NcpP2jgWVkxbynAtuNQYTY9AtC1DtyOuK6eSTwh9hJb4xxBYAJ M6h5b49/Re4r6IsFevbwUdVIrDA7hPmmQ78jvivZHr43E9oj1bZrUWxKSo4C+dMzZnt0 94RZifKqVz6aQH7al3/C1QwCzzVoGm1CgVhYeT1s9jwwOlzRc3ZGIqQojoOXNJWWwbSc vY2WpGxC5kxXBeFLS4lahPaViETEG0AxXfu9vZWsDE7eR+UJlddKUMXTdqx+ch8mpEH4 Mfow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=M9SIzfOyT/36LPUiUVaXy7e6tRKfNiByyzcagojCb80=; b=y6T119oTOErlgidxqCpelzqb4PDFe1EHTnkqB5ednmLEGp1R7TXhMvAmYMN5qlR3L1 yDNS+kBwrICPI+AKqtDP0vxKla6Prw3Z3SbTEB165I0uZS8lN4bKSFDzUYk3VS2p6y63 RGQvPoGpOW7n6/lRNLEjfVZEokGU0sJ2IJVNW8Gj0oo18FWltHRamBE9DXLOsitf8b9w cq5OyQKcGOI+5/1snsbQzlhv1FNezx4U3u8SQOAZrJj4mg/mjDjuqNF4fvTuYPJKzI7a RltYvYFI5mcpj9Ue1BIqwOdTcye8ogF6lEBc0IOOAaexSLF/o+zSkISTHvdFPR1fyLTh a+7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VaISnwWM; 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 h3-20020a170902f54300b001a974fc86casi30259631plf.592.2023.05.04.08.09.33; Thu, 04 May 2023 08:09:49 -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=VaISnwWM; 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 S231137AbjEDPGi (ORCPT + 99 others); Thu, 4 May 2023 11:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230495AbjEDPGg (ORCPT ); Thu, 4 May 2023 11:06:36 -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 AE56D1FE6 for ; Thu, 4 May 2023 08:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683212748; 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=M9SIzfOyT/36LPUiUVaXy7e6tRKfNiByyzcagojCb80=; b=VaISnwWMc9kKjiwN33z+12GxcydRYqm49vgRpcRxje3Nu1QwY/y+ZZy/LGmxWxVPXKvzz4 KWnXQwnbbIEB+gtBlYMFQdrPfE4Hm9+bf5P8TJVbOxTXS/YMM4yB2O0bYXVn2zFRXEaBJ7 t6ndeLi6aTI/33jSjOZNnFr+rZVfDuw= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-457-ca62_WwiND6-bGYuyAoV5Q-1; Thu, 04 May 2023 11:05:47 -0400 X-MC-Unique: ca62_WwiND6-bGYuyAoV5Q-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-5ef626ad00fso8260896d6.3 for ; Thu, 04 May 2023 08:05:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683212746; x=1685804746; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M9SIzfOyT/36LPUiUVaXy7e6tRKfNiByyzcagojCb80=; b=F5mMUnJrCfWf2tRYM+MM6wbAU57Yv3QNHJSYzJYNYY5t3LFKumBpxoN3nLT2SWhiVk vn5hHbCMY7jFML3koIlzf+byIIMdPjWaXL940gtz2Izx6OmpPYlOlAZc2HAyPnXIyU90 t3dzPJyRmt5omUpjAEWoJV5jP9KYi/g1uz38ijORZo8xMDiWdEPtqjEwIFlQFcguxRmx IcmqKN3quskW/jhhd1y3tNoFyz4FypmtCRyIWYd64KY1/C2ZBiri1qGpb5OT2lD7W+rj DNKVGwt6b3qthFxCQUB6/9EMEg9CmdUBGa1qGDrpPGqrpcC4rudwi0iq4novJXIvsUDJ HHYw== X-Gm-Message-State: AC+VfDyghw9TG6A7DqMb0KsjC/PGrxz6HyfCoyUWm2iZsycUhIIicZ6Z AzPtsuuND/zkI+nPKzBIJE6UYaHBgrMfxiKUpUbB+97RK4SMTOMVgHxMFDBWjvm5IqOPKvn0L/0 klAv5OCClW/ahk0CDQLlko8B6 X-Received: by 2002:a05:6214:625:b0:61b:5bcd:db57 with SMTP id a5-20020a056214062500b0061b5bcddb57mr14789679qvx.48.1683212746697; Thu, 04 May 2023 08:05:46 -0700 (PDT) X-Received: by 2002:a05:6214:625:b0:61b:5bcd:db57 with SMTP id a5-20020a056214062500b0061b5bcddb57mr14789645qvx.48.1683212746351; Thu, 04 May 2023 08:05:46 -0700 (PDT) Received: from ?IPV6:2a01:cb19:853d:fa00:c28a:3e3d:34f3:3891? ([2a01:cb19:853d:fa00:c28a:3e3d:34f3:3891]) by smtp.gmail.com with ESMTPSA id m18-20020a0cbf12000000b0060f5a75b750sm8507842qvi.99.2023.05.04.08.05.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 May 2023 08:05:45 -0700 (PDT) Message-ID: <2b6567ca-3e0e-02ea-0f5e-f7121c8d4b2c@redhat.com> Date: Thu, 4 May 2023 17:05:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] vfio/pci: demote hiding ecap messages to debug level Content-Language: en-US To: Oleksandr Natalenko , linux-kernel@vger.kernel.org Cc: Alex Williamson , Eric Auger , Jason Gunthorpe , Abhishek Sahu , Kevin Tian , Cornelia Huck , Bo Liu , "K V P, Satyanarayana" , kvm@vger.kernel.org References: <20230504131654.24922-1-oleksandr@natalenko.name> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= In-Reply-To: <20230504131654.24922-1-oleksandr@natalenko.name> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 5/4/23 15:16, 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 Acked-by: Cédric Le Goater Thanks, C. > --- > 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 */