Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2223422pxb; Fri, 25 Mar 2022 13:21:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBiCR3EUUuXmj6nOm4FMCtiC0FSk3AIRe7gGAYaWw7tOuJgh3/HcO59NBgSRzTk8eOj0Kr X-Received: by 2002:a05:6a00:b8e:b0:4fa:de88:9fc7 with SMTP id g14-20020a056a000b8e00b004fade889fc7mr11770344pfj.56.1648239701292; Fri, 25 Mar 2022 13:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648239701; cv=none; d=google.com; s=arc-20160816; b=pCKc/9TyEZiTzdy6lvoF5jlSA6gD/FyS1FYHAN8wNmAJJc8D92rQBjD1klf74C1AZ+ V4+3TQpCMsXP7dEQK+yxsA4uxhkbbKUpi3feWBJk/LHnSyDx/e2c1lkVk7NtzI6Fy1qg 5C+OtZKh4Dpbdkw2GKiMSty/mfszkwxgODqD/OSBeZ6geDzPoIqwVAM1ZL2rQht0An8o 2EP859+sT5hIDQ0pyuE5SstkJ3W1ncNP2+p7/T6vpmNgIMBwJgNsErWH4dwf9X8yIyYZ IA0TWOjTjVBLEZ5eitNXDZmGa99fC6g1qQVzjakDWFkwzlebIiTjkcLJK2zxERvi9w/e khlA== 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=/uC+62gh9ASaYWU9iHiRiXE2TcHkD9PeF++NwFgelTU=; b=pPoMG5/wQBwu+NdPvt0E++efVKopOztrsM2pCVVZ3rHhGJAOSd4nBIEbBK6CAKAMvj JVJE9K7f8KXq9Xlu8ddlqKkW2qAklsQIrsGTgWUhwt5WvkSDkBJKBLoIxFoGiRKGFGri KwhcXBHh2LLk8V347tmFtrsHoCDHQl2MZtQG5RrSsEYXN4YuQMfeZ/9CCs2ODTUvaZFF NhWNJA+AMkYfZfI0XoPAUUp/Wjc1kVegq/YsvQof97R6n8q0CJpU+ecY4oKHbV3XWwQJ kpzd09BNfMoNAvOS64PAfflGBfNgNg6tFhoqf7dvC25mT1TNHC2PtuB5d3OZx9Hj+AVw 9bdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Cwz9lfwu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j9-20020a170902758900b00153b2d1647asi3264533pll.130.2022.03.25.13.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 13:21:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Cwz9lfwu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4F7AF401A86; Fri, 25 Mar 2022 12:31:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229868AbiCYTbT (ORCPT + 99 others); Fri, 25 Mar 2022 15:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229971AbiCYTax (ORCPT ); Fri, 25 Mar 2022 15:30:53 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF53C3E19EB; Fri, 25 Mar 2022 12:26:44 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id gb19so8352811pjb.1; Fri, 25 Mar 2022 12:26:44 -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=/uC+62gh9ASaYWU9iHiRiXE2TcHkD9PeF++NwFgelTU=; b=Cwz9lfwulKIVQ4+wpmRMxuxynoCcw8m8Ti1afP//R2/4U2ZZT8Kl7ei0CVWQZ6VCkm g3CHirkwFWITqiH4pdpThrN4PIsxDR0+MV54mGbDE7HKADuu726EElYYiaSpnehUJ/Yf oWjwAAD0EfAaHoyz5gxhs6qonctlUJ8+vMBZkxJ860iRorl7UV9gtxCnpIZ/5xKt6rU0 mPZT4Cff4a+Vv/4VPUZeYmVUD1pFm/bbA7ox+jpbXaVFwkOiD/VdLiKRAriyLFvYi3DZ K4jLjRqTNYrNiYfzTEgYfPcbVe4YPw8/vhSqCI6Z/91lpaDHwQOpQ7aq9028GKZE4e97 Og9A== 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=/uC+62gh9ASaYWU9iHiRiXE2TcHkD9PeF++NwFgelTU=; b=ctB0MFlODmnsa419bJTL1hGyt50w9PX6MlA7R56ZBUa5tF6vOujMsiJOLubPpRhnK4 KZweu5Q/XnzNTOr5o3hNeKQfavdHCeuDUGYmf8il38dZxFetBB2Q3uNZR1IVcStMkXpG whb38Hz+Zk7CS47skOcioRiYu4WVebCM4P/MjRkY0kCL2I2o5pxP2vQGHlUFFZra95Xr crQvK2Dyc8ysE52kUeoLv0jr71a6c57f2fBcoebQTIm9IU818nheWKdEg9mxeXd5S2uS k8OEboSO9IBJ6YSvUDoH1J7gU5RIGDydAzLbxcIF8weXsvDd5CbMWlN/Iw/AfVDLSR+4 QI2Q== X-Gm-Message-State: AOAM530zcQxd11zSKyPMLCHovx/vtOljRBHNQuFr32bMIHNRAFVNNxRT l2QvHeJf6KeYYsxdJYq6t3Q= X-Received: by 2002:a17:902:7887:b0:154:4f3f:ec54 with SMTP id q7-20020a170902788700b001544f3fec54mr13200826pll.156.1648236404001; Fri, 25 Mar 2022 12:26:44 -0700 (PDT) Received: from 9a2d8922b8f1 ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id m15-20020a638c0f000000b003827bfe1f5csm5878382pgd.7.2022.03.25.12.26.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:26:43 -0700 (PDT) Date: Sat, 26 Mar 2022 00:56:37 +0530 From: Kuldeep Singh To: Arnd Bergmann Cc: Viresh Kumar , Rob Herring , Viresh Kumar , Shiraz Hashim , SoC Team , Linux ARM , DTML , Linux Kernel Mailing List Subject: Re: [PATCH v2] ARM: dts: spear13xx: Update SPI dma properties Message-ID: <20220325192637.GA15904@9a2d8922b8f1> References: <20220323175920.93155-1-singh.kuldeep87k@gmail.com> <20220324023904.h2qfxzxlznggbsyr@vireshk-i7> <20220324062547.GA15504@9a2d8922b8f1> <20220325015849.sazvlevnvdqj5z42@vireshk-i7> <20220325173826.GA70042@9a2d8922b8f1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220325173826.GA70042@9a2d8922b8f1> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Mar 25, 2022 at 11:08:26PM +0530, Kuldeep Singh wrote: > On Fri, Mar 25, 2022 at 10:11:41AM +0100, Arnd Bergmann wrote: > > On Fri, Mar 25, 2022 at 2:58 AM Viresh Kumar wrote: > > > On 24-03-22, 11:55, Kuldeep Singh wrote: > > > > Fixed order of values is important in case of properties like > > > > compatibles etc. In case of dma-names, yes order shouldn't matter here. > > > > > > > > This patch is more of appeasing dtbs_check warning rather than fixing > > > > something. > > > > > > Exactly my point. We have seen similar type of issues with other tools, like > > > coccinelle, earlier and such patches were rejected as the kernel was just fine > > > and tooling needs to be fixed. > > > > > > > It's safe to go with this patch. > > > > I am not sure if there's a provision to exclude dma-names from fix > > > > ordering checks. Rob can help here in providing better insights. > > > > I think it's a question of the scale of the warnings: my understanding is that > > there are only a handful of dts files that trigger the warning at all, and it > > would be rather hard to change the tooling around this. Since the proposed > > dts change is clearly harmless, I don't mind applying it. > > > > Kuldeep, you have probably looked at all dts files in the kernel, can you > > say how many of them are affected by the dma property reordering? > > I have checked spi-pl022.yaml as of now and this was the only one which > was affected with dma ordering. > > For all dts files, I can definitely give a try and will come up with > some numbers. Please note, there are still bindings left to be converted > to yaml format, so won't be able to catch those cases. I checked and found below dts with dma-names warnings[1]. spear1340, spear1310, spear13xx, fsl-ls1043a, fsl-ls1046a Yes Arnd, you were right. Very few dts are affected by dma ordering right now. There might be cases where nodes don't define generic names and thus not running required checks, still I assume the numbers will be very less. So, probably we can go ahead with the change. - Kuldeep [1] root@9a2d8922b8f1:~/linux/torvalds# grep "'rx' was expected" output.txt arch/arm/boot/dts/spear1340-evb.dt.yaml: spi@e0100000: dma-names:0: 'rx' was expected arch/arm/boot/dts/spear1310-evb.dt.yaml: spi@e0100000: dma-names:0: 'rx' was expected arch/arm/boot/dts/spear1340-evb.dt.yaml: serial@b4100000: dma-names:0: 'rx' was expected root@9a2d8922b8f1:~/linux/torvalds# grep "'rx' was expected" arm64_all arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dt.yaml: i2c@2180000: dma-names:0: 'rx' was expected arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dt.yaml: i2c@2180000: dma-names:0: 'rx' was expected arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dt.yaml: i2c@2180000: dma-names:0: 'rx' was expected arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dt.yaml: i2c@2180000: dma-names:0: 'rx' was expected arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dt.yaml: i2c@2180000: dma-names:0: 'rx' was expected