Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4572287rwd; Tue, 23 May 2023 09:21:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4a5pbXXTL70Zk+de18Ka0l2X3cJfaVZqlz+O7lc7HSRkIMcLenEFUkCSY4XvqTv7oZYRkr X-Received: by 2002:a17:90b:4b51:b0:255:8a12:241b with SMTP id mi17-20020a17090b4b5100b002558a12241bmr4294044pjb.22.1684858888474; Tue, 23 May 2023 09:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684858888; cv=none; d=google.com; s=arc-20160816; b=OPk1Ir+RMGdKn7hqT1hxGvw9eOkWuQgKTHb31m2aCaNhPGh0A3/v1zrqQnX/P4lrK5 C88B6YCTpzbyA8cbGBvXF7YYtFONGcKwx0Eg1Nfi8BnwE7v7MPhIWiYB8vJVnGjofcyb cyW0z+yIRX82UhtK8wcPpV7Wuo8+IVHM0OUaIVJTBRxSwNScW880VyBEiQql6X+jp2vl d+pveoMsmkgdt7Wc4qN9ffCnbr/KrciU2R9c4yTHhyUSt+LtCxDHxdiXyBXZje5y4GmJ I1qf8KDxtGnt4W9QDVGpAWe4TfqbCAJ0SU+x99L7NrPUstPbO/+EUEX91R/OfFNdA4i8 bioA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=1+dt2wcWtDRFL60DFDtDsXIf3i7e1mxDA+qh9iBLVkk=; b=UdQwbFOJOkjTaEgaxkuKOCuYGQaW/OOTS6ET7pezm7yIdTnW5DW8ZOFhfdm2yoU4yK UHQY3mP8QxTXScf2w0ccjjSmj4im9EopXFb9Wjnt8Z8SoXjJFbyg/JyMsEsQ5wO6uKoQ a35iXO8KGZC/h+T9wjl4an3mqOagakjaNcOLpY17nxwx2MRz5PmXTeUQQnwoVkE0Q4Mi +qGB7yRXRetDL1GX7Ize3/iIE4qoTjlhZhVctVjU/Pos9Ad54M16QF+iHgHAxqs67wv8 1SbFoyonWfCY93FMXuRs9G/Hp9xLgApMfWZBz8QNmkZWrap4pqzbeOkJwgvTBy5u5uf0 epYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=baVQPajy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a63db58000000b0053007fe33aesi4893957pgi.409.2023.05.23.09.21.16; Tue, 23 May 2023 09:21:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=baVQPajy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233974AbjEWPpo (ORCPT + 99 others); Tue, 23 May 2023 11:45:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230207AbjEWPpm (ORCPT ); Tue, 23 May 2023 11:45:42 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A366126; Tue, 23 May 2023 08:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=1+dt2wcWtDRFL60DFDtDsXIf3i7e1mxDA+qh9iBLVkk=; b=baVQPajyuli0BQmtdyxm0/yqn4 jb/zDIcl/uV1XAlNc7BcmaPKyzQvDdfdOxSrNr/bhmqWa+PO4jiNXjqMBSAOvLgdMhMdtAxMTBHEH ECzq9b571tu+SYvKy6yDK7aBdWQ7pty+ANiy29dQxOz1v5hbaiotvQTqwcwYzmLPCvZZGFVxn0DId ZUgUgwswufuWgntJKcJ4aEkDFXsXUP9qSrb8RAElWWbxf+zAjQ8t5mQNPC97/DVJb1tTGIBF9Hv/x CyxO8ko+9VXQUcxXUKvf6mxh0jX9wnywzOnEfkhBP3PMQcSImRTURcUX8MUKwPk5MUK5b2cf5s1Qg svIBmmwQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34660) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q1U0H-0000eb-G5; Tue, 23 May 2023 16:32:49 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1q1U0C-0000gq-OR; Tue, 23 May 2023 16:32:44 +0100 Date: Tue, 23 May 2023 16:32:44 +0100 From: "Russell King (Oracle)" To: David Epping Cc: Vladimir Oltean , Andrew Lunn , Heiner Kallweit , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net v3 3/4] net: phy: mscc: remove unnecessary phydev locking Message-ID: References: <20230523153108.18548-1-david.epping@missinglinkelectronics.com> <20230523153108.18548-4-david.epping@missinglinkelectronics.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230523153108.18548-4-david.epping@missinglinkelectronics.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 23, 2023 at 05:31:07PM +0200, David Epping wrote: > Holding the struct phy_device (phydev) lock is unnecessary when > accessing phydev->interface in the PHY driver .config_init method, > which is the only place that vsc85xx_rgmii_set_skews() is called from. > > The phy_modify_paged() function implements required MDIO bus level > locking, which can not be achieved by a phydev lock. > > Signed-off-by: David Epping Reviewed-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!