Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6773973rwb; Tue, 15 Nov 2022 03:36:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf7c8VpcqUiqkT79z8y5KJv+2j/+Adh9Pv52YkKKAw1VjkKIB4rmpnkOtbDDmkijTPaDbw75 X-Received: by 2002:a17:90b:4397:b0:210:c745:2a22 with SMTP id in23-20020a17090b439700b00210c7452a22mr153113pjb.36.1668512190917; Tue, 15 Nov 2022 03:36:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668512190; cv=none; d=google.com; s=arc-20160816; b=Cv+xbIHfoOmBjNcJOXIza4sdE4yYSmNzj4mrPbm/OfoBYA9vamlaw79MOTPfg4R6w6 w/gq6ASpJsIaKKdrovX820Oq/ufkjyh6aL5hDnAodKIWAcBihcT45G6A4rNv4F3vM6im m1/OCdafe9qJ1wMwFxm2UmkQxf04GISVFhSd+b7UDRrf0DHDYVzpT+KBJ7lydf88mVVS hHrpJ4p1k3M6UfhikFuwcgKsIN+8leqIC2HbYqxPA+HCwAbZNhSC9frhgVlKSPvgsuy9 IXOTVeFBYysy9Ms4NDU+XvycVUYbvdMdCJ9giEHAdLtygI99G4hI59NWuSgB3j6n8Pol 7iBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vOBI6ZLV9QIDYKqXcHlYW5lsvEyR0YUzGffcQgNoU2k=; b=ZBEYJ7OjyEM4ohfK1ulHDIG+MMrtlv781kGqTaQgDNRqEWK/Onteu8Ri3Ov2YETHl3 NZwE5kwCWHyfRVP5716KaChlIwtJfEhlO43npzFDTo3TgWgh7gOBEaT7jXt1vb0tL4HV t7fSWJCzzCrHOhyaYMmPZRH9TKuUdApJpfGJGNxKBcxu/U4BnVyviofLbXAD0T/M1Oz/ em2Da58mGglQ1SEHaLGB5FNXQhAT43rKbkcbppM4R3HnsYqotFcv/zmX4CIL6oFdC8M8 n9JgRWbFK6Kl6Z7tKNG95YQDaluqIBYZROS1PB92WndRw2GXAN2rs5tYyPfFYdVgZVb2 D+sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KvU3rld9; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a170903111000b0017f6a4fd6fbsi13529617plh.123.2022.11.15.03.36.18; Tue, 15 Nov 2022 03:36:30 -0800 (PST) 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=@intel.com header.s=Intel header.b=KvU3rld9; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236921AbiKOL3q (ORCPT + 90 others); Tue, 15 Nov 2022 06:29:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232547AbiKOL3a (ORCPT ); Tue, 15 Nov 2022 06:29:30 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F40361EC5B; Tue, 15 Nov 2022 03:29:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668511755; x=1700047755; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FvdD9kceN5CwXDRlw8ICmZuMX9S+bhG3igZvZo2D/Ig=; b=KvU3rld99IFo2iC2TyzqlaZ+1s3CgXUPtmrs+VhKbV9giM7uj8LYquZc 7IWcsPMYWqA/gjxNbqsDh7CTip3S5ykhMJB790zrQpk7CAVqMxlnci4Kf rDAzNbIkp/30iAX6Ztj/JuemXJvo/4dEK2SH8nFka9LZJEHVpshTaGCi1 9qUnMctwKlVCpYsJdUSniMFQmezu3v8oVlHpFcleNqs0CToj46N3GwBTR 2Dyk9lK5fJ/iJ4h9COVscT+KV3f/DQn5mh+UwRROvmY+1UFh9d+tWMW03 VKKVede6Y3jx7P8spcUSM7cj0j6QvpxShnJEshS6NBtlRj08PQutkzOKi w==; X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="299753203" X-IronPort-AV: E=Sophos;i="5.96,165,1665471600"; d="scan'208";a="299753203" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 03:29:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="589759250" X-IronPort-AV: E=Sophos;i="5.96,165,1665471600"; d="scan'208";a="589759250" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003.jf.intel.com with ESMTP; 15 Nov 2022 03:29:05 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1ouu7i-00Caqh-2J; Tue, 15 Nov 2022 13:29:02 +0200 Date: Tue, 15 Nov 2022 13:29:02 +0200 From: Andy Shevchenko To: Andrew Davis Cc: Rob Herring , Shawn Guo , Li Yang , Sascha Hauer , Krzysztof Kozlowski , Nishanth Menon , Vignesh Raghavendra , Masahiro Yamada , Michal Marek , Nick Desaulniers , Geert Uytterhoeven , Frank Rowand , devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/7] Rename DTB overlay source files Message-ID: References: <20221024173434.32518-1-afd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 Mon, Nov 14, 2022 at 02:43:51PM -0600, Andrew Davis wrote: > On 11/14/22 10:06 AM, Andy Shevchenko wrote: > > On Sun, Nov 13, 2022 at 02:36:33PM +0200, Andy Shevchenko wrote: > > > On Sun, Nov 13, 2022 at 02:20:48PM +0200, Andy Shevchenko wrote: > > > > On Fri, Nov 11, 2022 at 03:05:20PM -0600, Andrew Davis wrote: > > > > > On 11/11/22 1:39 PM, Andy Shevchenko wrote: > > > > > > On Wed, Oct 26, 2022 at 09:11:21AM -0500, Rob Herring wrote: > > > > > > > On Mon, Oct 24, 2022 at 12:34 PM Andrew Davis wrote: > > > > > > > > > > > > > > > > Hello all, > > > > > > > > > > > > > > > > This is a series based on my patch here[0]. As suggested by Rob > > > > > > > > I've resurrected Frank's patch and appended it to mine as a series. > > > > > > > > > > > > > > > > First patch here is my original patch, 3rd is Frank's patch but with > > > > > > > > the unittest changes pulled out into the 2nd patch. That was re-worked > > > > > > > > moving the source building macro into scripts/Makefile.lib. > > > > > > > > > > > > > > > > Patches 4, 5, and 6 are an attempt at renaming all the existing DTB > > > > > > > > overlays. Split out by platform so they could be taken by platform > > > > > > > > maintainers or if easier ACK'd here and taken all together. > > > > > > > > > > > > > > > > This should cover all the DTB overlays so we can remove the old .dts > > > > > > > > rule for overlays and make .dtso the only supported way, let me know > > > > > > > > if we want that this cycle and I can post that too. > > > > > > > > > > > > > > > > Thanks, > > > > > > > > Andrew > > > > > > > > > > > > > > > > Changes from v1[1]: > > > > > > > > - Added patch to rename pi433 overlay. > > > > > > > > - Cleaned wording on patch 4-6. > > > > > > > > - Collected some ACKs > > > > > > > > > > > > > > > > [0] https://www.spinics.net/lists/kernel/msg4548509.html > > > > > > > > [1] https://www.spinics.net/lists/arm-kernel/msg1020165.html > > > > > > > > > > > > > > > > Andrew Davis (6): > > > > > > > > kbuild: Allow DTB overlays to built from .dtso named source files > > > > > > > > kbuild: Allow DTB overlays to built into .dtso.S files > > > > > > > > arm64: dts: freescale: Rename DTB overlay source files from .dts to > > > > > > > > .dtso > > > > > > > > arm64: dts: renesas: Rename DTB overlay source files from .dts to > > > > > > > > .dtso > > > > > > > > arm64: dts: xilinx: Rename DTB overlay source files from .dts to .dtso > > > > > > > > staging: pi433: overlay: Rename overlay source file from .dts to .dtso > > > > > > > > > > > > > > > > Frank Rowand (1): > > > > > > > > of: overlay: rename overlay source files from .dts to .dtso > > > > > > > > > > > > > > I've applied patches 1-3 and 7. I'll send a PR for the branch to the > > > > > > > platform maintainers after a few days in linux-next. > > > > > > > > > > > > The patch > > > > > > > > > > > > commit 941214a512d8c80d47e720c17ec17e8539175e93 > > > > > > Author: Andrew Davis > > > > > > Date: Mon Oct 24 12:34:29 2022 -0500 > > > > > > > > > > > > kbuild: Allow DTB overlays to built into .dtbo.S files > > > > > > > > > > > > broke the build reproducibility / no-op builds. > > > > > > > > > > > > Before: > > > > > > 2+ execution of `make` on non-changed tree did nothing > > > > > > > > > > > > Now: > > > > > > Each run of `make` (even without a single bit changed) restarts vmlinux > > > > > > rebuild. > > > > > > > > > > > > Please, revert or fix. > > > > > > > > > > > > > > > > I do not see this behavior. What config are you using? > > > > > > > > > > Not sure how this patch could be the root cause, it only adds > > > > > a build target/rule, but doesn't actually use it anywhere yet.. > > > > > > > > For your reference I started with this one [1]. > > > > > > > > When I bisected, I just answered with defaults on whatever `make` told me at > > > > the configuration stage. > > > > > > > > The actual `make` command I used: > > > > > > > > make O=/path/to/the/result W=1 C=1 CF=-D__CHECK_ENDIAN__ -j64 > > > > > > > > But there is nothing that can affect the described issue. > > > > > > Actually, O= might affect which Makefile is used and how. > > > The C=, CF= are sparse flags, W= is just warning level. > > > > As far as I can tell right now it's the OF_UNITTEST on x86_64 that makes the > > above mentioned patch to be a culprit. Not sure if on ARM / ARM64 you can > > reproduce that. And it's really strange nobody reported this for a week+. > > > > Whatever, I'm open for the suggestions and material to test. > > I think I found the issue, we forgot to add the new dtbo.S/o files > to the list of preserved intermediate targets, so Make was > removing them after build. > > Sending the fix now. I'll test it ASAP and reply there. Thank you. > > > > [1]: https://p.defau.lt/?ZSOdGnNxF9v9AQtrfDo_KQ -- With Best Regards, Andy Shevchenko