Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp525290imu; Tue, 27 Nov 2018 16:37:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/XGvlBnxTqiKpv1OJ+dsqXA3Pd0CljGe+Ny/YOhSanc1Q492ySTpunCManVbvKwyweov4qV X-Received: by 2002:a63:9402:: with SMTP id m2mr30268269pge.93.1543365453449; Tue, 27 Nov 2018 16:37:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543365453; cv=none; d=google.com; s=arc-20160816; b=JOHYE2N0fJJeA8Fizof4977ws9XTIpZbWZOon+OGxQ7npwmqB+vR7n5XGjvVw1ZdMl NjAVdmpdnSqubt5Zp+PmUp+2DTd75UQW2EgT/L8zvP1HpZ/hyw6UpncP6bZeNt4gfEza ggqG8Wpan+4XPr1k0lww03T1a1Hwehv+6D1pFHqPEQzM/1YK1I1h/28Ji8vp0iwZ9SK3 aiNX+yQnwO8GaytTBvnOZp0Zaa8kNnYXLrbsCB4aKddXIvUPUNUF3W98JPNtfe5vETdV x6lj4zOeDXWPoN6Z1apsb1fF6abEaco+JyTPtrSoOyv0QLsbAiPCJ8iEyokolEhxwXjO ottA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mTQhZreqpuPxzYXRH1hf+S6Fd0uPyK4KqwK7xu/Wj1M=; b=p7C1r4EJx1IjsK4KE5O1IEUwGd8ngxFX8Qz8KDPMk/PSUqSriNmQuP/ZA4vcJkNEc/ kZnxjrrUMoe8RDDE1t/lLqRTZUgve/5ohQdbAlaoFh9L7lMGD9SM75qL4BI7l4n+PuOk DIuX1YXbDCP2o8QZqtWUh7jTzUBdffgwgOz7PfTpHhvGgOBUttVRgxdgtt7quU/hQLZv jL3sFDPdVmH/1vivaVQ2J3n2AoaUk7tj08k/80RuakfYXRsBhaxxBhAjxOhNDGVtz7hp ZNEJOcoFpQgNrBmz/y3KE637EBcq+7fUKiNK6S+f9fVYdKXdp8IyO/i6nbheW//UU3Vm aJrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=zPE487lc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i29si5539427pgb.550.2018.11.27.16.37.17; Tue, 27 Nov 2018 16:37:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=zPE487lc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727144AbeK1Lep (ORCPT + 99 others); Wed, 28 Nov 2018 06:34:45 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:51703 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726445AbeK1Lep (ORCPT ); Wed, 28 Nov 2018 06:34:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=mTQhZreqpuPxzYXRH1hf+S6Fd0uPyK4KqwK7xu/Wj1M=; b=zPE487lcMeA6hF+3knn8P+SCVFP4I+5tDFPI0bvTg58yoaYVmKs+OkSngBY6Efya/auRlW38twSA+31LqwiVoLSzx3vYfJsq/NlS3cCqqiM594VRLu79cD6NxfbZZOQMPI/oXGjhNZ1oG1XJdW5L3LcvL2ghGFm3ZiOYEUmJ7TU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gRnoi-0000P2-2c; Wed, 28 Nov 2018 01:35:00 +0100 Date: Wed, 28 Nov 2018 01:35:00 +0100 From: Andrew Lunn To: Claudiu.Beznea@microchip.com Cc: harinik@xilinx.com, harini.katakam@xilinx.com, Nicolas.Ferre@microchip.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, michal.simek@xilinx.com, shubhrajyoti.datta@xilinx.com, sai.pavan.boddu@xilinx.com Subject: Re: [PATCH v2 1/4] net: macb: Check MDIO state before read/write and use timeouts Message-ID: <20181128003500.GD26096@lunn.ch> References: <1543216072-9623-1-git-send-email-harini.katakam@xilinx.com> <1543216072-9623-2-git-send-email-harini.katakam@xilinx.com> <5de882e3-65ac-7ff1-bb55-7537666dfc77@microchip.com> <20181126145210.GD12116@lunn.ch> <74937246-dc7d-db1c-df00-5db856192eac@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74937246-dc7d-db1c-df00-5db856192eac@microchip.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Then, do you think it would be better to have a new API part of struct > mii_bus that drivers should register so that, the mii core to check if the > bus is idle before lunching a new request? I'm not sure that actually brings anything useful. The core does not benefit from it, and it does not make the driver simpler. Andrew