From: David Miller Subject: Re: [PATCH net-next] mscc: Register poll timeout should be wall time not attempts Date: Thu, 20 Dec 2018 16:40:30 -0800 (PST) Message-ID: <20181220.164030.123760965471726524.davem@davemloft.net> References: <20181220131631.5520-1-steen.hegelund@microchip.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, alexandre.belloni@bootlin.com To: steen.hegelund@microchip.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:35906 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730351AbeLUAkb (ORCPT ); Thu, 20 Dec 2018 19:40:31 -0500 In-Reply-To: <20181220131631.5520-1-steen.hegelund@microchip.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Steen Hegelund Date: Thu, 20 Dec 2018 14:16:31 +0100 > 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. > 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. > > Signed-off-by: Steen Hegelund Applied with subsystem prefix adjusted as per Florian's feedback.