From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: 'Ard Biesheuvel' <ardb@kernel.org>,
linux-kernel@vger.kernel.org,
'Alexandre Belloni' <alexandre.belloni@bootlin.com>,
linux-samsung-soc@vger.kernel.org,
'Tomer Maimon' <tmaimon77@gmail.com>,
linux-omap@vger.kernel.org,
'Avi Fishman' <avifishman70@gmail.com>,
'Greg Kroah-Hartman' <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, 'Tali Perry' <tali.perry1@gmail.com>,
'Nancy Yuen' <yuenn@google.com>,
'Krzysztof Kozlowski' <krzysztof.kozlowski@linaro.org>,
'Alan Stern' <stern@rowland.harvard.edu>,
'Patrice Chotard' <patrice.chotard@foss.st.com>,
'Patrick Venture' <venture@google.com>,
'Vladimir Zapolskiy' <vz@mleia.com>,
'Claudiu Beznea' <claudiu.beznea@microchip.com>,
linux-arm-kernel@lists.infradead.org,
'Benjamin Fair' <benjaminfair@google.com>
Subject: Re: [RFC PATCH] usb: reduce kernel log spam on driver registration
Date: Thu, 25 Aug 2022 19:10:04 +0100 [thread overview]
Message-ID: <Ywe6/AKzVL/77Fhi@shell.armlinux.org.uk> (raw)
In-Reply-To: <065601d8b8a7$6fee5850$4fcb08f0$@samsung.com>
On Thu, Aug 25, 2022 at 10:53:44PM +0530, Alim Akhtar 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.
> >
> How about just change pr_info() to pr_debug() instead?
Do the messages serve a useful purpose that the initcall_debug kernel
parameter (that doesn't require #define DEBUG to be set while compiling
and thus can be used with any kernel) doesn't provide?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
WARNING: multiple messages have this Message-ID (diff)
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: 'Ard Biesheuvel' <ardb@kernel.org>,
linux-kernel@vger.kernel.org,
'Alexandre Belloni' <alexandre.belloni@bootlin.com>,
linux-samsung-soc@vger.kernel.org,
'Tomer Maimon' <tmaimon77@gmail.com>,
linux-omap@vger.kernel.org,
'Avi Fishman' <avifishman70@gmail.com>,
'Greg Kroah-Hartman' <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, 'Tali Perry' <tali.perry1@gmail.com>,
'Nancy Yuen' <yuenn@google.com>,
'Krzysztof Kozlowski' <krzysztof.kozlowski@linaro.org>,
'Alan Stern' <stern@rowland.harvard.edu>,
'Patrice Chotard' <patrice.chotard@foss.st.com>,
'Patrick Venture' <venture@google.com>,
'Vladimir Zapolskiy' <vz@mleia.com>,
'Claudiu Beznea' <claudiu.beznea@microchip.com>,
linux-arm-kernel@lists.infradead.org,
'Benjamin Fair' <benjaminfair@google.com>
Subject: Re: [RFC PATCH] usb: reduce kernel log spam on driver registration
Date: Thu, 25 Aug 2022 19:10:04 +0100 [thread overview]
Message-ID: <Ywe6/AKzVL/77Fhi@shell.armlinux.org.uk> (raw)
In-Reply-To: <065601d8b8a7$6fee5850$4fcb08f0$@samsung.com>
On Thu, Aug 25, 2022 at 10:53:44PM +0530, Alim Akhtar 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.
> >
> How about just change pr_info() to pr_debug() instead?
Do the messages serve a useful purpose that the initcall_debug kernel
parameter (that doesn't require #define DEBUG to be set while compiling
and thus can be used with any kernel) doesn't provide?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-08-25 18:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20220825170354epcas5p28a5f1a4b13507b5c40ca235560a6ba56@epcas5p2.samsung.com>
2022-08-25 17:03 ` [RFC PATCH] usb: reduce kernel log spam on driver registration Ard Biesheuvel
2022-08-25 17:03 ` Ard Biesheuvel
2022-08-25 17:23 ` Alim Akhtar
2022-08-25 17:23 ` Alim Akhtar
2022-08-25 18:10 ` Russell King (Oracle) [this message]
2022-08-25 18:10 ` Russell King (Oracle)
2022-08-25 22:13 ` Elliott, Robert (Servers)
2022-08-25 22:13 ` Elliott, Robert (Servers)
2022-08-26 4:01 ` Alim Akhtar
2022-08-26 4:01 ` Alim Akhtar
2022-08-25 19:11 ` Alan Stern
2022-08-25 19:11 ` Alan Stern
2022-08-25 19:59 ` Rob Herring
2022-08-25 19:59 ` Rob Herring
2022-08-26 5:57 ` Krzysztof Kozlowski
2022-08-26 5:57 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Ywe6/AKzVL/77Fhi@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=alexandre.belloni@bootlin.com \
--cc=alim.akhtar@samsung.com \
--cc=ardb@kernel.org \
--cc=avifishman70@gmail.com \
--cc=benjaminfair@google.com \
--cc=claudiu.beznea@microchip.com \
--cc=gregkh@linuxfoundation.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=patrice.chotard@foss.st.com \
--cc=stern@rowland.harvard.edu \
--cc=tali.perry1@gmail.com \
--cc=tmaimon77@gmail.com \
--cc=venture@google.com \
--cc=vz@mleia.com \
--cc=yuenn@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.