Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp470951rdb; Fri, 6 Oct 2023 08:42:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGC9PYgStDG8VZF9nXea1/Pa0LvxI6vKrjPVtkn0y6aFVXtipnXCG/3JZiZwNKvkvCcCaFR X-Received: by 2002:a05:6a20:ce89:b0:160:97a3:cae9 with SMTP id if9-20020a056a20ce8900b0016097a3cae9mr8222532pzb.54.1696606941132; Fri, 06 Oct 2023 08:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696606941; cv=none; d=google.com; s=arc-20160816; b=SC5CTWRK1PBSJ4SPMzWX5PwWmxoJwWd8jM8yW/cLRnX9YHjcF/vsC7jfFEynYJuLM+ nxGX+NkJleGYVq5UYStWclAvgy+gEdUsxxhNHdI6ij1yCvoQz/uXjIGHtFFWO5kb34ze 8gv96djlllQMXVe/LuMrjqOzl3YDszRm8axkFcrr1L6HG2D5T6dk7Wjjwcz2mp4zJGA6 8Rikhz2+RVz8x7+ZcVVT7+GoUfzqGTeXKxgLIkTd4MTgOF3qRcHJpNPLtVQmuLqCjHiV 7K3Vdaad0/FqTQoziK6Vw1D6UIFe0bqOteQZnvN/bCm4/Pkgh3I/p9JtI3EHROuqAbzp 7Vcg== 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=fI/iXiVcKH0+BnJ8u606nuMNkmzfZAmA12MYakC2yO0=; fh=WvqnQPv45EMqfP6QViJasM9g9/mSf8eOoUNisbZhon8=; b=bwHfWucOyErXTlji1kVIQPBwhiZ8xDZYRmL2v63Tp2ZT4gVMRNWtWdM9GFPy4Arw5l 8fjdUSZIQo3UX70KN6JMLd0cpv0eK7hh4NbsRqavXaFrsETBwxN2x+0W2OGDLGuvPy4/ KslZR3Vfuq2IlMSMTvGKOIdRNVB9X+u0FhEbou4Y0x9+U9zkd9QxTGgHNm5caZ/2o6rL eymQ93x6wUm7bJpWeUSrGIcW+puLIa5PtffXJMfZfEabpWV9KGrXUkSwAx9K8TKPwJBY W6LsPXZ3w1iqWC56khJwWjNfPHXbagaIA8y7Ku8MdD7lKaohoz4+i6tyfmmVI3aU4zYq Rdow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q+fTlW4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id cq7-20020a056a00330700b006933e55a66fsi1680392pfb.182.2023.10.06.08.42.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 08:42:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q+fTlW4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 14EF5807B99A; Fri, 6 Oct 2023 08:42:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232831AbjJFPmH (ORCPT + 99 others); Fri, 6 Oct 2023 11:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232502AbjJFPmG (ORCPT ); Fri, 6 Oct 2023 11:42:06 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D3B9E; Fri, 6 Oct 2023 08:42:05 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CF61C433C7; Fri, 6 Oct 2023 15:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696606924; bh=tbHnpOTYGNIXcPamnhQXfo0iLGWFbnd+Sut1PridISA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=q+fTlW4AFWVXdVUVxU0JJ1SpniY5IUKGTvCJtdjQ584qPnp9muQwgqKjOelOIzOcI vop9zPdKs7uo3bxTD5KwUf7HmNAmzG0Kb8lJRHEQLfxEsLiUW9LdXunFkxk5DL7IrL Ff0FOtaKPav+LEhYajiYOCXqBU/14jzEHcMkKK9N/ep1/tsvdpHgtw36KagNttva5r yJgTofHb2BYs/Sk2xGVzHbbAiZhpRg25HPGCJ2LfNTlr9Ji2z7oI3EJ6JJeAFrBtWO zwIwWdab1BW486GeEcVA30KdOWSHFxcsZjvakG014uRuV40neergrHPV4DIHQ/3iPi evMeT2+EqiyOQ== Message-ID: <4ec509f6-698d-4a58-a49b-8dbb247edb88@kernel.org> Date: Fri, 6 Oct 2023 18:41:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: build warnings after merge of the ti tree Content-Language: en-US To: Rob Herring Cc: Nishanth Menon , "Raghavendra, Vignesh" , Stephen Rothwell , Tero Kristo , Santosh Shilimkar , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux Next Mailing List , "Yadav, Nitin" References: <20231005141536.77538147@canb.auug.org.au> <2905cfc2-912f-4620-9455-2e91586a2839@kernel.org> <20231005132921.2vg6kdcr273bh7et@cabbage> From: Roger Quadros In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 08:42:18 -0700 (PDT) X-Spam-Level: ** On 06/10/2023 16:55, Rob Herring wrote: > On Fri, Oct 6, 2023 at 7:03 AM Roger Quadros wrote: >> >> >> >> On 05/10/2023 16:29, Nishanth Menon wrote: >>> On 16:12-20231005, Roger Quadros wrote: >>>> Hi, >>>> >>>> On 05/10/2023 11:25, Raghavendra, Vignesh wrote: >>>>> + Rob and DT list >>>>> >>>>> Hi Stephen >>>>> >>>>> On 10/5/2023 8:45 AM, Stephen Rothwell wrote: >>>>>> Hi all, >>>>>> >>>>>> [I may have missed this yesterday, sorry] >>>>>> >>>>>> After merging the ti tree, today's linux-next build (arm64 defconfig) >>>>>> produced these warnings: >>>>>> >>>>>> arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #address-cells value >>>>>> arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtso:65.8-140.3: Warning (avoid_default_addr_size): /fragment@3/__overlay__: Relying on default #size-cells value >>>>>> >>>>>> Introduced by commit >>>>>> >>>>>> 45a0c06571e1 ("arm64: dts: ti: am642-evm: Add overlay for NAND expansion card") >>>>>> >>>>> >>>>> Thanks for the report. I will drop the offending comment. >>>>> >>>>> Roger, >>>>> >>>>> Sorry, this would need to be fixed in dtc or need exception from DT >>>>> maintainers to ignore the warnings. >>>> >>>> Please don't drop this patch as the issue is not with the patch but with >>>> the dtc tool itself. >>>> >>>> As this is a DT overlay there is no way to specify address-cells/size-cells >>>> of parent here. This will be resolved only after merge with base tree. >>>> >>>> This will be fixed in next dtc sync. >>>> https://www.spinics.net/lists/devicetree-compiler/msg04036.html >>>> >>>> See further discussion here >>>> https://lore.kernel.org/all/CAL_JsqLmv904+_2EOmsQ__y1yLDvsT+_02i85phuh0cpe7X8NQ@mail.gmail.com/ >>>> >>> >>> Roger, build warnings are a strict NO,NO for kernel. Lets bring in the >>> series *after* the dtc sync is complete. >>> >> >> Hi Rob, >> >> Following commit from dtc is required to resolve this issue. >> >> afbddcd418fb ("Suppress warnings on overlay fragments") > > That is from 2018, so it's been in the kernel's dtc for a long time. Oh, my bad. I saw your Reviewed-by tag and assumed the patch was already upstream. > > I believe what you need is the patch I referenced which hasn't been > applied upstream. > >> FYI. Another patch of similar nature is on its way and will also require the >> above commit to DTC. >> https://lore.kernel.org/all/20231005093739.4071934-3-n-yadav@ti.com/ > > You'll need to fix dtc first. -- cheers, -roger