Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp784423lqe; Sun, 7 Apr 2024 03:59:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURiW62b5s0bj4yCQ+Zephmg5SneY/OBJC1TptnvuKKVq3c4DlFv9Taqynhta5oUAajJX4ESmk1k37qCYkdFoTElv5ISxSFgOpnFdx2vg== X-Google-Smtp-Source: AGHT+IERyFYt+Wn76SWHgC4L0XLti4GaVGZ+o0dyJ83XaMXbbZrFInHTlrIR+6as+7FzrGxrYlcK X-Received: by 2002:ac8:7f95:0:b0:434:6874:605e with SMTP id z21-20020ac87f95000000b004346874605emr5046798qtj.20.1712487577323; Sun, 07 Apr 2024 03:59:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712487577; cv=pass; d=google.com; s=arc-20160816; b=m+Bp+auc3rkyAIAWY4G8R5zgUAz5vtrbDv2EJROmQBlo3RQAwX44XIqshItzTD6gST g/LXSMJC0DCQtqCtcoIKDvAey7tkV1BVNV0XF5r6OP0bhWWcB4/NVyutrYtfPmg67iZv x4AvTfHYzNQZYfPyKhCFIVkF1XnnON9aVlG/vbnz7rusqCun6wdebwGmZaqUriMIS1b1 IHpNn+smBZEtDGZwcgBeSKekNxbwFTrqYlPmvqAyuxCa7w/QcEa5mSlFlo64lznCAUzB 9Xjt+tN5G98hnrAWtNSGcAfqGp4HADVc7pavDCBj78z0FITP9b/3EIhxqjXciwBirvb6 E8GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mUqwJvMwwddQUj3/Op3ujtR7UUXWdIvM3MJCfhjD1tE=; fh=Pyekk1xcXQBHhdI+Vkob0PrFgNLJ25kkbn86nxWjs9Q=; b=qkpnApbLpH+Qyw12nrnesbLU8tV4Awh1zXL37yukksjPuzCywJf6IY5N6JnMcDtA19 9glYt6qyYf3wXqXLQ1xa+pAn09JJ7mYEjGOBJiPkLaKrXqc4MDrbt0wT6b8S7sEgfolt hL3c7r08TZ1dIiUYzgNJ+xblx1L3tYoXioA68IP4jH2T3pLt3ZT9U1/Oa45Grtvdh2Nz ynLW9dZQVJeU3/CUWv0MFurYGCMnzpenwnjIQbuOP8GMOTDSH6sXNlGS4MFpbVKqJr9W bxx6NbuP99amu6yDKjLgOAuWqwPfGKrbhgSoMzG089FofE686KNuKFSpqy2KnIeHsml5 Swzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aKsbdN24; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m16-20020a05622a055000b00434730e0357si2854421qtx.553.2024.04.07.03.59.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 03:59:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aKsbdN24; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-134346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 12F3D1C20FDB for ; Sun, 7 Apr 2024 10:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E3532033E; Sun, 7 Apr 2024 10:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aKsbdN24" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEB5417577; Sun, 7 Apr 2024 10:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712487570; cv=none; b=DD0DyDYqHiRJ6/VlPcBpq7PuXlM3H/euXbXNyGJhNTPMmowJHWiqE7EINAJMZFnL2WOcZ7EIrNJyo1kNCFIy++ygf7LhqcU9m/Q48ZDFen0ktOTVAbXb9a/oVpXtJKH1X42hZfZ1dfkHvA0bBKFZ5C/Qf7SsU3ZfVM6i7VmKdvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712487570; c=relaxed/simple; bh=mUqwJvMwwddQUj3/Op3ujtR7UUXWdIvM3MJCfhjD1tE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SAcJiX7olEMOPzxxpEFt0EV6hL2HM+0Y42DkejoImb0cLrgv+pq/qcMHyQrGZ3i5v/kzaifmS7uywerMwhab6/flYfaRfs+HotyAX/zx0Ow2PWxTM1rwNdAPVHQCTVCGmJtg467+XwthZLMCc1ioSrJuiHaRKjY8PgxwE3Q5EOA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aKsbdN24; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C51AC433F1; Sun, 7 Apr 2024 10:59:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712487570; bh=mUqwJvMwwddQUj3/Op3ujtR7UUXWdIvM3MJCfhjD1tE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aKsbdN24NetxsdAUdftzcQGHZxeRaoDejGMt7iJYzfdfSBOJW/NvlcrebKEceshmz htEB+uslSRnpbNWvN//HFjN7AyG4NbtQtgUAR5rGmXSiXGHC89STlACMQQW9BdBTjD eoyvlkR5FmpwUVF9dq5Fpwb1hs5dyfbyTo23+RlF6+2FlAGyb3E8RJHhDej8EsucF9 0VF1f2+fYuh0/tAk3+VtocRAVvG9cTdeLa4yWGdbY71DpEi1w9TVTQoXUo6SI9EYJk 22nqltABbRh5r4k1uQhqU4yQ+RhKOK88AVgssP7i3/OHJ3UyTfyOw4Xrx/qE5Bwz9d FHvtFiZ+vpQhw== Date: Sun, 7 Apr 2024 11:59:25 +0100 From: Conor Dooley To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Dmitry Baryshkov , Marijn Suijten , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH v2 3/3] dt-bindings: kbuild: Add separate target/dependency for processed-schema.json Message-ID: <20240407-other-widow-399ec7ca8c8f@spud> References: <20240405-dt-kbuild-rework-v2-0-3a035caee357@kernel.org> <20240405-dt-kbuild-rework-v2-3-3a035caee357@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LrPBrqQ2Jt21+wkW" Content-Disposition: inline In-Reply-To: <20240405-dt-kbuild-rework-v2-3-3a035caee357@kernel.org> --LrPBrqQ2Jt21+wkW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 05, 2024 at 05:56:03PM -0500, Rob Herring wrote: > Running dtbs_check and dt_compatible_check targets really only depend > on processed-schema.json, but the dependency is 'dt_binding_check'. That > was sort worked around with the CHECK_DT_BINDING variable in order to > skip some of the work that 'dt_binding_check' does. It still runs the > full checks of the schemas which is not necessary and adds 10s of > seconds to the build time. That's significant when checking only a few > DTBs and with recent changes that have improved the validation time by > 6-7x. >=20 > Add a new target, dt_binding_schema, which just builds > processed-schema.json and can be used as the dependency for other > targets. The scripts_dtc dependency isn't needed either as the examples > aren't built for it. >=20 > Signed-off-by: Rob Herring Yoo, that's pretty nice. 20 seconds cut off my dtbs_check build time on riscv with this change :) As you point out, when you're not checking all that many it is pretty significant - 48 seconds before and 28 seconds now Tested-by: Conor Dooley Thanks, Conor. --LrPBrqQ2Jt21+wkW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZhJ8jQAKCRB4tDGHoIJi 0jngAP9fiiu62rotgAy0KbbE5nvYcdXtnLZ30d8vRNvq0TJFegEAlR0OmWLZUSHx bsiXSS4PqQRiXrr6DDj0IaPJS2n/qw4= =p86i -----END PGP SIGNATURE----- --LrPBrqQ2Jt21+wkW--