Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp583768rwl; Sat, 25 Mar 2023 07:27:05 -0700 (PDT) X-Google-Smtp-Source: AKy350aCqWYb5h8JXLmwTtRi1tvUK3bpTP6uBRyKossI1rcbWMga+Etm+sNAU5M2wQCOybc4J0NV X-Received: by 2002:aa7:c859:0:b0:4fb:78a0:eabe with SMTP id g25-20020aa7c859000000b004fb78a0eabemr6566340edt.14.1679754425651; Sat, 25 Mar 2023 07:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679754425; cv=none; d=google.com; s=arc-20160816; b=QCyF0UOxM0UesyAECI5jUioUoBFcsvcBerCA9XDwI2MQxcwQBlQa+q+Jpux4tiIfZx SIpswEpeju+68+SOd4rh6OeiLGY9kSMwdZTw6WlkAATZdmqLdkeh7hLYfIOYXAaOTccl e4uCVV2XoMYemLZXxErRkHWrBL/VT9ge17Pshx2lJYh304apedBiNeIF7UlcNw5SQisp 886ahl0QboFIV0gXmA8lIEMDGtcSN5wZPgVdPTJATjnXfMG8JfzCu9+9HLu5zElCJ262 umU6D6eBd5B46Y2ahuNiQwqRlYodMWbboBDk9htRDtpjiSDC2RfAh4apFiUDc9Be5ZHO GLcg== 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=hGPPOu6tzPZecPZ2YOGmeFoFk/cqWEJCj6purl1gZTQ=; b=N2G3vSClqkm4X7f2c8DmgOdGAY+MBKXvCGdx/Hxa6YCQJlPoJCeZj7GpqjbdDsjiEh z7QUZrL7ZvRmuBOnXGDKxosst3mpY4OnMJ3cTlzGFymvRjGaa7et4pFQ2MRISSPeCBmj 20+W3qU7Z2mZqEnVQkDZw/DLnvxbgnmF4YShO1EifbAM6QUSjdfZuM7AjFjulbq6HdbK qKYRkjZT8tRIl7AOWU91iUlmj2yVhPJBml4hSatnuwfYyVoMA7ZBo34AtU/ZI6jiWsTW ggq3yIJ/JgBQtRLv+NqPxya7uJFCB2GyXHojPcF6CFoxTG/fxTww3LxUzI26nwemgbQO 6JJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=aSTuT1mv; 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 p11-20020a170906228b00b0093defbd6296si4401353eja.1053.2023.03.25.07.26.41; Sat, 25 Mar 2023 07:27:05 -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=aSTuT1mv; 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 S230354AbjCYO0g (ORCPT + 99 others); Sat, 25 Mar 2023 10:26:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjCYO0f (ORCPT ); Sat, 25 Mar 2023 10:26:35 -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 99118132DE; Sat, 25 Mar 2023 07:26:34 -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=hGPPOu6tzPZecPZ2YOGmeFoFk/cqWEJCj6purl1gZTQ=; b=aSTuT1mvx73Aum4BAWiRtF3jNX aqHt/gHyo6oT18qm/3YrGqajtPCETKZI7B9jGY7MXyjQ3Yj0BN+Cc2NOFO6P/Ix2tw+u34GR7rX1C QhFe/Oye5PEvG0j6nSFbtWRNeYNXIcaUE/BQVXMme3pXLw4N1OsQ+ntu3/6ueJYscFjf1UbFsOYD4 Qu/wyP8sVvx4QAUpuw8i+Ifo9TxKNt37SRvSHVKKyPgIgOcYfF7qORDMhiVpSN4vdg8CUhKKsVq82 I7qDCV5Z+DArT34eIoeerMe+6u1q1FcjmNNjNpCN5zKXSGiGI/+wCjm6oweobVQVDUSwJTszG/VEw 43/obtJQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:32884) 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 1pg4qd-0000ac-NA; Sat, 25 Mar 2023 14:26:25 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1pg4qa-0003WK-EM; Sat, 25 Mar 2023 14:26:20 +0000 Date: Sat, 25 Mar 2023 14:26:20 +0000 From: "Russell King (Oracle)" To: Vladimir Oltean Cc: Vladimir Oltean , Oleksij Rempel , netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Woojung Huh , UNGLinuxDriver@microchip.com, Arun Ramadoss , Marek Vasut , Oleksij Rempel , Michael Grzeschik , Ben Hutchings , linux-kernel@vger.kernel.org Subject: Re: [RFC/RFT PATCH net-next 2/4] net: dsa: microchip: partial conversion to regfields API for KSZ8795 (WIP) Message-ID: References: <20230316161250.3286055-1-vladimir.oltean@nxp.com> <20230316161250.3286055-3-vladimir.oltean@nxp.com> <20230317094629.nryf6qkuxp4nisul@skbuf> <20230317114646.GA15269@pengutronix.de> <20230317125022.ujbnwf2k5uvhyx53@skbuf> <20230317132140.GB15269@pengutronix.de> <20230317140722.wtobrtpgazutykaj@skbuf> <20230325121655.oz3afcempaaniqc4@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230325121655.oz3afcempaaniqc4@skbuf> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Sat, Mar 25, 2023 at 02:16:55PM +0200, Vladimir Oltean wrote: > Russell, you've expressed that this driver is "vile" for permitting > access to the same hardware register through 2 different ksz8795_regs[] > elements. Does the approach used in this patch set address your concerns, > or in other words, do you believe is it worth extending the conversion > to the KSZ switches that other people can test, such that the entire > driver ultimately benefits from the conversion? Thanks for pointing it out - I'll look at it next week. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!