Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp14147ybm; Mon, 20 May 2019 11:01:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+hZUOAILYYI6c7L7dOD/Q6CV+mFAmtDVYS1AxRy5a/g08QFhf3jPzx4g+8PJDiNW6Ygjk X-Received: by 2002:a63:e451:: with SMTP id i17mr77163552pgk.312.1558375300956; Mon, 20 May 2019 11:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558375300; cv=none; d=google.com; s=arc-20160816; b=QGQe43If7CE4EfuShegrXew2cSRzYhl+TaQoOVRQLmIep4taX1k9aBfJdQPN5AjpaA xhqmF9eff5WPn5/KnHVy1QSEJbEvwhtij21xtVRXuNtKcP6DxMjgOfUMFIs3PoKi1mH1 GZ3uKdadNx+pbBCn8jla1FIjMFxmtrvIxqY1eXtv25TDWPFPnOQuFdjl/XO2W1xRRFJc gxH3ZVkpu5NYpCxyb2rafw5MY3hLNGS/Pvm+90aa3MJCT/YFRtxOZKN+ahdyV6YlMCjf NRMpJ1xxwGwO06YBisDkSpavFxAwJO2CKuFjTsMaeH+0c+PqDNNbPyEl+0Ye/G+C2IUM r27A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PdPxAOzANobj1XxUkeFEYNavzcttEYJY6XRNF+bKCts=; b=ED7Am+f2IeAkavX9/YXRYEQBKj7mivQ/J0ukmcI9gWk1bZ4mg1CpCTG67OQFVgvw0A KB/28/ifra91PTvgkkBXR++5gFcts/2FtvXeB4DetE1v4nl5qJc+2wy/JPt10B/L+SLC AwQQV4IVMMsldOL4nqU6Y4xwQLzuWqUUgmuGvue/eAS+ibJwPsZm9t0P0wTQ3mcRxrpV iYmQu/6++dlzQbRpdNqJKMSWgXAQTSpMwbjuXSgRywEJ8LDvqjqPxpdXVD5LObY8ll2v qWm8NOzJFgJGWiy2C0LM88CMUFT6Z7XqfORoMzoJxvW9Hxi+2oqp3PoFhGs4OaRht+Pm +o6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m191si4324844pga.17.2019.05.20.11.01.25; Mon, 20 May 2019 11:01:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387921AbfETNSv (ORCPT + 99 others); Mon, 20 May 2019 09:18:51 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39103 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727319AbfETNSu (ORCPT ); Mon, 20 May 2019 09:18:50 -0400 X-Originating-IP: 90.88.22.185 Received: from localhost (aaubervilliers-681-1-80-185.w90-88.abo.wanadoo.fr [90.88.22.185]) (Authenticated sender: maxime.ripard@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id F2F5F1C0013; Mon, 20 May 2019 13:18:46 +0000 (UTC) Date: Mon, 20 May 2019 15:18:46 +0200 From: Maxime Ripard To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Convert vendor prefixes to json-schema Message-ID: <20190520131846.tqx7h7sjyw6sgka5@flea> References: <20190510194018.28206-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="26jxfkzgkqsicu7x" Content-Disposition: inline In-Reply-To: <20190510194018.28206-1-robh@kernel.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --26jxfkzgkqsicu7x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Rob, On Fri, May 10, 2019 at 02:40:18PM -0500, Rob Herring wrote: > Convert the vendor prefix registry to a schema. This will enable checking > that new vendor prefixes are added (in addition to the less than perfect > checkpatch.pl check) and will also check against adding other prefixes > which are not vendors. > > Converted vendor-prefixes.txt using the following sed script: > > sed -e 's/\([a-zA-Z0-9\-]*\)[[:space:]]*\([a-zA-Z0-9].*\)/ "^\1,\.\*\":\n description: \2/' > > Signed-off-by: Rob Herring > --- > As vendor prefix updates come in via multiple trees, I plan to merge > this before -rc1 to avoid cross tree conflicts. I just tried this with the 5.2-rc1 release, and this very significantly slows down the validation. With a dtbs_check run on (arm's) sunxi_defconfig, on my core-i5 with 4 threads, I go from 1.30 minutes to more than 12. Should we improve the dt-validate tool before merging this patch? Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --26jxfkzgkqsicu7x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXOKpNgAKCRDj7w1vZxhR xaU/AP4sEcxQ75aEnI0xMbq88t3BZzAEW0xMBgZRESwC/0YwUwEA3Wu9L5Uir8PG cDc3z03Kswww+O1DXoE+XNDbc1gMHwc= =aMcg -----END PGP SIGNATURE----- --26jxfkzgkqsicu7x--