Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4502324pxb; Tue, 2 Nov 2021 10:44:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA0/QI7nb9/DsXiMDVjJw2s1pmhaXJ6MQGrnBhCyfj+EWaNep/K7uvZSVwT9PRUvMg+1ls X-Received: by 2002:a92:d74f:: with SMTP id e15mr26262059ilq.181.1635875041909; Tue, 02 Nov 2021 10:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635875041; cv=none; d=google.com; s=arc-20160816; b=ziAGDVqRc1HyupfBsQED1bJhRLqw0zpa3tkENCCfVL8D0ZdRrmVbsOlaYzD52Vztx7 rmGt4FUDYw5hGGiYmsW0CR+OzNBd3koFHbVTnXLSEcJmJUDb63DkaI81xGrper+yFEBC OqxC/m13N46tAUPTAi4wJQV6TX3dNt7YBpKTCkw9TNCPjGerU4Z2H9XsUY01KR2/hC4l o7E2N3u3oUcdXKevgZBdRU5rSRBXhq0/JLA57zdhqfmCwoJc8Hc7PX79VKTXOq288Lht PIt4c0hUb3zB9uZCJ0aKKszduYqGT5z5MrwQ+1ZlqF2vbLC20ScfkXm+1kezok8HgqXx WiNQ== 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=N3bAGKj17dhulSsI0ZUBKwInlPRr6U/3HY9amRyD0lc=; b=V9fRj0OusxIRlJqHYZgG05x2nRoWheDSuW7YQkW6e86Js20x6xEp8LY0ceGAMzM7gV yXsv0R0pAU2bd/z58OAa2m7lJOEFjtA2z4Esy9ScD4RvrcV4I17K9nml7EBO35Vk3h+I SuwNqrAbwCkGNW2Yx2f6EI29j7rywGZmt95TBcEYKLD0fgE1gdGwJ0HoF5kXnMXkCDye QQq3wB+HMjjLyeMHgZnFCxP/gpt2Ug5/kCZJO488/JTRY61UYOYTYG97YACoYYnVa20a O9AYl05N2nobhkEi0gOBvLhMz5xg9hHt1cuM1GXVIh7WY++yNQZhcW1BcHz+53zlatFI ZcUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=xiYs7m7E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c30si19224649jaf.100.2021.11.02.10.43.46; Tue, 02 Nov 2021 10:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=xiYs7m7E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234557AbhKBRoi (ORCPT + 99 others); Tue, 2 Nov 2021 13:44:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231702AbhKBRoh (ORCPT ); Tue, 2 Nov 2021 13:44:37 -0400 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 47B79C061203; Tue, 2 Nov 2021 10:42:02 -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=N3bAGKj17dhulSsI0ZUBKwInlPRr6U/3HY9amRyD0lc=; b=xiYs7m7EKOK18NW6IWhhzz6Tpa WmZj5EzZei9J4nK3z6zhRMKM+fJ3ZYIwbKJzWsXtxYDyBH20wvGQeyQVZXs1isX2jySsdPsGCEkpw oBMzoscAkM4orJCm/AjL7GS3KKLvIMR9HoLPyTkDsQMUce8HijZNUwGd9UmvGW9cx9qPe/a/Ud82s PL9hZRLV6kaE8SSy3G/9S8HDMYsqlL1HCqdYE+tgeorL7vkXCiJtKfi4LyX9Kbpm7cRA0eCQfv3i8 DVm2JgvPv6JymQ1/fHjTgn3Y11q4SjeVL992THSgk+nitRLm2jy2mDKN3qkbw14D/x4etL4cw1wVI TQEMhXZg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55444) 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 1mhxnK-000448-Tl; Tue, 02 Nov 2021 17:41:58 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mhxnJ-0005ah-CX; Tue, 02 Nov 2021 17:41:57 +0000 Date: Tue, 2 Nov 2021 17:41:57 +0000 From: "Russell King (Oracle)" To: Grygorii Strashko Cc: Andrew Lunn , "David S. Miller" , netdev@vger.kernel.org, Jakub Kicinski , Heiner Kallweit , Florian Fainelli , linux-kernel@vger.kernel.org, Vignesh Raghavendra Subject: Re: [RFC PATCH] net: phy/mdio: enable mmd indirect access through phy_mii_ioctl() Message-ID: References: <20211101182859.24073-1-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 02, 2021 at 07:19:46PM +0200, Grygorii Strashko wrote: > It would require MDIO bus lock, which is not a solution, > or some sort of batch processing, like for mmd: > w reg1 val1 > w reg2 val2 > w reg1 val3 > r reg2 > > What Kernel interface do you have in mind? That is roughly what I was thinking, but Andrew has basically said no to it. > Sry, but I have to note that demand for this become terribly high, min two pings in months Feel free to continue demanding it, but it seems that at least two of the phylib maintainers are in agreement that providing generic emulation of C45 accesses in kernel space is just not going to happen. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!