Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4338732imw; Tue, 19 Jul 2022 04:56:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vM2wmFsAPm1YUPINaAkpuXf1oEluNGviz3m3oKoXq9CZaw7/iN+QNpLg5H81CLmPuwkZS/ X-Received: by 2002:a17:90b:224b:b0:1ef:e06a:32f1 with SMTP id hk11-20020a17090b224b00b001efe06a32f1mr45212795pjb.197.1658231778181; Tue, 19 Jul 2022 04:56:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658231778; cv=none; d=google.com; s=arc-20160816; b=DM5xBcMDIeFXH+uIooOin28iJS5b9r3QqsRBLJU2pbnTL0cPH/bllTje62/b45hJXC mhAe+8HXC3kuIsJuqA92nbv+Eg4/jv05m0Y9RShvlXc+ZmVt/u927KURLDJ7dLwRLDys pPy5UZl0eTXE4MEshnCL/mVaVBKNzktow4N/0W3c2DD5BotW6jlZG0/XDSoocwo8046a qnLfQtzSJREkMTgV909J6yncUVeBcSXcD0KSE64HnkAd7wZoJ7Pc0jroTdiPfqs588yV B/z+27yJxMe9gtaM0q72h02B8wN/Bkd0cIZeN4R//Ww+cUlWgNJk5eFouQJEa2PtzS+E 97Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=2tmlRUOer+5uD8E7QKBbOsn8zb38YDFbOxptCSAWlTc=; b=cJkvJPRE8GXSbtT3RgCvmr0hVYwBY+zXUoJbeDVgeW6GUAFLNuSljVyc1AMrQVHjVP gKkvd9iW4DaLFTm6E3ERUlf1KEwh/nzlCvgraiyrx2wVc8WFASSuvjaigDEUvSjdAYjH +ZPBEZvfZNEK7KZfyDaEGl1QZKHBVNzugpDatvOLeexwULc0RD3rU2kol5VICq+eX2JJ uKKqnjLwLXT/fnr3+yEY95cl4SnQ8+XPsHPX3HG7FWpYdWWG6W+u08uZ4vJ5VBJ0FbHj aNKh/rkYqZxwxr4ApClXuIIaFI4M2XG3GWxFgcS+SZ1JotZke7btoWHH1bF9NbxkGmtm A4gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BlXTXeEo; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170903120600b0016cf92a3179si5063741plh.553.2022.07.19.04.56.03; Tue, 19 Jul 2022 04:56:18 -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=@linaro.org header.s=google header.b=BlXTXeEo; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235329AbiGSLOX (ORCPT + 99 others); Tue, 19 Jul 2022 07:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237459AbiGSLOM (ORCPT ); Tue, 19 Jul 2022 07:14:12 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 268DD33A3A for ; Tue, 19 Jul 2022 04:14:11 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id bf9so24133682lfb.13 for ; Tue, 19 Jul 2022 04:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=2tmlRUOer+5uD8E7QKBbOsn8zb38YDFbOxptCSAWlTc=; b=BlXTXeEoo4FnvTv/A8kKIiWvTBxDAojagFcMFd8UHcHa8rjbeoXSoVVEYswSucmWUx gSG48UwFXn+/jgdviLDakFMQXREX311eNkWe2H7zNDC7rtcePp7TCW1C0M/jwMv6a5d8 pyj9shfjD0x1mQTe6tnQKXl939xB0NItJXPjaIuArNlALu1Go68yNgE1pf2tT9ngqA7I jZ1ye4LSWTavExIQHE8FQzsYaxTl7lfQGHGE+WciUi8yAqwqsqeU8t2QGWRbG7cphXD5 43+XGX9H1doxvFi097bcHXEE0bcmiZ1/xhWzbaWj9Uv+jtp7ivdZFEVOrmA9Xe0Zc4O3 Nhmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=2tmlRUOer+5uD8E7QKBbOsn8zb38YDFbOxptCSAWlTc=; b=nykEZmVX/HsDVs2+MKsAEcfhipqaiSd4AW115QQHOFyNcGIfNIDFyf6xIQ9SrgAFau C/lFcwRBHoBrm3/6VsdppRXBWB8S71uOeAtdvwS2GIPyGGAx+dk5Q8PvhLe53Pelcxhz 0IJ6zIyo7mr1FcqKTdJV9e/OxAhJZYJ4OH89qlno/InB7Hi99cJLcutVyJzJP8Gb/11B bBkr5TPwATEBgmySPXaCspf8cPlHIBv5IIozXQG4kHtL+i93w/u9yxbqiXyXDw/8gytr rSTlg7Ynv8VUO6QEpCMvSGFK+/xnnyyRqIBadQuwPvRVc7LNyBJnVZ1Docam5v0TmwQo fo8w== X-Gm-Message-State: AJIora82MSy+B3lUi8S5hupnhcYlT7oDJxzpEsPX2WBX5ir1X9vjqlP7 aFPcS5piMt0nhCiHMY4ohfgYAA== X-Received: by 2002:a05:6512:3b24:b0:489:e6b5:162f with SMTP id f36-20020a0565123b2400b00489e6b5162fmr15828649lfv.260.1658229249504; Tue, 19 Jul 2022 04:14:09 -0700 (PDT) Received: from [192.168.115.193] (89-162-31-138.fiber.signal.no. [89.162.31.138]) by smtp.gmail.com with ESMTPSA id d25-20020a19e619000000b00489c7fb668dsm3139699lfh.182.2022.07.19.04.14.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Jul 2022 04:14:08 -0700 (PDT) Message-ID: Date: Tue, 19 Jul 2022 13:14:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/2] ARM: dts: qcom: ipq8064: reorganize node order and sort them Content-Language: en-US To: Christian Marangi Cc: Konrad Dybcio , Dmitry Baryshkov , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220718153815.29414-1-ansuelsmth@gmail.com> <7f2a4f21-5e07-9320-8f7b-573ccc562f43@linaro.org> <78230095-6b45-4536-f41d-12bb23308d34@linaro.org> <62d686c0.1c69fb81.4a957.bf03@mx.google.com> <26b43f6d-2b35-aab7-f906-31458c1b824b@linaro.org> <62d68f9e.1c69fb81.985fb.30aa@mx.google.com> From: Krzysztof Kozlowski In-Reply-To: <62d68f9e.1c69fb81.985fb.30aa@mx.google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 19/07/2022 10:57, Christian Marangi wrote: > On Tue, Jul 19, 2022 at 12:56:18PM +0200, Krzysztof Kozlowski wrote: >> On 19/07/2022 10:19, Christian Marangi wrote: >>> On Tue, Jul 19, 2022 at 12:22:24PM +0200, Konrad Dybcio wrote: >>>> >>>> >>>> On 19.07.2022 12:16, Krzysztof Kozlowski wrote: >>>>> On 19/07/2022 11:59, Dmitry Baryshkov wrote: >>>>>> On Tue, 19 Jul 2022 at 12:56, Krzysztof Kozlowski >>>>>> wrote: >>>>>>> >>>>>>> On 18/07/2022 17:38, Christian Marangi wrote: >>>>>>>> Reorganize node order and sort them by address. >>>>>>>> >>>>>>>> Signed-off-by: Christian Marangi >>>>>>>> --- >>>>>>>> >>>>>>>> This was picked from for-next qcom branch [1]. Reorganize dtsi as requested. >>>>>>>> >>>>>>>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/?h=for-next >>>>>>> >>>>>>> If this is picked by qcom branch, no need to resend it. >>>>>>> >>>>>>> I don't see value in such reshuffle. Reviewing is not possible and you >>>>>>> did not mention tests (results should be equal). >>>>>> >>>>>> The value is usual for all the cleanups: make it follow the >>>>>> established practice. >>>>> >>>>> Are you sure this is established practice? >>>> Yes. >>>> >>>> New DTSI files (see SC8280XP, >>>>> sm8450 although sc7280 looked ordered) do not always follow it, so why >>>>> imposing it for existing code? >>>> Perhaps it slipped through review.. Partially my bad. >>>> >>>> >>>> Such reshuffle can cause conflicts thus >>>>> stops parallel development. Review is close to impossible... >>>> Almost any addition or removal also causes conflicts, because git is >>>> not as smart as we would like it to be. If the commit is structured >>>> properly (i.e. it *only* changes the order and nothing else), >>>> decompiling the dtbs before and after applying it and using a tool >>>> like meld that can find similar chunks of text at different offsets >>>> review is definitely possible, though not very pleasant (you can't >>>> just diff them, as order is preserved & phandles change due to that) >>>> as you have to look at it manually and can't tell much by just taking >>>> a look at the email. >>>> >>> >>> Can you give me an example of such tool? So I can put these data in the >>> commit description. I have to rebase this anyway as more changes got >>> merged so it might be a good idea to add more info about how this won't >>> make actualy changes. >>> >> >> scripts/dtc/dtx_diff >> fdtdump + diff >> >> There should be an empty diff from at least one of methods above. If you >> have a difference, I am not sure how can we verify this. >> >> >> Best regards, >> Krzysztof > > This [1] is the output of dtx_diff. > The file diff is just phanle change that are related to the node order. > > Seems a nice way to verify if the shuffle didn't drop any node. Therefore run the second method - fdtdump. Best regards, Krzysztof