From mboxrd@z Thu Jan 1 00:00:00 1970 From: patchwork-bot+netdevbpf@kernel.org Date: Thu, 25 Nov 2021 16:00:10 +0000 Subject: [PATCH v2] mdio: aspeed: Fix "Link is Down" issue In-Reply-To: <20211125024432.15809-1-dylan_hung@aspeedtech.com> References: <20211125024432.15809-1-dylan_hung@aspeedtech.com> Message-ID: <163785601008.7926.14064362154729889685.git-patchwork-notify@kernel.org> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Thu, 25 Nov 2021 10:44:32 +0800 you wrote: > The issue happened randomly in runtime. The message "Link is Down" is > popped but soon it recovered to "Link is Up". > > The "Link is Down" results from the incorrect read data for reading the > PHY register via MDIO bus. The correct sequence for reading the data > shall be: > 1. fire the command > 2. wait for command done (this step was missing) > 3. wait for data idle > 4. read data from data register > > [...] Here is the summary with links: - [v2] mdio: aspeed: Fix "Link is Down" issue https://git.kernel.org/netdev/net/c/9dbe33cf371b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6CBCC433F5 for ; Thu, 25 Nov 2021 16:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=izyESUi5dnA6uMxZmR434Yq+oBLU7AMRQm8eWLkahRA=; b=UEaAXmUjMrWtXe Xi8GdMJRqJ9k0nGcXz99OwP7sDKSF01weFFecES0bEwBvh99snBkz2ppGvajjGYeQRr6tkfhfhN4C Mkzyx+hRrwqR2xrceAAShjIKBgDHT53oTi5N2YyfTQseHqHkydAktdllC1/jYfR2ZxAJjZOHoqFyh tQHaJ1r1QISfCQGFwcfZQRhNwZpIXpKrQJ94EngkToJls21WsN61zDrThRtAkph7nuF2rsDxYDW0S cdelOPreVqkztDg+/nfQH+VmL+LgxpxHMDDM8F+I7tEraSX2jBobIfseeKU17jwD8dTP3gRQ6RlRr B9Z0GSuBT9sT+IGKZnLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqHAq-008A0h-7m; Thu, 25 Nov 2021 16:00:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqHAR-0089nn-2c for linux-arm-kernel@lists.infradead.org; Thu, 25 Nov 2021 16:00:12 +0000 Received: by mail.kernel.org (Postfix) with ESMTPS id 236B66108E; Thu, 25 Nov 2021 16:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637856010; bh=ucYoul2wvLTG4PBO56hF4AxJWAGQbC8TJdZcAk422Ks=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ePD6MPCAjCTjr8QWwQYoks4TOCIjpPFBQQvPqPPsb/JcwATS6NHiA8K/5nqsaN5kV rjvQy1StCKoCq0IdZG1BeRZ4oy+rQ0exEEwN+HNnEtfPEgeJ+Im7evrQNnx7pyWL1a VJ3DmstgvES4ranJaEy9QbqZPozUIOW03yFGEdIbGsDcJ9e97j1r1QuoIxB+9YXXsT NaZFWbejIvCREg2Sid3PXBgxHUCXED2DwXmCtWpry3iF5r/kJHxoWa3Jxw/9+E7yZr +2dLbQ9dr374v8LDqL6ZKzV3mEhFZx1LEUWizLScI981xQ3dxNZfVY0txTdRneJJ9+ IcyHja+Gy5+fw== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 1624160A21; Thu, 25 Nov 2021 16:00:10 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [PATCH v2] mdio: aspeed: Fix "Link is Down" issue From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163785601008.7926.14064362154729889685.git-patchwork-notify@kernel.org> Date: Thu, 25 Nov 2021 16:00:10 +0000 References: <20211125024432.15809-1-dylan_hung@aspeedtech.com> In-Reply-To: <20211125024432.15809-1-dylan_hung@aspeedtech.com> To: Dylan Hung Cc: linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, andrew@aj.id.au, joel@jms.id.au, kuba@kernel.org, davem@davemloft.net, linux@armlinux.org.uk, hkallweit1@gmail.com, andrew@lunn.ch, BMC-SW@aspeedtech.com, stable@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211125_080011_184078_7ADF1933 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Thu, 25 Nov 2021 10:44:32 +0800 you wrote: > The issue happened randomly in runtime. The message "Link is Down" is > popped but soon it recovered to "Link is Up". > > The "Link is Down" results from the incorrect read data for reading the > PHY register via MDIO bus. The correct sequence for reading the data > shall be: > 1. fire the command > 2. wait for command done (this step was missing) > 3. wait for data idle > 4. read data from data register > > [...] Here is the summary with links: - [v2] mdio: aspeed: Fix "Link is Down" issue https://git.kernel.org/netdev/net/c/9dbe33cf371b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 740AFC433FE for ; Thu, 25 Nov 2021 16:02:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356344AbhKYQFW (ORCPT ); Thu, 25 Nov 2021 11:05:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:34830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbhKYQDV (ORCPT ); Thu, 25 Nov 2021 11:03:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id 236B66108E; Thu, 25 Nov 2021 16:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637856010; bh=ucYoul2wvLTG4PBO56hF4AxJWAGQbC8TJdZcAk422Ks=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ePD6MPCAjCTjr8QWwQYoks4TOCIjpPFBQQvPqPPsb/JcwATS6NHiA8K/5nqsaN5kV rjvQy1StCKoCq0IdZG1BeRZ4oy+rQ0exEEwN+HNnEtfPEgeJ+Im7evrQNnx7pyWL1a VJ3DmstgvES4ranJaEy9QbqZPozUIOW03yFGEdIbGsDcJ9e97j1r1QuoIxB+9YXXsT NaZFWbejIvCREg2Sid3PXBgxHUCXED2DwXmCtWpry3iF5r/kJHxoWa3Jxw/9+E7yZr +2dLbQ9dr374v8LDqL6ZKzV3mEhFZx1LEUWizLScI981xQ3dxNZfVY0txTdRneJJ9+ IcyHja+Gy5+fw== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 1624160A21; Thu, 25 Nov 2021 16:00:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] mdio: aspeed: Fix "Link is Down" issue From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163785601008.7926.14064362154729889685.git-patchwork-notify@kernel.org> Date: Thu, 25 Nov 2021 16:00:10 +0000 References: <20211125024432.15809-1-dylan_hung@aspeedtech.com> In-Reply-To: <20211125024432.15809-1-dylan_hung@aspeedtech.com> To: Dylan Hung Cc: linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, andrew@aj.id.au, joel@jms.id.au, kuba@kernel.org, davem@davemloft.net, linux@armlinux.org.uk, hkallweit1@gmail.com, andrew@lunn.ch, BMC-SW@aspeedtech.com, stable@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Thu, 25 Nov 2021 10:44:32 +0800 you wrote: > The issue happened randomly in runtime. The message "Link is Down" is > popped but soon it recovered to "Link is Up". > > The "Link is Down" results from the incorrect read data for reading the > PHY register via MDIO bus. The correct sequence for reading the data > shall be: > 1. fire the command > 2. wait for command done (this step was missing) > 3. wait for data idle > 4. read data from data register > > [...] Here is the summary with links: - [v2] mdio: aspeed: Fix "Link is Down" issue https://git.kernel.org/netdev/net/c/9dbe33cf371b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html