Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16823102rwd; Mon, 26 Jun 2023 16:01:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56ShveoHioJfisAqU6/sbN8rxnOFnZwWRI8IQs7wsvxN2ptixdpteFIRQ4q5+7EEtI6vfj X-Received: by 2002:a17:906:fe0b:b0:96a:3f29:40d9 with SMTP id wy11-20020a170906fe0b00b0096a3f2940d9mr26542448ejb.25.1687820517977; Mon, 26 Jun 2023 16:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687820517; cv=none; d=google.com; s=arc-20160816; b=poHCGQIu1hgnKTfVF5C/lGxB40Dwj/UYW8PUVO+QP+OxFrtkYqyF+1hdCLEdgF0Tx1 SzDrN9yc64tCFsiBZbSUHek9d5kSOtZj6puMetapgS81LCqsJZk0fH1pEitO0WBv/q+v 9xtKA18Lj7cW/iQ1FTzywE3NE0Yg9L+Y3VHE9LRsJjRAxVEMDOmA+RatYFaAs0uiA0Sh hxyTAXXUClIitWB/7E0LOSUjsMc50fRyxDmwprrvOp9OhrxLURYno190RWXvr109U/Yo kGjjL0rGd9swdzg4DNh1z11mDLmFf11xmnTHVGs8qt9MqZmghNvsHm04s3PtaVljrPbW qt0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XEFAA2gDkBPNK5+f6P7/QUuUIhTBpSxnJII7HREQcf4=; fh=PXwTWqUlzbQ0LVRr7rq/Mqf+NuTjZZBnp+sV2ovMS/k=; b=MAnB1WckpFyWf92nYUb6WtBXc+09kvFx8LOdbrjANmOKojFa+Dfr0HLHyTc/GqqaY+ ZikZKHhB3KfBn8Wf6Z76MJecTXdiS0TYXBfeTMiGyWRPkVoWiEbQwkf8R9AUikPLtmjg gb3Dp8h/dxPP6/bWxJqol8O2oOBM9YyCGZ5yucugAUsTwaUXXVD0tRkGRh4cnD/yEoce iA65gN/5H2LW17TP9ppxGg9gctTEPlFkvHvT+CH7b2EZd0TGzZObA3eR7Nab6T+lfWcW tgDYju9RcKkWZ3xR/Xjh7t9Ud0pdRvVMxyI4+XXtwBguXmNExojrSdHeFBZUfbMeg9cs HKVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=YLrQte4c; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lh22-20020a170906f8d600b0098897c46e08si3211269ejb.987.2023.06.26.16.01.31; Mon, 26 Jun 2023 16:01:57 -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=pass header.i=@gmail.com header.s=20221208 header.b=YLrQte4c; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229970AbjFZWmv (ORCPT + 99 others); Mon, 26 Jun 2023 18:42:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbjFZWmu (ORCPT ); Mon, 26 Jun 2023 18:42:50 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FEB9BD; Mon, 26 Jun 2023 15:42:47 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-98e25fa6f5bso359022666b.3; Mon, 26 Jun 2023 15:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687819366; x=1690411366; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=XEFAA2gDkBPNK5+f6P7/QUuUIhTBpSxnJII7HREQcf4=; b=YLrQte4c8sCVsgfT+rkj3HZoftvrYZKLN/SZ6yN9wgOuBxe+zMEt4WwOwbqmAjztzL HBFOCy1Pkg/8XEcPMbRnQPZ2NF3GerJ3CNYuJACzUxFjHAhSB7gqmkHoQ3/0+tqfnXG/ P0vWBJ/86T6KXAa6vO2pMGmjjpssAiY8h5xD4wCz3tOhfCu/4kCi/W/h7LmyNSP30xLF GJrz/W6jX/mzMAIjrECcLKoKwTVZSJtcxiQaCMzWNFAhCxJcv+3nV+dzCVuBpLtsnJhE 0kxlly/Ni182qSGQZ6RbR2navv0B4bUZtPzBI9tp2xUO0NP1ldUc4QO+EAFO3Hc39Knj KVww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687819366; x=1690411366; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XEFAA2gDkBPNK5+f6P7/QUuUIhTBpSxnJII7HREQcf4=; b=ExWIix47ESYnUleyfvr14+lD4ReWnGw/8jjot0oiFj7AeDU09xNKErqNCj3cft32fQ OOfxQITiIiqVU1LGTbhN3U/KeLVWF1ECYKSKlewOWxd4Ng/YnBdXu4JAQKLYHdrL1w/V FEZcZYczNGio8EALfdulFHzhvo7SEA+A75A0RPIZcfvQars3uNR+WOjSKI3c0+hTBJWv Z4yMNRQONv/J+bq0SGag1/7ug2mNvKGgD4Nly84/MbR7ToqW8m3yw0BMPMgj4285uzz7 33kisriXjaW5Hwg5h0qbhgpJSqguBEScP7p8TZ1h+AKzUmTsp7mfJf3y439w5LA1peOw LJOA== X-Gm-Message-State: AC+VfDwbhMk4RlYjVCpXhEghsBoW4cx7yT4a49niuq5RgwYi4/BrWcTI W9/hgq4qj02nHVdnEY+0mn4= X-Received: by 2002:a17:907:806:b0:974:5e14:29c0 with SMTP id wv6-20020a170907080600b009745e1429c0mr28660350ejb.21.1687819365605; Mon, 26 Jun 2023 15:42:45 -0700 (PDT) Received: from skbuf ([188.25.159.134]) by smtp.gmail.com with ESMTPSA id pv18-20020a170907209200b00987cd2db33fsm3737147ejb.131.2023.06.26.15.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 15:42:45 -0700 (PDT) Date: Tue, 27 Jun 2023 01:42:42 +0300 From: Vladimir Oltean To: Horatiu Vultur Cc: Jerry Ray , Woojung Huh , UNGLinuxDriver@microchip.com, Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Rasmus Villemoes Subject: Re: [PATCH] net: dsa: microchip: phy reg access 0x10-0x1f Message-ID: <20230626224242.bqzqyfep5hvdkboh@skbuf> References: <20230626182032.2079497-1-jerry.ray@microchip.com> <20230626192643.4zi2qyrjfllkxlmw@soft-dev3-1> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230626192643.4zi2qyrjfllkxlmw@soft-dev3-1> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 Hi Horațiu, On Mon, Jun 26, 2023 at 09:26:43PM +0200, Horatiu Vultur wrote: > The 06/26/2023 11:20, Jerry Ray wrote: > > Hi Jerry, > > This seems like a patch for net-next which seems to be closed now. > Please hold back this patch until the window opens again in like 2 weeks. > > Also you need to add in the subject which tree are you targeting. > In your case is net-next then it should be something like: > [PATCH net-next] net: dsa: microchip: phy reg access 0x10-0x1f > > > With the recent patch to promote phy register accesses to 32-bits for the > > range >=0x10, it is also necessary to expand the allowed register address > > table for the affected devices. These three register sets use > > ksz9477_dev_ops and are therefore affected by the change. The address > > ranges 0xN120-0xN13f map to the phy register address 0x10-0x1f. There is > > no reason to exclude any register accesses within this space. > > > > on June 20, 2023 > > commit 5c844d57aa78 ("net: dsa: microchip: fix writes to phy registers >= 0x10") > > This is just a small thing but as you need to send a new version, you can > write something like this: > --- > With the recent patch [0] to promote ... > > [0] 5c844d57aa78 ("net: dsa: microchip: fix writes to phy registers >= 0x10") > --- > > Or: > > --- > With the commit 5c844d57aa78 ("net: dsa: microchip: fix writes to phy > registers >= 0x10") which promotes phy ... > --- > > Just to make it a little bit more clear that the commit that you posted > at the end refers to the patch that you mention to at the beginning of > the commit message. I think these signs intend to denote a Fixes: tag. For that, we have a fairly standard way of generating them: $ cat ~/.gitconfig ... [core] abbrev = 12 [pretty] fixes = Fixes: %h (\"%s\") $ git show 5c844d57aa78 --pretty=fixes Fixes: 5c844d57aa78 ("net: dsa: microchip: fix writes to phy registers >= 0x10") That line should be pasted in the commit message next to (no empty lines in between) the other tags like reviews and sign offs. If Jerry can prove a problem with the existing code structure from net-next (any PHY writes to registers >= 0x10), then the patch does not need to wait until net-next reopens. It needs to wait until the net-next pull request is sent to Linus, then this can be resent towards 'net.git'. That problem needs to be described in the commit message. If there's no problem that could potentially have a user-visible impact in the existing code and PHY driver (those PHY writes are unreachable), then I agree with you, the change can wait and should be resent when net-next reopens.