From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5060C4363D for ; Thu, 24 Sep 2020 15:04:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 717EC2311B for ; Thu, 24 Sep 2020 15:04:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728284AbgIXPEz (ORCPT ); Thu, 24 Sep 2020 11:04:55 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:53318 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728192AbgIXPEz (ORCPT ); Thu, 24 Sep 2020 11:04:55 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kLSnl-00G2XZ-6I; Thu, 24 Sep 2020 17:04:53 +0200 Date: Thu, 24 Sep 2020 17:04:53 +0200 From: Andrew Lunn To: Jamie Iles Cc: netdev@vger.kernel.org, Jeremy Linton Subject: Re: [PATCH] net/fsl: quieten expected MDIO access failures Message-ID: <20200924150453.GA3821492@lunn.ch> References: <20200924145645.1789724-1-jamie@nuviainc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924145645.1789724-1-jamie@nuviainc.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Sep 24, 2020 at 03:56:45PM +0100, Jamie Iles wrote: > MDIO reads can happen during PHY probing, and printing an error with > dev_err can result in a large number of error messages during device > probe. On a platform with a serial console this can result in > excessively long boot times in a way that looks like an infinite loop > when multiple busses are present. Since 0f183fd151c (net/fsl: enable > extended scanning in xgmac_mdio) we perform more scanning so there are > potentially more failures. > > Reduce the logging level to dev_dbg which is consistent with the > Freescale enetc driver. Hi Jamie Does the system you are using suffer from Errata A011043? The change does however seem reasonable. Andrew