Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751883AbdG1LIs (ORCPT ); Fri, 28 Jul 2017 07:08:48 -0400 Received: from aibo.runbox.com ([91.220.196.211]:55974 "EHLO aibo.runbox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751764AbdG1LIq (ORCPT ); Fri, 28 Jul 2017 07:08:46 -0400 Subject: Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface To: Andrew Lunn Cc: corbet@lwn.net, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, davem@davemloft.net, kernel@pengutronix.de, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20170725161553.30147-1-privat@egil-hjelmeland.no> <20170725161553.30147-2-privat@egil-hjelmeland.no> <20170726165550.GN12049@lunn.ch> From: Egil Hjelmeland Message-ID: <4e36827f-fdcc-d55a-3559-e080883c715c@egil-hjelmeland.no> Date: Fri, 28 Jul 2017 13:08:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170726165550.GN12049@lunn.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 360 Lines: 11 On 26. juli 2017 18:55, Andrew Lunn wrote: > On Tue, Jul 25, 2017 at 06:15:44PM +0200, Egil Hjelmeland wrote: > It is better to use mdiobus_read/write or if you are nesting mdio > busses, mdiobus_read_nested/mdiobus_write_nested. Please test this > code with lockdep enabled. > I have CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_MUTEXES. Should I enable more? Egil