Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5400437rdb; Wed, 13 Dec 2023 07:40:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGCoFlqWxqPArua3tFwYKyUgDtXmWaV7nWZluQlPp/IYGQAprF/kOYYJnkeU3ydOIS13kMw X-Received: by 2002:a17:90a:16d7:b0:28a:ea6f:9649 with SMTP id y23-20020a17090a16d700b0028aea6f9649mr281605pje.94.1702482048894; Wed, 13 Dec 2023 07:40:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702482048; cv=none; d=google.com; s=arc-20160816; b=Y3+Xv030BQK0qL2yPNwHEjr33eaUr4IU2ohrvX4YSi9MPl1v+TMmJBkM1reraX00ep JCAxeotzI5eyZ+zAXlrZGjUucj4e5TAC0A1/d/gjUD2yL7JOQOhEGIs6WaVXF0myuvzj SYf63x28QQof51I1cyza/2syLNixpd7gHzOy+4f1QX9u12XDLKByIUFSDe8pSVt7GwkR Vna0FrfN9ZUWQieeFlwskVnouOlNG8m3YJnVhV5haZ//9yoY7UXOriz87sHWpBkktX+Y G1kJm1lTWMF4t7ktayHeI04NQdeL0BvYVik2W37SvbOJlx8+Q+xE5fuhIqoDVeebPdt0 EJXQ== 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=fgEk9LMNVUaeThSQwdJHU30F2t0A2/iyhxXKmlomGTg=; fh=ZUIGhA6eww0lpdXy5u6KSD0KEo5uW3E3cR6Ghf4MiIE=; b=RAm0rStK8hinoAVhpsm5uZ+Mkua3OAbTydiHuxFkmYWIYaT4WqPqMCA+2P4DK8i5iB gqaOpscWj5K2gBVPAzCyT7T4o3JRpRLTSt6pWUEmkmo0lVqC64kudpiDie3mHwPQH69V pfSkygILe9q20W1PPZXdKiQf36ltsgVyVU08zYYHJjpRwcqosoo04f5EhHuGdPyF1C6i DE5Yxak1nHk22xystSY+YzQgoUWG/PXsc90WMdv/Lbi43x9rq6Tmj0EAWWeMwQCzSwHe vg5najJYtC0DtGhYCCCf0GyPkQNSeCzZQsPLg5JL7kgSpuBHdpvY2lBmKKEm9S3TSRd1 t/aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Xadg9aAo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id c20-20020a17090a8d1400b002865160d522si11027044pjo.115.2023.12.13.07.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:40:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=Xadg9aAo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id A76F5807DE31; Wed, 13 Dec 2023 07:40:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442245AbjLMPj6 (ORCPT + 99 others); Wed, 13 Dec 2023 10:39:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442417AbjLMPjr (ORCPT ); Wed, 13 Dec 2023 10:39:47 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D4AE12F; Wed, 13 Dec 2023 07:39:47 -0800 (PST) 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=fgEk9LMNVUaeThSQwdJHU30F2t0A2/iyhxXKmlomGTg=; b=Xadg9aAo392pv0nFRr7P22NzJS 8TdXarqBjOfZFOmuoat7VbKd67RnUu3iPITSdHzi6BoQm39R4zSeGbV7MFilubdW/ARgY0e8H1fh6 UrtoQ00+pACWnjevBMCEej6O2mC6VI7lqjKjr2UxeKNf8vx2t5dGpPdOpp9UgfGeyLtbYq5UGu2ik udZ+d4OACU+rRdY0Rk5cKlALXhcXYC9z27v25bBkViHxQGABM3uqCHDSo0KqYbbxJ04887Kbwpfti 0Gp3yGn2hQMtxrs/LsUJF1Og9wOBbd+ngreQ61cShlleOPudfqHrZDjBvzoae3X0BaBg/whlHQs0C ki8BItsQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:43346) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rDRKi-0000AY-38; Wed, 13 Dec 2023 15:39:37 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rDRKk-0001cO-PC; Wed, 13 Dec 2023 15:39:38 +0000 Date: Wed, 13 Dec 2023 15:39:38 +0000 From: "Russell King (Oracle)" To: Christian Marangi Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , David Epping , Harini Katakam , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH v6 2/3] net: phy: restructure __phy_write/read_mmd to helper and phydev user Message-ID: References: <20231213105730.1731-1-ansuelsmth@gmail.com> <20231213105730.1731-2-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213105730.1731-2-ansuelsmth@gmail.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 07:40:11 -0800 (PST) On Wed, Dec 13, 2023 at 11:57:29AM +0100, Christian Marangi wrote: > Restructure phy_write_mmd and phy_read_mmd to implement generic helper > for direct mdiobus access for mmd and use these helper for phydev user. > > This is needed in preparation of PHY package API that requires generic > access to the mdiobus and are deatched from phydev struct but instead > access them based on PHY package base_addr and offsets. > > Signed-off-by: Christian Marangi 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!