Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1015162rwe; Thu, 25 Aug 2022 13:38:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4fU0sba0RiI1oEMpqeSKHvph36OtF9po3i9tUP/R5g/z87CNFDyU9S939oaIVLeSsoZK/n X-Received: by 2002:aa7:cd58:0:b0:446:d:905 with SMTP id v24-20020aa7cd58000000b00446000d0905mr4570462edw.191.1661459920042; Thu, 25 Aug 2022 13:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661459920; cv=none; d=google.com; s=arc-20160816; b=jM/lDVqZ31V9uxWQvKDG9b0qVLyhGRbbP/MNEhGXB8at2YFfFjJ2mnckTH2ZoV/LTH gQWUWUAcaWU4OY3MJvhon1pjkFsGVkBTVF9FN/OYFMJDI7qNqqb1J600mDdVswI6A+eh p1Zz+WIdq925GYjWbc2KkZpXfOFbegFl4hKZapzNlb0QHJspxL41NDDQjNy0KqSc4zb9 kHirBHh9/5M33qF6qUapmq5T3pVhHtCqllLdvkY6IjFlHjai8+MJFp471uVyo4UF3A3O FWmnx20qBYRbI8ICf1/LiyUVJo5+vyXG6VtxxfBntAFW79EfHehxoo636k79KOMKjxUF eYIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yw4pnwL9vsoN0rY7xDNb3b904BEMaZ7aqQIW6sK7lPQ=; b=zA7edRvYwpZVT5WK2gMbLD+aZaKnP8UA65AHxHtbIlUsVz44v1zeba90aL8Mb5Llz/ XDjHgHP5dBYQLJqjM1d+KlMjB0HCPLFKu9HST3xZdK8pzlRlwdAf3HTDkugvK7mANtHK OSptaecMRKXdmdG0GpnqYMS493iSTElD33txqhteLF/T/BNAcIXg4m2E6BiNz5PMb24X aE9b+Mim0rzPJO90pE8ealKCceraDhguOsg+PiMifNpWZM6rJD4NSX0/6pypvSGugJ2i BxHonu+3An8sXvmmwOeo2NbTghIOgANmyPS676pPCV4TqdFz/9FZjnMxN6NXwyzMHP6V mPHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p7Vbh6xe; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb5-20020a1709077e8500b0073d6f4f3115si139391ejc.246.2022.08.25.13.38.13; Thu, 25 Aug 2022 13:38:40 -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=@kernel.org header.s=k20201202 header.b=p7Vbh6xe; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242072AbiHYT7l (ORCPT + 99 others); Thu, 25 Aug 2022 15:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233657AbiHYT7j (ORCPT ); Thu, 25 Aug 2022 15:59:39 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26CE82981B; Thu, 25 Aug 2022 12:59:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 5F413CE29AA; Thu, 25 Aug 2022 19:59:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2609C433C1; Thu, 25 Aug 2022 19:59:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661457574; bh=MxUP2JHg8QwMYl+xwMnMOML01dgAM84sIH3ZqdpLtV4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=p7Vbh6xeDJd3jcip6S0cWeGwM/c8kv/xToP/nuFffRC7Fv3s2y2xWNBhu8Z117l3V f1pRSyc5nNzDBx+7FmP4lU06B8hFZ/mU3IDR6M1+mWEZWjAqfs7eIzUQI9Mnniu+i+ /hrE6UMyikcYMNSnY48UtnTBF2kLPbC92q/VHTyf+9hyTuRH+O62P+lOY57xvJOgln TPndr7a0M7mR4vmnGJ7te6VDOFtV+SeBieIbUaaaU70Yb7sR0lHg/jXq+i9wrk6/E0 N2LVJFDFJh1jIg2zYF3k35hh9mtw4xEYhaWnS60QLVV2m1wkHii2RI8aSieqDQ0LIy 7uDHKIVppCCig== Received: by mail-ua1-f54.google.com with SMTP id d14so32779ual.9; Thu, 25 Aug 2022 12:59:34 -0700 (PDT) X-Gm-Message-State: ACgBeo1/exjemPhlDazlenj9ALXIoeaFPJeiNRuljxIktwj1PVonWLcJ 2un/Ed6xXo958nSyvLWqIZp6+5qraA7oGJRB5g== X-Received: by 2002:ab0:4565:0:b0:395:b672:508 with SMTP id r92-20020ab04565000000b00395b6720508mr2155494uar.63.1661457573681; Thu, 25 Aug 2022 12:59:33 -0700 (PDT) MIME-Version: 1.0 References: <20220825170327.674446-1-ardb@kernel.org> In-Reply-To: <20220825170327.674446-1-ardb@kernel.org> From: Rob Herring Date: Thu, 25 Aug 2022 14:59:22 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH] usb: reduce kernel log spam on driver registration To: Ard Biesheuvel Cc: "linux-kernel@vger.kernel.org" , Alexandre Belloni , linux-samsung-soc , Vladimir Zapolskiy , Tomer Maimon , linux-omap , Avi Fishman , Greg Kroah-Hartman , Linux USB List , Nancy Yuen , Krzysztof Kozlowski , Alan Stern , Patrice Chotard , Alim Akhtar , Patrick Venture , Tali Perry , Claudiu Beznea , linux-arm-kernel , Benjamin Fair Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Thu, Aug 25, 2022 at 12:04 PM Ard Biesheuvel wrote: > > Drivers are typically supposed to be quiet unless they are actually > probed, but for some reason, USB host controllers seem to be exempt from > this rule, and happily broadcast their existence into the kernel log at > boot even if the hardware in question is nowhere to be found. > > Let's fix that, and remove these pr_info() calls. > > Cc: Alan Stern > Cc: Greg Kroah-Hartman > Cc: Nicolas Ferre > Cc: Alexandre Belloni > Cc: Claudiu Beznea > Cc: Krzysztof Kozlowski > Cc: Alim Akhtar > Cc: Avi Fishman > Cc: Tomer Maimon > Cc: Tali Perry > Cc: Patrick Venture > Cc: Nancy Yuen > Cc: Benjamin Fair > Cc: Patrice Chotard > Cc: Vladimir Zapolskiy > Cc: linux-usb@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-samsung-soc@vger.kernel.org > Cc: linux-omap@vger.kernel.org > Signed-off-by: Ard Biesheuvel > --- > drivers/usb/host/ehci-atmel.c | 1 - > drivers/usb/host/ehci-exynos.c | 1 - > drivers/usb/host/ehci-fsl.c | 2 -- > drivers/usb/host/ehci-hcd.c | 1 - > drivers/usb/host/ehci-npcm7xx.c | 2 -- > drivers/usb/host/ehci-omap.c | 2 -- > drivers/usb/host/ehci-orion.c | 2 -- > drivers/usb/host/ehci-pci.c | 2 -- > drivers/usb/host/ehci-platform.c | 2 -- > drivers/usb/host/ehci-spear.c | 2 -- > drivers/usb/host/ehci-st.c | 2 -- > drivers/usb/host/fotg210-hcd.c | 1 - > drivers/usb/host/ohci-at91.c | 1 - > drivers/usb/host/ohci-da8xx.c | 1 - > drivers/usb/host/ohci-exynos.c | 1 - > drivers/usb/host/ohci-hcd.c | 1 - > drivers/usb/host/ohci-nxp.c | 2 -- > drivers/usb/host/ohci-omap.c | 2 -- > drivers/usb/host/ohci-pci.c | 2 -- > drivers/usb/host/ohci-platform.c | 2 -- > drivers/usb/host/ohci-pxa27x.c | 2 -- > drivers/usb/host/ohci-s3c2410.c | 1 - > drivers/usb/host/ohci-spear.c | 2 -- > drivers/usb/host/ohci-st.c | 2 -- > 24 files changed, 39 deletions(-) Reviewed-by: Rob Herring I've had the same patch sitting around since 3.15... Rob