Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp151650rwi; Wed, 2 Nov 2022 10:18:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6rRIK8I+olZqyuu6uTi+F/kuWjc5kR9zBut6nQ3iQSlgaTHE1LROkeNVdTAw005MUfAaD+ X-Received: by 2002:a65:6702:0:b0:470:15c5:4363 with SMTP id u2-20020a656702000000b0047015c54363mr1805073pgf.546.1667409501524; Wed, 02 Nov 2022 10:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667409501; cv=none; d=google.com; s=arc-20160816; b=T70HAq3Mxw38PnoMw0vsiVW4S+FrrWyyU9P2aZUvt92FcqiDVZUFS2sSwWeodiy8aP p5CWpVUUKwUy7n/4WAP6mT0mr25iFU5xI5Ilvzz4KWFe8s3kJiE1iO1umJMjFyFyioAQ C07PH70lBjJDoDrVYhA7JFfp0YYFCSR8BiC1qUmdSvGKG7HcfRuOlTmtPkJrG55ORT39 Td7BQZ24DV7z/DpbCzWdSD6ZjpfoOIH47vqzGOpPx/fWvM6fIEoJzEOgbhFVWFFIb5Ln P+kvsIjsEgvHRsZ6O7vIe9r43p7vthTBJtIk5qiztfP2wFwNS00yTgN7BiVfJIG9Nxfd V/5A== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DPHZpM3T7GNUF3PTGT7s1XMij8yoCB+al63ICZ+iTrE=; b=Gz0/RK8Uml/8xoHqnUxgaiIprJr0UboBDCFZnBbociC3hXCPMmM1Rbh5X0HMMSeErv OI9FW34WhT29t2+T+0/FBf0sWO3NHbb5JOvGxjwrpnKu7ZRax1DqfUVukObwNpgBBytA Lg+99vPzS5h0VK0UoXeY6G6/NaorqdvYY9DnHyMqyaMyHYZ8jKsmiABJx2u9nTTxIE9B 9PdCs4v6lIuEASl3ujL8ZzzXdB7EFi0mSONy3PolZT0hd4mVXy+7AyvCF7hq2dlDGreP 0RbaeI+ZNZNaMUlzyXOSp6QVQ2iVuJWxy+9yLCdjAWZh5Rha0bmKN0bLFDFCRfWjB6Qc LxWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Zf4qXkpx; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n18-20020a63a512000000b0043541f027e0si18761388pgf.877.2022.11.02.10.18.07; Wed, 02 Nov 2022 10:18:21 -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=@collabora.com header.s=mail header.b=Zf4qXkpx; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbiKBRN4 (ORCPT + 98 others); Wed, 2 Nov 2022 13:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231158AbiKBRNv (ORCPT ); Wed, 2 Nov 2022 13:13:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A36A01D0C3; Wed, 2 Nov 2022 10:13:50 -0700 (PDT) Received: from notapiano (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7AD0066028C5; Wed, 2 Nov 2022 17:13:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667409228; bh=ji3U3ak5nD4n2XqIAQUOdY5r4XOdv7SBDqXsn1vBOFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Zf4qXkpxiJryyHIFvuayAUpf1EuMA5gcze3C5zcESUQ6vpKd3JyYDTPb1XEX30Wk4 KZ602yOuRgovIHUP0WKhlBIm2sNL5RjCrstCvglykMSu5sPoq1XIj81n2In596xdKs XFuq7m28o22PWxMzQpyVWJunDOBC65ReJDfTHUsG6XC5d5beOmE/tjoOl57X/H0Eqp nl2NuVcqzShS9+SUDsAVcLS9j9zuNBFItKupOW17AIqlo7AZvJTIejqjN9BasEludZ IebB2Ycy3pq1AEQYAojmIkKLxxadejxmZIc2S3Qldti/p0V17zaAkhmgKGeo5swe2/ TRyF4vZIc8FSA== Date: Wed, 2 Nov 2022 13:13:43 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Rob Herring Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Masahiro Yamada , Matthias Brugger , Michal Marek , Nick Desaulniers , linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] kbuild: Add DTB_FILES variable for dtbs_check Message-ID: <20221102171343.3ajwlkxhp7s7r36k@notapiano> References: <20221101220304.65715-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221101220304.65715-1-nfraprado@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 01, 2022 at 06:03:03PM -0400, N?colas F. R. A. Prado wrote: > Currently running dtbs_check compiles and runs the DT checker on all > enabled devicetrees against all dt-bindings. This can take a long time, > and is an unnecessary burden when just validating a new devicetree or > changes in an existing one, with the dt-bindings unchanged. > > Similarly to DT_SCHEMA_FILES for dt_binding_check, add a DTB_FILES > variable that can be passed to the dtbs_check make command to restrict > which devicetrees are validated. > > Signed-off-by: N?colas F. R. A. Prado > > --- > Usage example: > make dtbs_check DTB_FILES='arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dtb arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dtb' Hi, I have just learned that it is already possible to achieve the same thing by passing the dtbs explicitly to make and enabling the DTBS_CHECK flag like so: make CHECK_DTBS=y mediatek/mt8192-asurada-spherion-r0.dtb This flag isn't documented anywhere outside the Makefile however. So I'll send a patch documenting it shortly, and this commit can be ignored. Thanks, N?colas