From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: fs_enet: do not call phy_stop() in interrupts Date: Wed, 17 Jan 2018 15:44:45 -0500 (EST) Message-ID: <20180117.154445.283511690122382070.davem@davemloft.net> References: <20180116093305.A04A26EEC5@localhost.localdomain> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: pantelis.antoniou@gmail.com, vbordug@ru.mvista.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, netdev@vger.kernel.org To: christophe.leroy@c-s.fr Return-path: In-Reply-To: <20180116093305.A04A26EEC5@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Christophe Leroy Date: Tue, 16 Jan 2018 10:33:05 +0100 (CET) > In case of TX timeout, fs_timeout() calls phy_stop(), which > triggers the following BUG_ON() as we are in interrupt. ... > This patch moves fs_timeout() actions into an async worker. > > Fixes: commit 48257c4f168e5 ("Add fs_enet ethernet network driver, for several embedded platforms") > Signed-off-by: Christophe Leroy Applied, thank you.