* [PATCH net-next] net: mdio: Demote probed message to debug print
@ 2022-01-03 19:40 Florian Fainelli
2022-01-03 20:17 ` Andrew Lunn
2022-01-04 3:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Florian Fainelli @ 2022-01-03 19:40 UTC (permalink / raw)
To: netdev
Cc: Florian Fainelli, Maxime Bizon, Andrew Lunn, Heiner Kallweit,
Russell King, David S. Miller, Jakub Kicinski, open list
On systems with large numbers of MDIO bus/muxes the message indicating
that a given MDIO bus has been successfully probed is repeated for as
many buses we have, which can eat up substantial boot time for no
reason, demote to a debug print.
Reported-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
drivers/net/phy/mdio_bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
index f52da568cce3..58d602985877 100644
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -597,7 +597,7 @@ int __mdiobus_register(struct mii_bus *bus, struct module *owner)
mdiobus_setup_mdiodev_from_board_info(bus, mdiobus_create_device);
bus->state = MDIOBUS_REGISTERED;
- pr_info("%s: probed\n", bus->name);
+ dev_dbg(&bus->dev, "probed\n");
return 0;
error:
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: mdio: Demote probed message to debug print
2022-01-03 19:40 [PATCH net-next] net: mdio: Demote probed message to debug print Florian Fainelli
@ 2022-01-03 20:17 ` Andrew Lunn
2022-01-04 3:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2022-01-03 20:17 UTC (permalink / raw)
To: Florian Fainelli
Cc: netdev, Maxime Bizon, Heiner Kallweit, Russell King,
David S. Miller, Jakub Kicinski, open list
On Mon, Jan 03, 2022 at 11:40:24AM -0800, Florian Fainelli wrote:
> On systems with large numbers of MDIO bus/muxes the message indicating
> that a given MDIO bus has been successfully probed is repeated for as
> many buses we have, which can eat up substantial boot time for no
> reason, demote to a debug print.
>
> Reported-by: Maxime Bizon <mbizon@freebox.fr>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: mdio: Demote probed message to debug print
2022-01-03 19:40 [PATCH net-next] net: mdio: Demote probed message to debug print Florian Fainelli
2022-01-03 20:17 ` Andrew Lunn
@ 2022-01-04 3:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-01-04 3:20 UTC (permalink / raw)
To: Florian Fainelli
Cc: netdev, mbizon, andrew, hkallweit1, linux, davem, kuba,
linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 3 Jan 2022 11:40:24 -0800 you wrote:
> On systems with large numbers of MDIO bus/muxes the message indicating
> that a given MDIO bus has been successfully probed is repeated for as
> many buses we have, which can eat up substantial boot time for no
> reason, demote to a debug print.
>
> Reported-by: Maxime Bizon <mbizon@freebox.fr>
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>
> [...]
Here is the summary with links:
- [net-next] net: mdio: Demote probed message to debug print
https://git.kernel.org/netdev/net-next/c/7590fc6f80ac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-04 3:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-03 19:40 [PATCH net-next] net: mdio: Demote probed message to debug print Florian Fainelli
2022-01-03 20:17 ` Andrew Lunn
2022-01-04 3:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).