Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp212048rdb; Tue, 5 Dec 2023 03:27:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+e3ICzGFzmXYtY13iyJG21rIeMiPl8/gnOP41REf9GLn56EjJ5D1MEXtd9AOvWqLxRzfE X-Received: by 2002:a05:6358:9392:b0:16e:5deb:1df6 with SMTP id h18-20020a056358939200b0016e5deb1df6mr3500286rwb.31.1701775654498; Tue, 05 Dec 2023 03:27:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701775654; cv=none; d=google.com; s=arc-20160816; b=BGWQ2asSsF6nfx6mA8ZN9+AQ9l9+LunycoPfjmQ2/SGele8OplwGuKN6ncGkaHBPpm 933BcXi23QMwZalZEguPFIoiRspDGcsP/FK9ADRXJfobUfKjErTOGOw4qZZyH8/R3sDn jfZigzQd816itYkyZcLgRW3Ke2e+RE1z85mqjdaZmPhYVK4RHqHZVlZdhjJ6XrqmN+EU mxBCL6D6ACzLT3C1fmVJHxaE3/syl3JvNYjYobgA/Fqe/0l6clwz4IFtt7qlNLIUo65a O4r+5Ho2IEWnG6FjHORmJmOMfg1NzpF4c4no2sH59JUKkydD4hKbZkuov9fBZ+ahdCRT P9SQ== 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=ixJ2HNTOflVEtkIw9lPsvgsuTF/SutHy/lni6jq+Myc=; fh=0CjR/P59gkS3RoA1MzYD3TAB1GMUolY2z17tQE+puF0=; b=x4vwLFpXEW5WHs+CITIBwAiCE6up9bbhusdWQpppVvfjq/PejX5WWzR74frAMLvyJe knEH8YVN4ZU+jUggW2VXnnRizza6uGt0KN4a8IbEHYYO3rDfDmYRmay8RLl4BGGO0XZQ SPLfC9kQcl/hjVSkdBUpX9u+XvSPzz+1iwGA41ZV/elel6wjKyeYcoHRBIns+DlVqLMz meIinyyMeSDOdMGvhgHmuglZxlw0jxFzTc2KVQyq9igIIKFuIVO93A+P70dbJofZrx1U zA2xvwfhFTlRnEd6EKWpf26HrwWYzBhNdzrV57RPj++zXcvsi2X7xWm1I9IUwsXMvV1O gaew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=VGsUfrlk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id be10-20020a656e4a000000b005be1ee5bea2si9910119pgb.374.2023.12.05.03.27.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:27:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=VGsUfrlk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6300980C0387; Tue, 5 Dec 2023 03:27:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235690AbjLEL1U (ORCPT + 99 others); Tue, 5 Dec 2023 06:27:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235683AbjLEL1I (ORCPT ); Tue, 5 Dec 2023 06:27:08 -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 2C92A10CF; Tue, 5 Dec 2023 03:23:32 -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=ixJ2HNTOflVEtkIw9lPsvgsuTF/SutHy/lni6jq+Myc=; b=VGsUfrlkXC8ZAyffXZfVwcCK+8 DQgoZkbr0CEW7jsTuw1iqVIrncKemqyj6pLzVxB+hTGKPXkYwJZfZc+kN6Bs/NvR7kW+kXH7NLTQr F5dcMBnv3p5gVQONwXCpvP5ihezZNLsrTY183aXqPu5wGuX1BcSDc08SVXf4p4LbFeYmWs6OGiohl gdrHylSYM2T+21z66PWK7vsB/WA3lcEhylu5b5o+gTDOfbT8YnZVRZ/ONo9giZZw/cISb+U7/LHDJ KkYMqAnTvnjMucWpxOOz9vryxqz2wOjG5rVdXYiLQNWgiwSh/4UdKAZx9BMXX2citboGRoHZz8nWA 0osNnBWg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55396) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rATVq-0006gB-1w; Tue, 05 Dec 2023 11:22:50 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rATVq-0001fI-HX; Tue, 05 Dec 2023 11:22:50 +0000 Date: Tue, 5 Dec 2023 11:22:50 +0000 From: "Russell King (Oracle)" To: Serge Semin Cc: Andrew Lunn , Heiner Kallweit , Alexandre Torgue , Jose Abreu , Jose Abreu , Maxime Chevallier , Tomer Maimon , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , openbmc@lists.ozlabs.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 05/16] net: pcs: xpcs: Move native device ID macro to linux/pcs/pcs-xpcs.h Message-ID: References: <20231205103559.9605-1-fancer.lancer@gmail.com> <20231205103559.9605-6-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 03:27:33 -0800 (PST) On Tue, Dec 05, 2023 at 02:14:34PM +0300, Serge Semin wrote: > On Tue, Dec 05, 2023 at 10:45:34AM +0000, Russell King (Oracle) wrote: > > On Tue, Dec 05, 2023 at 01:35:26PM +0300, Serge Semin wrote: > > > Generic MDIO-device driver will support setting a custom device ID for the > > > particular MDIO-device. > > > > Why future tense? I don't see anything later in this patch set adding > > this. > > After the next patch is applied > [PATCH net-next 10/16] net: pcs: xpcs: Add generic DW XPCS MDIO-device support > the DW XPCS driver _will_ support setting custom IDs based on the > platform data and the DT compatibles. What is confusing is that the sentence makes it sound like it's some generic driver that can be used for any PCS, whereas in reality it is _this_ XPCS driver which is not generic. "This driver will support setting a custom device ID in a future patch." or explicitly state the summary line of the patch concerned so one can refer to it. Future references are difficult to find whether they're in email and especially once they're merged into git. > It can be used for instance to > fix the already available SJ1105 and SJ1110 MDIO bus implementations, > so instead of substituting the XPCS IDs on the PHYSID CSR reads the > driver could just pass the device ID and PMA ID via the device > platform data. > > If my patch log text looks unclear anyway, just say so. I'll change it > accordingly. I guess it would be enough to say that moving is required > just to collect all the IDs in a single place. You need to adjust your attitude - I did exactly that. There was something which I didn't understand, so I raised the issue. Sorry for spotting a problem, but do you always get arsey when a reviewer picks up on something wrong? If that's your attitude, then for this entire series: NAK. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!