From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56068C433E7 for ; Thu, 15 Oct 2020 06:17:59 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D158218AC for ; Thu, 15 Oct 2020 06:17:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D158218AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CBfGW481NzDqSf for ; Thu, 15 Oct 2020 17:17:55 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.208.67; helo=mail-ed1-f67.google.com; envelope-from=k.kozlowski.k@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from mail-ed1-f67.google.com (mail-ed1-f67.google.com [209.85.208.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CBfBx2FHSzDqMx for ; Thu, 15 Oct 2020 17:14:48 +1100 (AEDT) Received: by mail-ed1-f67.google.com with SMTP id t21so1849442eds.6 for ; Wed, 14 Oct 2020 23:14:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1Yh1i1pVwz9B/Ey4Y4vzL4xLN24S+rgzxEnczu+jN+M=; b=krgB1Cu9ZkHoYfz3KoA0LvesRiXbdCb+1VBS1o7TG/MpL1m9WqSmbH3m2Dr5vuMojQ WY7Vcbpd/vy0FQtjqkXcAi8c/zmQeY98P/iBTnx5YLh+9e30DtL6U0QQ7TlMP++h7PtM f8e9PTXsog2jF4TK11cBEb44F0EWNtGzQXvc3b0q3P9RJgQTJOIFB4+dXe3JdevYMs2W lDbILoqcvpG5nb0xFLsS3q7dISMSrVHJIqaJtqIAByiG+0rIhSbaBpfRujXM0MDV5NHi tgvdq/a8lC5O03YyCoPcm5hdychCRf9Iw2ocOJurUoJ7JZ3T3jGPiOIJ1gl3UOLw4Ab6 c3Kw== X-Gm-Message-State: AOAM533Vm8xfZigCScKxmpVLH3prz2lVIlRYMM8QFdGDbNGwdAiVWvDF jxAW4g8TE+LWqsiCS5fHrv8= X-Google-Smtp-Source: ABdhPJx/0Dmc4LC7mLB//wjFSeMp2WMfJCq3UaAMSzV7yKFc9sP2yaW4576pAgucyVbatWtI1/sCow== X-Received: by 2002:a50:f613:: with SMTP id c19mr2718068edn.81.1602742484585; Wed, 14 Oct 2020 23:14:44 -0700 (PDT) Received: from kozik-lap ([194.230.155.171]) by smtp.googlemail.com with ESMTPSA id e7sm900601ejm.4.2020.10.14.23.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 23:14:43 -0700 (PDT) Date: Thu, 15 Oct 2020 08:14:39 +0200 From: Krzysztof Kozlowski To: Serge Semin Subject: Re: [PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name Message-ID: <20201015061439.GA2926@kozik-lap> References: <20201014101402.18271-1-Sergey.Semin@baikalelectronics.ru> <20201014101402.18271-21-Sergey.Semin@baikalelectronics.ru> <20201014171640.bup52mgaz4jvhtsy@mobilestation> <20201014235105.kj4rtwiidph7gyen@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201014235105.kj4rtwiidph7gyen@mobilestation> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , linux-usb@vger.kernel.org, Neil Armstrong , Tony Lindgren , Bjorn Andersson , Pavel Parkhomenko , "linux-samsung-soc@vger.kernel.org" , Kevin Hilman , Gregory Clement , Wei Xu , Chen-Yu Tsai , Kukjin Kim , Andy Gross , linux-arm-msm@vger.kernel.org, linux-snps-arc@lists.infradead.org, Sebastian Hesselbarth , devicetree@vger.kernel.org, Jason Cooper , Mathias Nyman , "linux-kernel@vger.kernel.org" , Lad Prabhakar , Maxime Ripard , Alexey Malahov , Rob Herring , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros , Felipe Balbi , linux-mips@vger.kernel.org, Greg Kroah-Hartman , Yoshihiro Shimoda , linuxppc-dev@lists.ozlabs.org, Patrice Chotard , Serge Semin , Li Yang , Manu Gautam , =?utf-8?Q?Beno=C3=AEt?= Cousson , Shawn Guo Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Oct 15, 2020 at 02:51:05AM +0300, Serge Semin wrote: > > > > > So to speak thanks for suggesting it. I'll try it to validate the proposed > > > changes. > > > > > > Two questions: > > > 1) Any advise of a good inliner/command to compile all dtbs at once? Of course I > > > can get all the updated dtsi'es, then find out all the dts'es which include > > > them, then directly use dtc to compile the found dts'es... On the other hand I > > > can just compile all dts'es, then compare old and new ones. The diff of the > > > non-modified dtb'es will be just empty... > > > > > make dtbs > > It's not that easy.) "make dtbs" will build dtbs only for enabled boards, which > first need to be enabled in the kernel config. So I'll need to have a config > with all the affected dts. The later is the same as if I just found all the > affected dts and built them one-by-one by directly calling dtc. True. Sometimes allyesconfig for given arch might be helpful but not always (e.g. for ARM it does not select all of ARMv4 and ARMv5 boards). Most likely your approach is actually faster/more reliable. > > > touch your dts or git stash pop > > make dtbs > > compare > > diff for all unchanged will be simply empty, so easy to spot > > > > > 2) What crosc64 is? > > > > Ah, just an alias for cross compiling + ccache + kbuild out. I just > > copied you my helpers, so you need to tweak them. > > > > > > > > > > > > > 2. Split it per arm architectures (and proper subject prefix - not > > > > "arch") and subarchitectures so maintainers can pick it up. > > > > > > Why? The changes are simple and can be formatted as a single patch. I've seen > > > tons of patches submitted like that, accepted and then merged. What you suggest > > > is just much more work, which I don't see quite required. > > > > > DTS changes go separate between arm64 and arm. There is nothing > > unusual here - all changes are submitted like this. > > Second topic is to split by subarchitectures which is necessary if you > > want it to be picked up by maintainers. It also makes it easier to > > review. > > The current patches are easy enough for review. The last three patches of the > series is a collection of the one-type changes concerning the same type of > nodes. So reviewing them won't cause any difficulty. But I assume that's not > the main point in this discussion. > > > Sure, without split ber subarchitectures this could be picked > > up by SoC folks but you did not even CC them. So if you do not want to > > split it per subarchitectures for maintainers and you do not CC SoC, > > then how do you believe this should be picked up? Out of the regular > > patch submission way? That's not how the changes are handled. > > AFAIU there are another ways of merging comprehensive patches. If they get to collect > all the Acked-by tags, they could be merged in, for instance, through Greg' or Rob' > (for dts) repos, if of course they get to agree with doing that. Am I wrong? > > My hope was to ask Rob or Greg to get the patches merged in when they get > to collect all the ackes, since I thought it was an option in such cases. So if > they refuse to do so I'll have no choice but to split the series up into a > smaller patches as you say. This is neither Rob's nor Greg's patch to pick up, but ARM SoC (which was not CCed here). And most likely they won't pick it up because judging by contents it is obvious it should go via ARM SoC. Sure, if there are dependencies between some patches they can go with acks through unrelated trees, but this not the usual way. This is an exception in the process to solve particular dependency problem. It has drawbacks - increases the chances of annoying conflicts. The case here does not fall into this criteria - there is no dependency of this patch on the others Therefore there is no reason to use the unusual/exceptional way of handling patches. There is no reason why this shouldn't go via either specific ARM subarchitecture maintainers or via ARM SoC. > > > > 3. The subject title could be more accurate - there is no fix here > > > > because there was no errors in the first place. Requirement of DWC > > > > node names comes recently, so it is more alignment with dtschema. > > > > Otherwise automatic-pickup-stable-bot might want to pick up... and it > > > > should not go to stable. > > > > > > Actually it is a fix, because the USB DT nodes should have been named with "usb" > > > prefix in the first place. Legacy DWC USB3 bindings didn't define the nodes > > > naming, but implied to be "usb"-prefixed by the USB HCD schema. The Qualcomm > > > DWC3 schema should have defined the sub-nodes as "dwc3@"-prefixed, which was > > > wrong in the first place. > > > > > Not following the naming convention of DT spec which was loosely > > enforced is not an error which should be "fixed". Simply wrong title. > > This is an alignment with dtschema or correcting naming convention. > > Not fixing errors. > > From your perspective it wasn't an error, from mine and most likely Rob' it > was.) Anyway as I said I don't care that much about preserving the subject > wording, so what about the next one: > : : Harmonize DWC USB3 nodes name with DT schema > ? Looks good. Best regards, Krzysztof