Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4213333rwb; Fri, 30 Sep 2022 14:55:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM63FL+vcuWaQiiqrDp8jvhJov2L1equUWVUdQ/9q0tZUGyYRBrdBtnbNR2r6RhWkgJ9RFMS X-Received: by 2002:a17:907:94c1:b0:787:84c3:e98 with SMTP id dn1-20020a17090794c100b0078784c30e98mr7869857ejc.269.1664574946127; Fri, 30 Sep 2022 14:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664574946; cv=none; d=google.com; s=arc-20160816; b=souk9BIhglpg0MxAZL9jkhUpEIrFlKbSVLlsDbWth2JjW59cmUusZLTdWO3HF7Q9P+ n+EO5yuWtJIysMf1wUCcg7CAxPoXww5MCsAMvIP28pFFboiMM1rPlPuFW28iNiRPvuMG QNSOxHroEa1/w8TnMW/UiKI1X1kX75+SO5C9SuqRGIFmnfQeBCGsOsMb/BuD6pB8vCHp A2FFDIannDJyu2j7Stg5dR4hJXjl53/8BHiYzenRPZ9ooBvJ8vDLHbu7Xrv/ks6013Hd HxwaT51B1cRIsXJ4W1Ety1x4slqIc9vsuKkHZlP9lyJ0UJmE4ARfzkXIQDSZ0MgMKQAb 9C+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=kDaFF4sp6uzjyt83AGCHdxqRWFpfWsmmSMC2anvXSJg=; b=VbshPC7KKIiKJGS4axDOavSudigKJUoj0Q5ZNDmu7bMsQ0LWj4+nQWR9b9nr4oKbSB nNCGVK2fKLSFuAB4N3L35DuY0TaSagSy1ypZdQCaPCDPa0TqPJPcY76gKhdppP7n8azh 7tbcCVvXdbIOpcY22peD6JABzvnKH4sS2+jOk+5ODf0WC83bEizpkiJXO4flCvYYAnMI iB/rDAUEmmqcjo3pSfP4Q+Zha3D1t4iY7sctJ9oydH+96+H4u66onPNPHRhNp0K9Qizk UcDO3EYF+yNhJ6ZYT1TGKrCuCIrWtKbA/GmEwhSzamVzc3VZeHwEIJLjJlb9H4087ARi V+hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rFY9wr8C; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w1-20020a1709067c8100b0070fc7c9d71dsi2076900ejo.989.2022.09.30.14.55.20; Fri, 30 Sep 2022 14:55:46 -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=@kernel.org header.s=k20201202 header.b=rFY9wr8C; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232365AbiI3Vno (ORCPT + 99 others); Fri, 30 Sep 2022 17:43:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231867AbiI3Vnm (ORCPT ); Fri, 30 Sep 2022 17:43:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6F1A1830D7; Fri, 30 Sep 2022 14:43:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 423AD6250C; Fri, 30 Sep 2022 21:43:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FE98C433C1; Fri, 30 Sep 2022 21:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664574220; bh=cCxNQIjIu1jNntjn2xhR5wc6ij2taNke8th6cN78c5E=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=rFY9wr8CYLbDOcXptxhlvN4KgrZInkSPQNB/j1WLDoiemQ6ji2nZbmFWV68JnjEj7 6/cLcwHXqpQFiaUgwExT+ZRiYOvry++b349qmIp8MFSiHr+Fh0nXI3JJAe4Ny6WI6E Q700N4khg7H/6bwqzXDkz1FZbgVHxVF4ZjFiNk3XIqd9E9mOL5FQi09SN8eTRN2pyf u8DSrgUwFPf3DF0BviD2PXaxbuduG1AXvnLrQz3NI/k/OLNbTHBZmH7VF52sH6GvCQ ENI5DqKiq3CTNsiCRHr9wkuBJxpN6Ge+DhchdfzKOrMkewbhtgki9q6exoK9vgQKXB yr84tiuUhpNGQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220929175459.19884-1-hal.feng@linux.starfivetech.com> References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> <20220929175459.19884-1-hal.feng@linux.starfivetech.com> Subject: Re: [PATCH v1 14/30] clk: starfive: Factor out common clock driver code From: Stephen Boyd Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Michael Turquette , Linus Walleij , Emil Renner Berthing , Hal Feng , linux-kernel@vger.kernel.org To: Hal Feng , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-riscv@lists.infradead.org Date: Fri, 30 Sep 2022 14:43:37 -0700 User-Agent: alot/0.10 Message-Id: <20220930214340.8FE98C433C1@smtp.kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Quoting Hal Feng (2022-09-29 10:54:59) > From: Emil Renner Berthing >=20 > The clock control registers on the StarFive SoCs work identically, > so factor out the code then drivers for different SoCs can share > it without depending on each other. No functional change. Sounds great! No functional change! But to verify that it is pretty hard. Can you generate the patch with `git format-patch -M -C` and not rename anything initially? I hope that will allow us to see that really nothing has changed except code is moved from one file to another. Then the next patch can be the sed command to rename to starfive. As the patch is right now, I'm not particularly interested in going through 700 lines to make sure nothing really changed.