Message ID | 20221024173434.32518-1-afd@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp608850wru; Mon, 24 Oct 2022 12:09:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6LMD152BYtJBmCVaJnwImf2NIkoyhK90hSpsDc1JM+GNeSwksXCV6P11C2MXeLjw6W0+Cf X-Received: by 2002:aa7:818f:0:b0:562:dc99:8a84 with SMTP id g15-20020aa7818f000000b00562dc998a84mr34758378pfi.30.1666638571336; Mon, 24 Oct 2022 12:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666638571; cv=none; d=google.com; s=arc-20160816; b=NpUF4vcNUciJHYQcxkFSDxepS+oFlQJULHy+/kWJ+P//kiZ3+kIUyMmX1tYnIhsLz4 v4ehLrAJ8NfLWPWRv6ULuDs6dTkr3tvdtDKp7eTSVSxXKzCi06RHMvm6GqjPBk+4/Yoj jcZR9KKBTbDfRGcR9Xfl4LLMVRoToL3Sr18PlqzNHnvyL0dX9q40a7r3X73zd+pNOHVl x6pvj9NZt5e/jBilPnxgrBNCHz6OJDqcVSpS9v1QdZb2MbL1Un9Sw7fbYBNmg8dZGe6B 9tnTkp7xzN1e8qwkaVl5rRmKR8n7ErxxlTl3WEsZWquW0jN1ydv+YCeBsRtIwb3pMtr9 /zOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bYB2FaSj8hi0qni5g1MXGuvwVR+hZVuPR2WQUXNnHAQ=; b=hnpcPvppiv3F47EYULyMbrKfnYHV6/c3YtU5jWsxRsKJqX9NgjcNsDn+VD2/xvUsuy l8yuZK4XdPS+QhKr8F6ZARo5STsMW4fMe6Z9fZ0f+L59pRRr9ihUA0SDHSHtT4teITJp x/UW5Qv1Vy5jT2gB8htvD7hjhCuMPj5kYH+rrXQykkWQsXTnYYxzQUDqEuvcTdQ6itQH hIBS2ndRaGkm9uEigjuLW1as5jIflOswNE6/Irflwj/sxrMwHV5VSs5VQQhY+GuREnBV 2O6ufpG9RM4tLxR6UdMXoV4+5eLDr7eAz8QDPKt1E/1aBq5AsFu9AIusN0fZziC3K1C6 p56A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QYGfUKyc; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a056a00080500b0056bc1d790ebsi541391pfk.57.2022.10.24.12.09.17; Mon, 24 Oct 2022 12:09:31 -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=@ti.com header.s=ti-com-17Q1 header.b=QYGfUKyc; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231144AbiJXTGj (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Mon, 24 Oct 2022 15:06:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232828AbiJXTGF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 24 Oct 2022 15:06:05 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90EE0C820C; Mon, 24 Oct 2022 10:45:18 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29OHYZrA031166; Mon, 24 Oct 2022 12:34:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666632875; bh=bYB2FaSj8hi0qni5g1MXGuvwVR+hZVuPR2WQUXNnHAQ=; h=From:To:CC:Subject:Date; b=QYGfUKycPdh9v7Uei33H0Q6OZSKcgRJGXqnUWatbjPE+clSOEMRp+WvigAYHHe4Gv atky2CsYiHsb55bM768Ua4aimWRxUyJeA5Hg6YMZZLSy8ReR5E4UPYd0rd6V2I59/I mBFIIKw71Uu2n1P8eLcC1PUjRmNkymGtbVCgFrs8= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29OHYZui002353 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Oct 2022 12:34:35 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 24 Oct 2022 12:34:35 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 24 Oct 2022 12:34:35 -0500 Received: from ula0226330.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29OHYYIw039154; Mon, 24 Oct 2022 12:34:34 -0500 From: Andrew Davis <afd@ti.com> To: Shawn Guo <shawnguo@kernel.org>, Li Yang <leoyang.li@nxp.com>, Sascha Hauer <s.hauer@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Masahiro Yamada <masahiroy@kernel.org>, Michal Marek <michal.lkml@markovi.net>, Nick Desaulniers <ndesaulniers@google.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Frank Rowand <frowand.list@gmail.com> CC: <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>, Andrew Davis <afd@ti.com> Subject: [PATCH v2 0/7] Rename DTB overlay source files Date: Mon, 24 Oct 2022 12:34:27 -0500 Message-ID: <20221024173434.32518-1-afd@ti.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747597206690909190?= X-GMAIL-MSGID: =?utf-8?q?1747597206690909190?= |
Series |
Rename DTB overlay source files
|
|
Message
Andrew Davis
Oct. 24, 2022, 5:34 p.m. UTC
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 ...qds-13bb.dts => fsl-ls1028a-qds-13bb.dtso} | 0 ...qds-65bb.dts => fsl-ls1028a-qds-65bb.dtso} | 0 ...qds-7777.dts => fsl-ls1028a-qds-7777.dtso} | 0 ...qds-85bb.dts => fsl-ls1028a-qds-85bb.dtso} | 0 ...qds-899b.dts => fsl-ls1028a-qds-899b.dtso} | 0 ...qds-9999.dts => fsl-ls1028a-qds-9999.dtso} | 0 ...ts => imx8mm-venice-gw72xx-0x-imx219.dtso} | 0 ...=> imx8mm-venice-gw72xx-0x-rs232-rts.dtso} | 0 ...dts => imx8mm-venice-gw72xx-0x-rs422.dtso} | 0 ...dts => imx8mm-venice-gw72xx-0x-rs485.dtso} | 0 ...ts => imx8mm-venice-gw73xx-0x-imx219.dtso} | 0 ...=> imx8mm-venice-gw73xx-0x-rs232-rts.dtso} | 0 ...dts => imx8mm-venice-gw73xx-0x-rs422.dtso} | 0 ...dts => imx8mm-venice-gw73xx-0x-rs485.dtso} | 0 ...2.dts => draak-ebisu-panel-aa104xd12.dtso} | 0 ...xd12.dts => salvator-panel-aa104xd12.dtso} | 0 ...v-g-revA.dts => zynqmp-sck-kv-g-revA.dtso} | 0 ...v-g-revB.dts => zynqmp-sck-kv-g-revB.dtso} | 0 drivers/of/unittest-data/Makefile | 66 +++++++++---------- .../{overlay.dts => overlay.dtso} | 0 .../{overlay_0.dts => overlay_0.dtso} | 0 .../{overlay_1.dts => overlay_1.dtso} | 0 .../{overlay_10.dts => overlay_10.dtso} | 0 .../{overlay_11.dts => overlay_11.dtso} | 0 .../{overlay_12.dts => overlay_12.dtso} | 0 .../{overlay_13.dts => overlay_13.dtso} | 0 .../{overlay_15.dts => overlay_15.dtso} | 0 .../{overlay_16.dts => overlay_16.dtso} | 0 .../{overlay_17.dts => overlay_17.dtso} | 0 .../{overlay_18.dts => overlay_18.dtso} | 0 .../{overlay_19.dts => overlay_19.dtso} | 0 .../{overlay_2.dts => overlay_2.dtso} | 0 .../{overlay_20.dts => overlay_20.dtso} | 0 .../{overlay_3.dts => overlay_3.dtso} | 0 .../{overlay_4.dts => overlay_4.dtso} | 0 .../{overlay_5.dts => overlay_5.dtso} | 0 .../{overlay_6.dts => overlay_6.dtso} | 0 .../{overlay_7.dts => overlay_7.dtso} | 0 .../{overlay_8.dts => overlay_8.dtso} | 0 .../{overlay_9.dts => overlay_9.dtso} | 0 ...node.dts => overlay_bad_add_dup_node.dtso} | 0 ...prop.dts => overlay_bad_add_dup_prop.dtso} | 0 ...d_phandle.dts => overlay_bad_phandle.dtso} | 0 ...bad_symbol.dts => overlay_bad_symbol.dtso} | 0 .../{overlay_base.dts => overlay_base.dtso} | 0 ...erlay_gpio_01.dts => overlay_gpio_01.dtso} | 0 ...lay_gpio_02a.dts => overlay_gpio_02a.dtso} | 0 ...lay_gpio_02b.dts => overlay_gpio_02b.dtso} | 0 ...erlay_gpio_03.dts => overlay_gpio_03.dtso} | 0 ...lay_gpio_04a.dts => overlay_gpio_04a.dtso} | 0 ...lay_gpio_04b.dts => overlay_gpio_04b.dtso} | 0 .../{testcases.dts => testcases.dtso} | 0 drivers/of/unittest.c | 48 +++++++------- .../{pi433-overlay.dts => pi433-overlay.dtso} | 0 .../pi433/Documentation/devicetree/pi433.txt | 6 +- scripts/Makefile.lib | 23 ++++++- 56 files changed, 82 insertions(+), 61 deletions(-) rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-13bb.dts => fsl-ls1028a-qds-13bb.dtso} (100%) rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-65bb.dts => fsl-ls1028a-qds-65bb.dtso} (100%) rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-7777.dts => fsl-ls1028a-qds-7777.dtso} (100%) rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-85bb.dts => fsl-ls1028a-qds-85bb.dtso} (100%) rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-899b.dts => fsl-ls1028a-qds-899b.dtso} (100%) rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-9999.dts => fsl-ls1028a-qds-9999.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-imx219.dts => imx8mm-venice-gw72xx-0x-imx219.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-rs232-rts.dts => imx8mm-venice-gw72xx-0x-rs232-rts.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-rs422.dts => imx8mm-venice-gw72xx-0x-rs422.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-rs485.dts => imx8mm-venice-gw72xx-0x-rs485.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-imx219.dts => imx8mm-venice-gw73xx-0x-imx219.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-rs232-rts.dts => imx8mm-venice-gw73xx-0x-rs232-rts.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-rs422.dts => imx8mm-venice-gw73xx-0x-rs422.dtso} (100%) rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-rs485.dts => imx8mm-venice-gw73xx-0x-rs485.dtso} (100%) rename arch/arm64/boot/dts/renesas/{draak-ebisu-panel-aa104xd12.dts => draak-ebisu-panel-aa104xd12.dtso} (100%) rename arch/arm64/boot/dts/renesas/{salvator-panel-aa104xd12.dts => salvator-panel-aa104xd12.dtso} (100%) rename arch/arm64/boot/dts/xilinx/{zynqmp-sck-kv-g-revA.dts => zynqmp-sck-kv-g-revA.dtso} (100%) rename arch/arm64/boot/dts/xilinx/{zynqmp-sck-kv-g-revB.dts => zynqmp-sck-kv-g-revB.dtso} (100%) rename drivers/of/unittest-data/{overlay.dts => overlay.dtso} (100%) rename drivers/of/unittest-data/{overlay_0.dts => overlay_0.dtso} (100%) rename drivers/of/unittest-data/{overlay_1.dts => overlay_1.dtso} (100%) rename drivers/of/unittest-data/{overlay_10.dts => overlay_10.dtso} (100%) rename drivers/of/unittest-data/{overlay_11.dts => overlay_11.dtso} (100%) rename drivers/of/unittest-data/{overlay_12.dts => overlay_12.dtso} (100%) rename drivers/of/unittest-data/{overlay_13.dts => overlay_13.dtso} (100%) rename drivers/of/unittest-data/{overlay_15.dts => overlay_15.dtso} (100%) rename drivers/of/unittest-data/{overlay_16.dts => overlay_16.dtso} (100%) rename drivers/of/unittest-data/{overlay_17.dts => overlay_17.dtso} (100%) rename drivers/of/unittest-data/{overlay_18.dts => overlay_18.dtso} (100%) rename drivers/of/unittest-data/{overlay_19.dts => overlay_19.dtso} (100%) rename drivers/of/unittest-data/{overlay_2.dts => overlay_2.dtso} (100%) rename drivers/of/unittest-data/{overlay_20.dts => overlay_20.dtso} (100%) rename drivers/of/unittest-data/{overlay_3.dts => overlay_3.dtso} (100%) rename drivers/of/unittest-data/{overlay_4.dts => overlay_4.dtso} (100%) rename drivers/of/unittest-data/{overlay_5.dts => overlay_5.dtso} (100%) rename drivers/of/unittest-data/{overlay_6.dts => overlay_6.dtso} (100%) rename drivers/of/unittest-data/{overlay_7.dts => overlay_7.dtso} (100%) rename drivers/of/unittest-data/{overlay_8.dts => overlay_8.dtso} (100%) rename drivers/of/unittest-data/{overlay_9.dts => overlay_9.dtso} (100%) rename drivers/of/unittest-data/{overlay_bad_add_dup_node.dts => overlay_bad_add_dup_node.dtso} (100%) rename drivers/of/unittest-data/{overlay_bad_add_dup_prop.dts => overlay_bad_add_dup_prop.dtso} (100%) rename drivers/of/unittest-data/{overlay_bad_phandle.dts => overlay_bad_phandle.dtso} (100%) rename drivers/of/unittest-data/{overlay_bad_symbol.dts => overlay_bad_symbol.dtso} (100%) rename drivers/of/unittest-data/{overlay_base.dts => overlay_base.dtso} (100%) rename drivers/of/unittest-data/{overlay_gpio_01.dts => overlay_gpio_01.dtso} (100%) rename drivers/of/unittest-data/{overlay_gpio_02a.dts => overlay_gpio_02a.dtso} (100%) rename drivers/of/unittest-data/{overlay_gpio_02b.dts => overlay_gpio_02b.dtso} (100%) rename drivers/of/unittest-data/{overlay_gpio_03.dts => overlay_gpio_03.dtso} (100%) rename drivers/of/unittest-data/{overlay_gpio_04a.dts => overlay_gpio_04a.dtso} (100%) rename drivers/of/unittest-data/{overlay_gpio_04b.dts => overlay_gpio_04b.dtso} (100%) rename drivers/of/unittest-data/{testcases.dts => testcases.dtso} (100%) rename drivers/staging/pi433/Documentation/devicetree/{pi433-overlay.dts => pi433-overlay.dtso} (100%)
Comments
Hi Andrew, On 10/24/22 12:34, 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 for picking this up and moving it forward. I've reviewed patches 1 - 3, and took a quick look at 4 - 7 (which also look fine at a glance). -Frank > > 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 > > ...qds-13bb.dts => fsl-ls1028a-qds-13bb.dtso} | 0 > ...qds-65bb.dts => fsl-ls1028a-qds-65bb.dtso} | 0 > ...qds-7777.dts => fsl-ls1028a-qds-7777.dtso} | 0 > ...qds-85bb.dts => fsl-ls1028a-qds-85bb.dtso} | 0 > ...qds-899b.dts => fsl-ls1028a-qds-899b.dtso} | 0 > ...qds-9999.dts => fsl-ls1028a-qds-9999.dtso} | 0 > ...ts => imx8mm-venice-gw72xx-0x-imx219.dtso} | 0 > ...=> imx8mm-venice-gw72xx-0x-rs232-rts.dtso} | 0 > ...dts => imx8mm-venice-gw72xx-0x-rs422.dtso} | 0 > ...dts => imx8mm-venice-gw72xx-0x-rs485.dtso} | 0 > ...ts => imx8mm-venice-gw73xx-0x-imx219.dtso} | 0 > ...=> imx8mm-venice-gw73xx-0x-rs232-rts.dtso} | 0 > ...dts => imx8mm-venice-gw73xx-0x-rs422.dtso} | 0 > ...dts => imx8mm-venice-gw73xx-0x-rs485.dtso} | 0 > ...2.dts => draak-ebisu-panel-aa104xd12.dtso} | 0 > ...xd12.dts => salvator-panel-aa104xd12.dtso} | 0 > ...v-g-revA.dts => zynqmp-sck-kv-g-revA.dtso} | 0 > ...v-g-revB.dts => zynqmp-sck-kv-g-revB.dtso} | 0 > drivers/of/unittest-data/Makefile | 66 +++++++++---------- > .../{overlay.dts => overlay.dtso} | 0 > .../{overlay_0.dts => overlay_0.dtso} | 0 > .../{overlay_1.dts => overlay_1.dtso} | 0 > .../{overlay_10.dts => overlay_10.dtso} | 0 > .../{overlay_11.dts => overlay_11.dtso} | 0 > .../{overlay_12.dts => overlay_12.dtso} | 0 > .../{overlay_13.dts => overlay_13.dtso} | 0 > .../{overlay_15.dts => overlay_15.dtso} | 0 > .../{overlay_16.dts => overlay_16.dtso} | 0 > .../{overlay_17.dts => overlay_17.dtso} | 0 > .../{overlay_18.dts => overlay_18.dtso} | 0 > .../{overlay_19.dts => overlay_19.dtso} | 0 > .../{overlay_2.dts => overlay_2.dtso} | 0 > .../{overlay_20.dts => overlay_20.dtso} | 0 > .../{overlay_3.dts => overlay_3.dtso} | 0 > .../{overlay_4.dts => overlay_4.dtso} | 0 > .../{overlay_5.dts => overlay_5.dtso} | 0 > .../{overlay_6.dts => overlay_6.dtso} | 0 > .../{overlay_7.dts => overlay_7.dtso} | 0 > .../{overlay_8.dts => overlay_8.dtso} | 0 > .../{overlay_9.dts => overlay_9.dtso} | 0 > ...node.dts => overlay_bad_add_dup_node.dtso} | 0 > ...prop.dts => overlay_bad_add_dup_prop.dtso} | 0 > ...d_phandle.dts => overlay_bad_phandle.dtso} | 0 > ...bad_symbol.dts => overlay_bad_symbol.dtso} | 0 > .../{overlay_base.dts => overlay_base.dtso} | 0 > ...erlay_gpio_01.dts => overlay_gpio_01.dtso} | 0 > ...lay_gpio_02a.dts => overlay_gpio_02a.dtso} | 0 > ...lay_gpio_02b.dts => overlay_gpio_02b.dtso} | 0 > ...erlay_gpio_03.dts => overlay_gpio_03.dtso} | 0 > ...lay_gpio_04a.dts => overlay_gpio_04a.dtso} | 0 > ...lay_gpio_04b.dts => overlay_gpio_04b.dtso} | 0 > .../{testcases.dts => testcases.dtso} | 0 > drivers/of/unittest.c | 48 +++++++------- > .../{pi433-overlay.dts => pi433-overlay.dtso} | 0 > .../pi433/Documentation/devicetree/pi433.txt | 6 +- > scripts/Makefile.lib | 23 ++++++- > 56 files changed, 82 insertions(+), 61 deletions(-) > rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-13bb.dts => fsl-ls1028a-qds-13bb.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-65bb.dts => fsl-ls1028a-qds-65bb.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-7777.dts => fsl-ls1028a-qds-7777.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-85bb.dts => fsl-ls1028a-qds-85bb.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-899b.dts => fsl-ls1028a-qds-899b.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{fsl-ls1028a-qds-9999.dts => fsl-ls1028a-qds-9999.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-imx219.dts => imx8mm-venice-gw72xx-0x-imx219.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-rs232-rts.dts => imx8mm-venice-gw72xx-0x-rs232-rts.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-rs422.dts => imx8mm-venice-gw72xx-0x-rs422.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw72xx-0x-rs485.dts => imx8mm-venice-gw72xx-0x-rs485.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-imx219.dts => imx8mm-venice-gw73xx-0x-imx219.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-rs232-rts.dts => imx8mm-venice-gw73xx-0x-rs232-rts.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-rs422.dts => imx8mm-venice-gw73xx-0x-rs422.dtso} (100%) > rename arch/arm64/boot/dts/freescale/{imx8mm-venice-gw73xx-0x-rs485.dts => imx8mm-venice-gw73xx-0x-rs485.dtso} (100%) > rename arch/arm64/boot/dts/renesas/{draak-ebisu-panel-aa104xd12.dts => draak-ebisu-panel-aa104xd12.dtso} (100%) > rename arch/arm64/boot/dts/renesas/{salvator-panel-aa104xd12.dts => salvator-panel-aa104xd12.dtso} (100%) > rename arch/arm64/boot/dts/xilinx/{zynqmp-sck-kv-g-revA.dts => zynqmp-sck-kv-g-revA.dtso} (100%) > rename arch/arm64/boot/dts/xilinx/{zynqmp-sck-kv-g-revB.dts => zynqmp-sck-kv-g-revB.dtso} (100%) > rename drivers/of/unittest-data/{overlay.dts => overlay.dtso} (100%) > rename drivers/of/unittest-data/{overlay_0.dts => overlay_0.dtso} (100%) > rename drivers/of/unittest-data/{overlay_1.dts => overlay_1.dtso} (100%) > rename drivers/of/unittest-data/{overlay_10.dts => overlay_10.dtso} (100%) > rename drivers/of/unittest-data/{overlay_11.dts => overlay_11.dtso} (100%) > rename drivers/of/unittest-data/{overlay_12.dts => overlay_12.dtso} (100%) > rename drivers/of/unittest-data/{overlay_13.dts => overlay_13.dtso} (100%) > rename drivers/of/unittest-data/{overlay_15.dts => overlay_15.dtso} (100%) > rename drivers/of/unittest-data/{overlay_16.dts => overlay_16.dtso} (100%) > rename drivers/of/unittest-data/{overlay_17.dts => overlay_17.dtso} (100%) > rename drivers/of/unittest-data/{overlay_18.dts => overlay_18.dtso} (100%) > rename drivers/of/unittest-data/{overlay_19.dts => overlay_19.dtso} (100%) > rename drivers/of/unittest-data/{overlay_2.dts => overlay_2.dtso} (100%) > rename drivers/of/unittest-data/{overlay_20.dts => overlay_20.dtso} (100%) > rename drivers/of/unittest-data/{overlay_3.dts => overlay_3.dtso} (100%) > rename drivers/of/unittest-data/{overlay_4.dts => overlay_4.dtso} (100%) > rename drivers/of/unittest-data/{overlay_5.dts => overlay_5.dtso} (100%) > rename drivers/of/unittest-data/{overlay_6.dts => overlay_6.dtso} (100%) > rename drivers/of/unittest-data/{overlay_7.dts => overlay_7.dtso} (100%) > rename drivers/of/unittest-data/{overlay_8.dts => overlay_8.dtso} (100%) > rename drivers/of/unittest-data/{overlay_9.dts => overlay_9.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_add_dup_node.dts => overlay_bad_add_dup_node.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_add_dup_prop.dts => overlay_bad_add_dup_prop.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_phandle.dts => overlay_bad_phandle.dtso} (100%) > rename drivers/of/unittest-data/{overlay_bad_symbol.dts => overlay_bad_symbol.dtso} (100%) > rename drivers/of/unittest-data/{overlay_base.dts => overlay_base.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_01.dts => overlay_gpio_01.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_02a.dts => overlay_gpio_02a.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_02b.dts => overlay_gpio_02b.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_03.dts => overlay_gpio_03.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_04a.dts => overlay_gpio_04a.dtso} (100%) > rename drivers/of/unittest-data/{overlay_gpio_04b.dts => overlay_gpio_04b.dtso} (100%) > rename drivers/of/unittest-data/{testcases.dts => testcases.dtso} (100%) > rename drivers/staging/pi433/Documentation/devicetree/{pi433-overlay.dts => pi433-overlay.dtso} (100%) >
On Mon, Oct 24, 2022 at 12:34 PM Andrew Davis <afd@ti.com> 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. Rob
On Wed, Oct 26, 2022 at 09:11:21AM -0500, Rob Herring wrote: > On Mon, Oct 24, 2022 at 12:34 PM Andrew Davis <afd@ti.com> 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 <afd@ti.com> 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.
On Fri, Nov 11, 2022 at 09:39:57PM +0200, 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 <afd@ti.com> 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 <afd@ti.com> > 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. git bisect start # good: [f0c4d9fc9cc9462659728d168387191387e903cc] Linux 6.1-rc4 git bisect good f0c4d9fc9cc9462659728d168387191387e903cc # bad: [f8f60f322f0640c8edda2942ca5f84b7a27c417a] Add linux-next specific files for 20221111 git bisect bad f8f60f322f0640c8edda2942ca5f84b7a27c417a # good: [66500d0e2e5c9b64fc5d3f4879e2140572e1b386] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git git bisect good 66500d0e2e5c9b64fc5d3f4879e2140572e1b386 # bad: [080c1179d77ad36d6e51469b68801ef341ec292a] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git git bisect bad 080c1179d77ad36d6e51469b68801ef341ec292a # good: [7f5ff6593cc1b1ec2442be30eaf043cf09fa9282] Merge branch 'for-next' of https://gitlab.freedesktop.org/drm/tegra.git git bisect good 7f5ff6593cc1b1ec2442be30eaf043cf09fa9282 # good: [c16d93a496889347965a860dc4fe493b642f8aff] Merge branch 'for-next' of git://git.kernel.dk/linux-block.git git bisect good c16d93a496889347965a860dc4fe493b642f8aff # good: [c9ef15a7221d84edcf03b422ef0a4e43affda226] Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity git bisect good c9ef15a7221d84edcf03b422ef0a4e43affda226 # good: [736894df52110a9e2e106708d848ab08516e5910] Merge branch 'next/dt' into for-next git bisect good 736894df52110a9e2e106708d848ab08516e5910 # good: [d19d44e32c93cfa815b22ee2254cd1f541a20116] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git git bisect good d19d44e32c93cfa815b22ee2254cd1f541a20116 # good: [93cc2559d3fdcd28b1a7972ab519a6cd8ba20f9d] spi: Remove the obsolte u64_stats_fetch_*_irq() users. git bisect good 93cc2559d3fdcd28b1a7972ab519a6cd8ba20f9d # bad: [26c9134a370ace32cda7a3f9efaf4ca85e57ca8d] Merge branch 'dt/dtbo-rename' into dt/next git bisect bad 26c9134a370ace32cda7a3f9efaf4ca85e57ca8d # good: [c9adc3bd1180d2911d2b1b886dbec916805be998] dt-bindings: Remove "status" from schema examples, again git bisect good c9adc3bd1180d2911d2b1b886dbec916805be998 # bad: [fa9665ef77f5d8e861e2ed7563ebdbddddc6f82b] staging: pi433: overlay: Rename overlay source file from .dts to .dtso git bisect bad fa9665ef77f5d8e861e2ed7563ebdbddddc6f82b # bad: [941214a512d8c80d47e720c17ec17e8539175e93] kbuild: Allow DTB overlays to built into .dtbo.S files git bisect bad 941214a512d8c80d47e720c17ec17e8539175e93 # good: [363547d2191cbc32ca954ba75d72908712398ff2] kbuild: Allow DTB overlays to built from .dtso named source files git bisect good 363547d2191cbc32ca954ba75d72908712398ff2 # first bad commit: [941214a512d8c80d47e720c17ec17e8539175e93] kbuild: Allow DTB overlays to built into .dtbo.S files
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 <afd@ti.com> 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 <afd@ti.com> > 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.. Andrew
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 <afd@ti.com> 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 <afd@ti.com> > > 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. [1]: https://p.defau.lt/?ZSOdGnNxF9v9AQtrfDo_KQ
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 <afd@ti.com> 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 <afd@ti.com> > > > 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. > [1]: https://p.defau.lt/?ZSOdGnNxF9v9AQtrfDo_KQ
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 <afd@ti.com> 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 <afd@ti.com> > > 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.. Just to confirm, I reverted the patch and everything went fine again, so simple revert helps! (Tested on today's Linux Next)
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 <afd@ti.com> 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 <afd@ti.com> > > > > 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. > > [1]: https://p.defau.lt/?ZSOdGnNxF9v9AQtrfDo_KQ
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 <afd@ti.com> 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 <afd@ti.com> >>>>> 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. Thanks, Andrew >>> [1]: https://p.defau.lt/?ZSOdGnNxF9v9AQtrfDo_KQ >
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 <afd@ti.com> 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 <afd@ti.com> > > > > > > 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