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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63067C433F5 for ; Wed, 13 Apr 2022 18:47:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237806AbiDMSuO (ORCPT ); Wed, 13 Apr 2022 14:50:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231590AbiDMSuN (ORCPT ); Wed, 13 Apr 2022 14:50:13 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B815A171 for ; Wed, 13 Apr 2022 11:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=4r1dDfJnyERKyNl0nlW6g920RGaz23l43AARe0auYrE=; b=WTq5nRT2FZNel4acpqjV47eI9u 02fpwfpuLC5+r4/Ok/Wpoev7I1oohKGlzk+k8Tu+fLxWL+1kHTB/oaLO04HKAwEaQpKdyPqLkjUep xoK/k6Al6UxaSnMcKcJwJZda7ZtEVrXRzMkftA76zFBkDm8fzUIzh9ObbspCXHU9BqkE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nei1r-00FiFc-PU; Wed, 13 Apr 2022 20:47:47 +0200 Date: Wed, 13 Apr 2022 20:47:47 +0200 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Marek =?iso-8859-1?Q?Beh=FAn?= , netdev@vger.kernel.org Subject: Re: [PATCH net 3/3] net: dsa: mv88e6xxx: correctly report serdes link failure Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Apr 13, 2022 at 05:54:02PM +0100, Russell King (Oracle) wrote: > Phylink wants to know if the link has dropped since the last time state > was retrieved, and the BMSR gives us that. Read the BMSR and use it when > deciding the link state. Fill in the an_complete member as well for the > emulated PHY state. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Andrew Lunn Andrew