Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1231512rwl; Thu, 10 Aug 2023 08:14:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdH43JUAQbyUPUImmkX0ZLvqMHEHDFl5Len5NQRsnCaKnx7w0OUmAB9uFQ2Mqe/rhBvwa6 X-Received: by 2002:a17:902:f686:b0:1b9:de3e:7a59 with SMTP id l6-20020a170902f68600b001b9de3e7a59mr3281424plg.10.1691680447264; Thu, 10 Aug 2023 08:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691680447; cv=none; d=google.com; s=arc-20160816; b=I1hXqqp7N2R9YrrFFSyLhxf6Auha0q2gJlzb/yyFTQGmbjxSWjP6fyAgdQ+6VMx4/6 HhKcLThcRD8tbxEQtL7k+hpLscBF08+1tRYJNZlbJvq32a3c6S93stZ5hYHIAv0yMohL X5uvNPRy926ysaG+Wnp4Wuck6PevhVhcbDc9Jgl4ttfIa7+U4RtJ4RHkaQO8hpjgCDxf n76dURNCm4Ex7/kg/xKbzWnSHQ6nw1fssI13FjvwEBKkV3e16FJpXN2vUU7eVG7dFQbn 0b56EqeujL+W9uXhhA0A/Mk5Tb04R6B4YlNpoEq6bu6xx6YU1tko8flN/7Ie4uCg6Y2Z 6YsQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1QxiuF75076c1wIGtoY4akQwbj9n+G/4IMmmLPB7RYw=; fh=2TAQr6fF79e521xRbAMB4eZiHUHUr3k7EZNwO059e6U=; b=tRH4SAVFKKRHbbLDgm4L4E8edPwdOEvm7k8YHwQmS1McEC1oySNawGPXDcINJQRssd P5j9MYE8tXAjZ8N0mtK3yWbpLZxvOGjO2WEw9atTds5w0SHEfAhl68WBWXRYupsXTBSU m+Sy0SQua0fhjShYDXVANYepGi80mtUhVR/DjWNBtL6rMgMEn2+rHG+QIf/O6//XVPxF 3g14efDdXBu+9yzGnseek7OsGJ+GkxAADohF5vkWXy/1cZmPbb5DF9QwSB4vcG+hnOE9 cI5H0YCmMWS65XkBOO6cqTscB3dAx8C110pWQh70y5rKyq8/ugizJcbpQXQnFwt4nT45 PXKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=zftM9yg4; 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=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a170902650700b001b87ecb0e5csi1590934plk.126.2023.08.10.08.13.53; Thu, 10 Aug 2023 08:14:07 -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=@lunn.ch header.s=20171124 header.b=zftM9yg4; 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=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234113AbjHJN7l (ORCPT + 99 others); Thu, 10 Aug 2023 09:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbjHJN7k (ORCPT ); Thu, 10 Aug 2023 09:59:40 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 643761B4; Thu, 10 Aug 2023 06:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=1QxiuF75076c1wIGtoY4akQwbj9n+G/4IMmmLPB7RYw=; b=zftM9yg48Q9Hr0YPn2yo7s+b+P IWG/mmvva5GCA6TWxUJgfH+uib5Sahc22PKz/XpAQs/0ngWzPAglzqk7brVqG+0JKi65Rx9IKva8r BP367v+ko072NisI/z+V0cbF93TWiFniUzSU4vaX0P8jRuJslB6pYudbvtXwC5NLsMRI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qU6CD-003hOE-A7; Thu, 10 Aug 2023 15:59:25 +0200 Date: Thu, 10 Aug 2023 15:59:25 +0200 From: Andrew Lunn To: Furong Xu <0x1207@gmail.com> Cc: "David S. Miller" , Alexandre Torgue , Jose Abreu , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Joao Pinto , Simon Horman , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xfr@outlook.com, rock.xu@nio.com Subject: Re: [PATCH 1/1] net: stmmac: dwmac4: extract MAC_HW_Feature regs MSB first Message-ID: <9b9635bd-2635-4115-bafb-8a07573c6556@lunn.ch> References: <20230810095929.246901-1-0x1207@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810095929.246901-1-0x1207@gmail.com> 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_PASS,SPF_PASS 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 On Thu, Aug 10, 2023 at 05:59:29PM +0800, Furong Xu wrote: > The bit extraction sequences are a little messy. > No code changes, just reorder them. How is this substantially better? If bugs are found in this code, your change is going to make it harder to back port the fixes to stable kernels. cherry-pick is unlikely to work, it will need a human to look at it. Not hard, but still effort for somebody. So i think there needs to be a clear benefit to this, and you should mention the benefit in the commit message. Andrew