Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7723FC433E0 for ; Sun, 24 May 2020 16:52:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 569A62073B for ; Sun, 24 May 2020 16:52:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Ql5EjaYE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387805AbgEXQwg (ORCPT ); Sun, 24 May 2020 12:52:36 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:47088 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387559AbgEXQwg (ORCPT ); Sun, 24 May 2020 12:52:36 -0400 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:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6Y+2xtbXK5az5id6LzhRANfNx2LA7ASiLkT4fWqMtXA=; b=Ql5EjaYEy0tDScBct5GQhjrEUn KcXEAMhZAYri/5iOdUk97QoAa65dvXyiEU84gPeCOn29mmiggcOW0qP5wBJy456YnygSBeYq9x893 Tf5hFu0hPttiMqs6u4Abt8LskqWrO7ocjndRcF3ltQgjPheaNLiUdrnD8qRHvaCTISXo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jctrU-0038L1-Lc; Sun, 24 May 2020 18:52:32 +0200 Date: Sun, 24 May 2020 18:52:32 +0200 From: Andrew Lunn To: David Miller Cc: netdev , Florian Fainelli , Heiner Kallweit , Chris Healy , Michal Kubecek Subject: Re: [PATCH v2 net-next 6/6] net : phy: marvell: Speedup TDR data retrieval by only changing page once Message-ID: <20200524165232.GA746862@lunn.ch> References: <20200524152747.745893-1-andrew@lunn.ch> <20200524152747.745893-7-andrew@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200524152747.745893-7-andrew@lunn.ch> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, May 24, 2020 at 05:27:46PM +0200, Andrew Lunn wrote: > Getting the TDR data requires a large number of MDIO bus > transactions. The number can however be reduced if the page is only > changed once. Add the needed locking to allow this, and make use of > unlocked read/write methods where needed. I've somehow squashed two patches together to from this patch. Which then explains the 7/6 patch. Please review the rest of the patches, i will collect comments, and then repost with this fixed. Andrew