From: Steen Hegelund Subject: Re: [PATCH net] mscc: Register poll timeout should be wall time not attempts Date: Thu, 20 Dec 2018 12:11:50 +0100 Message-ID: <20181220111149.ht4nt7jtgilysnk7@soft-dev13.dk.vitesse.com> References: <20181220090816.12764-1-steen.hegelund@microchip.com> <20181220103150.GD13180@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: To: Andrew Lunn Return-path: Received: from esa4.microchip.iphmx.com ([68.232.154.123]:47118 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbeLTLLJ (ORCPT ); Thu, 20 Dec 2018 06:11:09 -0500 Content-Disposition: inline In-Reply-To: <20181220103150.GD13180@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: The 12/20/2018 11:31, Andrew Lunn wrote: > On Thu, Dec 20, 2018 at 10:08:16AM +0100, Steen Hegelund wrote: > > When doing indirect access in the Ocelot chip, a command is setup, > > issued and then we need to poll until the result is ready. The polling > > timeout is specified in milliseconds in the datasheet and not in > > register access attempts. > > > > Signed-off-by: Steen Hegelund > > Hi Steen > > Have you seen real issues with this code? You have marked this for > net, indicating it is a bug fix. If it is a real fix, please provide a > fixes: tag. > > Thanks > Andrew Hi Andrew, It is not a bug on the currently supported platform, but we observed that the code does not work properly on other platforms that we want to support as the timing requirements there are different. So maybe this is rather an improvement than a fix... Should this rather go to net-next? -- BR Steen