Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4152750iob; Tue, 17 May 2022 15:27:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDfy/lro6zHqAQBXCAlDwXg1NXoyI44N1ce1WImzsbSSTYIaond4QK/QtRwjtKdF+c5IeZ X-Received: by 2002:a05:6402:190e:b0:42a:3b3d:d061 with SMTP id e14-20020a056402190e00b0042a3b3dd061mr21170816edz.106.1652826430108; Tue, 17 May 2022 15:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652826430; cv=none; d=google.com; s=arc-20160816; b=j8W3ie+DVfqQFPtQiRwSxC8qLZoabHZEdcDrp46O/GKGfLsJhipcee4nKgvTtR1kMe yuEXGAbym4kPPJSbRY11ve7ktSWvGj5u8YMTbEjMF+GKhwhFTK60Tdp6BzTk+Ch5Fcpb kJJ7aDjcSv/C1HZkp44zeEli8Dkr5W/RHl2ZfJT7Tdzw+/sJqQfJycFZhk1s8fQHV2/L UftEldYtO+cg2y+3Z/otikg/ILN9wYRtrcQwulcW64cNZ71seTi1zdhZxNRLXnOzWRr+ a4BiJRxRKce8Y6xiRXlNI4MC7l40WXh52mUXJq3ltIwBOgzHtKB6hUrzhk82/AsRukl3 zA2A== 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=25GtIoitw+ZTlzSdukQ7WOPmbkJJHbA+G1F2JqOUPCg=; b=PqztaoSWsa6EKeBbOiFAsE2Gus211s4miy+kDqu6X74J+uoUZ8t2WexHhynJOCtRlM x5FSsL7VfDPKmyIhzRA0GycCPaINVuoJrvRPG/pzrZ4qKoZG5m0Gy30oq6fy08r7UjHV nmx4WSpdZ9GrniAA2rNW5xmi0efPJZHVnFJ0ctZctpTEQR+yyztX3sUL4x/9gDrO3RhF 1WwopR+Jn15ONLvZO8dTJ1o2PLXDg8s4YJFF5VmQ5vftyTx/VEfv0MSvCZqCVQT5OIHz Q8LCJ6PeWrhkGfw4iO2WQ74odspY3en9Xt51Jjc8fH+qtcNxpH3hdXELbL5dermpVQCx kw8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="OD/oBRJQ"; 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 l12-20020aa7c30c000000b004280d15fdb3si534543edq.395.2022.05.17.15.26.45; Tue, 17 May 2022 15:27:10 -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=20210112 header.b="OD/oBRJQ"; 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 S1343511AbiEQKI6 (ORCPT + 99 others); Tue, 17 May 2022 06:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245760AbiEQKFl (ORCPT ); Tue, 17 May 2022 06:05:41 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B02E949C9F; Tue, 17 May 2022 03:05:11 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id y32so30390182lfa.6; Tue, 17 May 2022 03:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=25GtIoitw+ZTlzSdukQ7WOPmbkJJHbA+G1F2JqOUPCg=; b=OD/oBRJQvC09yFulvynVFmg5bIQgbGkZh5k15Ylg2dYQR/LVFqVH5v2UBGviF1S2+R 1Gj0BSqWsra1NjlBMun1RetI2YgmIGm5zHF8TnRwNCgU6gPc1WvPPErI6Z/cfo7MOlo5 I2hVY0N9fVt9Ui62nZpice02zg83O1TIdgO5+upw1IPyNFH47kZYsLAc2pB09nE2zF0W jnrklqqpBsdK0sqFkFNpCXllL2zUhMzfZ9D9La76wohjWLHSECu/1cI46IbRyBSl26bG LrjhqS6ZC4IBQ+p74Czp5xdFmDS7K5XeBBFzubUbI/TkfZM6MvS/My6TFFIPSYu0N7o6 tCuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=25GtIoitw+ZTlzSdukQ7WOPmbkJJHbA+G1F2JqOUPCg=; b=by7k7hXWtmA4zDTa7k9RdYNI7i+WnxJRa6Jt4x61aSa27ImHr8Z4HfNNhqcxhDlFgm bUtvns6d2DVAYsUi3J7gTbx07zBE2kftzMIfZvX9KdaRMSuppUOzMMSLquJzZlsljOYe 4qIvkj14OZ5QU5yUDJO5YMXrMlEWwBeZb5vkh3UgAACPX4jN83lU7GwDqrp3Ogj6RcYe vVzKFmAZAFby4J+aFTd0FnQNJwfYCq1mOxneSnUV6VKmKyvyUIrbvj9JR/+g0e28tMdT BeCnaOJH6zqm4kWvZ2EBAq/snBhSBpNrL4hXC/Sv+uxJeP3khxEm34QwOOGPqmmAcRqi V3GA== X-Gm-Message-State: AOAM5338ctLcFDoIXI06pC+J143k9deMdDrwx0IFVPE+K1dt1jp8bR7E lgC3I1REggWO/c6Z1Ncmgcc= X-Received: by 2002:a05:6512:3090:b0:473:a636:dbee with SMTP id z16-20020a056512309000b00473a636dbeemr16124368lfd.119.1652781909895; Tue, 17 May 2022 03:05:09 -0700 (PDT) Received: from mobilestation ([95.79.189.214]) by smtp.gmail.com with ESMTPSA id a3-20020ac25e63000000b0047255d211acsm1541267lfr.219.2022.05.17.03.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 03:05:09 -0700 (PDT) Date: Tue, 17 May 2022 13:05:07 +0300 From: Serge Semin To: Stephen Boyd Cc: Manivannan Sadhasivam , Serge Semin , Lorenzo Pieralisi , Jingoo Han , Gustavo Pimentel , Philipp Zabel , Michael Turquette , Bjorn Helgaas , Alexey Malahov , Pavel Parkhomenko , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Thomas Bogendoerfer , linux-clk@vger.kernel.org, linux-pci@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/4] clk: Baikal-T1 DDR/PCIe resets and some xGMAC fixes Message-ID: <20220517100507.2ng3se7bbl2eqbz3@mobilestation> References: <20220503205722.24755-1-Sergey.Semin@baikalelectronics.ru> <20220512001156.x6kqyhi3vjjpqch6@mobilestation> <20220512152705.GA2506@lpieralisi> <20220512171150.GA164627@thinkpad> <20220512211431.r23r6daua36lty7d@mobilestation> <20220517074020.56093C34100@smtp.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220517074020.56093C34100@smtp.kernel.org> 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 On Tue, May 17, 2022 at 12:40:18AM -0700, Stephen Boyd wrote: > Quoting Serge Semin (2022-05-12 14:14:31) > > On Thu, May 12, 2022 at 10:41:50PM +0530, Manivannan Sadhasivam wrote: > > > On Thu, May 12, 2022 at 04:27:05PM +0100, Lorenzo Pieralisi wrote: > > > > So in short, this series has to go through the usual clock tree review > > > > process. > > > > > > > > I do know the normal procedure. But if patches concern different > > subsystems but for some reason inter-depended somehow it's ok to merge > > them in via a single repo. In my case the platform clock driver has > > been updated in a way so to support the reset-controls utilized in the > > PCIe driver altered in another patchset. So I didn't want to leave the > > kernel not working in the framework of my platform on any git hash > > state. That's why I asked to merge the patchsets in via the same repo. > > The kernel would be still buildable though. > > > > Is it going to be broken if I merge the clk patches through clk tree? No. It won't be broken. > Has it ever worked? It has and is working well except some minor fixes provided in this petchset: [PATCH v3 1/4] clk: baikal-t1: Fix invalid xGMAC PTP clock divider [PATCH v3 2/4] clk: baikal-t1: Define shared xGMAC ref/ptp clocks parent > Does the kernel still boot, just PCIe fails if the > patches are applied? Yes, the kernel will be bootable. There won't be any problem if the patches in this series are applied because it is self-consistent. As I said in the cover letter there is an implicit dependency of another series "[PATCH v2 00/17] PCI: dwc: Add dma-ranges/YAML-schema/Baikal-T1 support" (https://lore.kernel.org/linux-pci/20220503214638.1895-1-Sergey.Semin@baikalelectronics.ru/T/#me3c5c248adad9760702b545bd4bacd89d5f8a2bd) from this one. In particular the functionality implemented in the patch "[PATCH v2 17/17] PCI: dwc: Add Baikal-T1 PCIe controller support" (https://lore.kernel.org/linux-pci/20220503214638.1895-1-Sergey.Semin@baikalelectronics.ru/T/#m219e11c38c4ab8db0c2520c4050366d641598600) depends on the patches 3 and 4 of this patchset. But the dependency is implicit hidden under the DT clock/reset bindings layer. The Baikal-T1 PCIe platform driver will just fail to probe the host controller device if this series isn't applied. So the clock/reset patchset can be freely merged in via the clk tree especially seeing the PCIe Host/EP subsystem maintainer is going to be AFK from Wednesday and my series will sadly but likely hang up in limbo for a while. -Sergey