From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6393EC433DF for ; Mon, 29 Jun 2020 20:50:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 459AD206E2 for ; Mon, 29 Jun 2020 20:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593463821; bh=bf1gx6HwyAGL1lgUaDDu+79hOVdRZJ+m+V17HLQNqP8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=AoCOSrlNMQ2Z13MyPOUdbqoseQ70N/dtgYvWn7lQ+yGmtKmYmIeG8L+JUdQi8YNDT wHB6NvbsZB3Al9Fdu3NKOFm877srGvIws2I2PDVARQxSN0KdtSADR/cHNQ0y4Pct8z UvtesTUXlFMteOIE+jyFiWekd99Uu3nVa+GFdUQo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732292AbgF2UuS (ORCPT ); Mon, 29 Jun 2020 16:50:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:46664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731473AbgF2UuI (ORCPT ); Mon, 29 Jun 2020 16:50:08 -0400 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4DEE020720; Mon, 29 Jun 2020 20:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593463807; bh=bf1gx6HwyAGL1lgUaDDu+79hOVdRZJ+m+V17HLQNqP8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=13bkz6rT88bW5ozmcTVlIDpLKBOZ9RXp5Dr9YU/HxouH/lD3TjAXms857cHHw2KkV /2ixNXRUdyyGI63P/xu6opcacLXslGJGqcQJutmchqqO/13Dp1GMejsr+c+vg2puDb qanzweqYc6g3z+fdluowc8Z2mlJoZ+ONrT0Cw5pw= Received: by mail-ot1-f45.google.com with SMTP id d4so16724576otk.2; Mon, 29 Jun 2020 13:50:07 -0700 (PDT) X-Gm-Message-State: AOAM530enl5d2ZGClclltXDXi9w2bAcDslvSppaGQZUxrk+FJUEOQVwb E3C8G1nI7fIl4noVO/zSJ+k5EZMzh9Tx4SgQlg== X-Google-Smtp-Source: ABdhPJzzF4kN7KDy2z2NmYmJxIweiy6VO0KsRTtdXWY9U7ErrDy0wmMgtxFXM1W9UJjV4JYyi44/uK+KLXtRv6Qmytk= X-Received: by 2002:a9d:2646:: with SMTP id a64mr14052433otb.107.1593463806654; Mon, 29 Jun 2020 13:50:06 -0700 (PDT) MIME-Version: 1.0 References: <20200625170434.635114-1-masahiroy@kernel.org> <20200625170434.635114-5-masahiroy@kernel.org> In-Reply-To: <20200625170434.635114-5-masahiroy@kernel.org> From: Rob Herring Date: Mon, 29 Jun 2020 14:49:55 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/4] dt-bindings: split DT schema check rules To: Masahiro Yamada Cc: devicetree@vger.kernel.org, Frank Rowand , Linux Kbuild mailing list , Michal Marek , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 25, 2020 at 11:05 AM Masahiro Yamada wrote: > > When building %.dt.yaml from %.dts, two things happen in a row: > > [1] Run DTC to convert %.dts into %.dt.yaml > > [2] Run dt-validate against %.dt.yaml > > Currently, when any .yaml schema file is updated, processed-schema.yaml > is regenerated, then both [1] and [2] are rerun for all .dts files. > > Actually, we do not need to rerun [1] since the original .dts is not > updated. I have plans (and an intern working on it) to integrate the schema checks into dtc. That's going to make turning on the schema checks just a flag to dtc. I'm not sure if adding the complexity here is worth it as I'd expect much of this patch to go away again. Is there any negative impact on the absolute clean build time? I'm more concerned about that than optimizing rerunning. Rob