Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5299373rwp; Mon, 17 Jul 2023 01:13:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlEzjpP955lkFJjQA1WrdrR6iGvtBFHJviCgRbGX/PL59HWxqJBLsOw/7FOh324gojcM5fvY X-Received: by 2002:a17:906:3f13:b0:993:f276:9696 with SMTP id c19-20020a1709063f1300b00993f2769696mr9644443ejj.35.1689581606000; Mon, 17 Jul 2023 01:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689581605; cv=none; d=google.com; s=arc-20160816; b=d3qAj/X+ujCW2d4dkTD3oRolYZ0iRIslW0McBiTRRmtZ6z+Fn9jbazqBrjzGW5EHzp 9aUHWy5OYAkfiwHPiz/+//DP/5wiADNn98JhCpcPV8H5SjgvcbktzfI+k2nVW+0QwWAt oe15p9wqOhWYAfAZ3Q6N2/3XXGXKN8McBdNJVoD3x79V4vEcbRlQvdkngscRoGZ3GaDb flox2JAbarPPh4kd1NT6Q+tVAoCXCtNh72rV0SYevsCnDBfVO6QVXTIkSEySpCftHzf6 hGMhKPWKbN8pBAH5RbU1uLbN7HdXr83Nw10Mt2kG7trkqnNMx+vV5ZTVSvqYLeLl1pB9 lTHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FmNQm9M+0zn/nMrIBNBkshVCde1QUTYeyBhIVjKtHnY=; fh=RUsuUvn+Z7WHtw5w1W1SRF26xvbis45diVtlpDP3mu8=; b=pIQRcH8borKOTe7YNXF6Hxjubn9AL/+umX52YG7wZcTh8mAh+MtjHYr5JT/xv4CH6O VSahNkHrm461xFFvRx7IAGtKPhsdL8DIiyh2hEAeHUDmR9ttWFmikF49qNWb064CG82O J/AhtbpehEo+Pea9GWtzBHApf9+RFRDJlZS0SE+feRimk34AMxhy1YqoWZWZLCdS2vUb CB0cngRwlprn/nWrpReMtT2WicSb3o9R9fKSJWlZsplNdIWnFQ8LXtpSQP81KtxzVk9j wRbQmg72nZliSnoHfFbEQS/5ajcuA5upsDwnBlV4rM2Ej3tUx76qqwOxeH1SbOBTgO6H zKmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQNpV1XU; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a170906824b00b0098dfdc3f2e6si12846176ejx.982.2023.07.17.01.12.59; Mon, 17 Jul 2023 01:13:25 -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=@linaro.org header.s=google header.b=sQNpV1XU; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230378AbjGQH6N (ORCPT + 99 others); Mon, 17 Jul 2023 03:58:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbjGQH6I (ORCPT ); Mon, 17 Jul 2023 03:58:08 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7603FE for ; Mon, 17 Jul 2023 00:58:05 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9939fbb7191so864849066b.0 for ; Mon, 17 Jul 2023 00:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689580684; x=1692172684; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FmNQm9M+0zn/nMrIBNBkshVCde1QUTYeyBhIVjKtHnY=; b=sQNpV1XUH/ZgObuv1zrTnKpPMULBMO+AzfSKXjvsS1gay3a2emm3/9jpD6YLn7ixyv jqXWoFyybylAJcWZgtp1rebtgXsklM5cTyI7JZs3FsDT/qYKb+eKVg77Ids8kU0kUA0r BjeSfAiC9y3fHSvYk+EgihQ50nn7SHkXzlOJfXmok3IBfsVXlkDx4mnEas4xQGJw3O8f 1r+8G17PPMIuNVEPHgd3KUWhc4WSIkYDR9KnM8hwrp10tHEMdHQ7NuC52eFpZ50IGkSW UsggA7SYOg8U88CMuMQvyfvFh7ndq99ePxJVakwAtXKJgfJ964M/sgBB+a786C8XKtVD TsWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689580684; x=1692172684; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FmNQm9M+0zn/nMrIBNBkshVCde1QUTYeyBhIVjKtHnY=; b=W5JrFKB0f50qrBodlO+vHTGTHX1zJnVev8i31n6VkS3iD0uN7hXwURnPiVR4Jgc6UP mxf4kgL2UNeAlnrTcVgnalwWDyLL5+NN97IYNL1LFg1U1QGYOEQbBAONqvfsfbFFp2De /HEaXKNQ+BOOM6XjiXAvmW6+QohVJJgaHDCgvz/eR6Yp939p62vXPpQ/Y6hWpz5ohXjs LqNQmErg7nUdJusl+MTxWeE6UQ6XkDNltp0bOsErALm0rkUj7NTTZBC0eVWOzjgxMnIS s2pMlnhu51l0UEwp4GG0J5hUHUU3V1Zff9JoRQ9xkh40m2OcW4uNItGy7alfMxKJIDhF PNPw== X-Gm-Message-State: ABy/qLaK7tFVVENlkyMZmc1kO9bCaFRJCk/trTlcaRF5LIpgU6M/aEEg JHX0b0k/Yv872wtg1MxYYLLw3w== X-Received: by 2002:a17:906:225c:b0:994:5407:9ac9 with SMTP id 28-20020a170906225c00b0099454079ac9mr9978026ejr.5.1689580684429; Mon, 17 Jul 2023 00:58:04 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id s7-20020a1709064d8700b00993004239a4sm8794738eju.215.2023.07.17.00.58.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jul 2023 00:58:03 -0700 (PDT) Message-ID: <66cff026-3e7d-f88b-e99f-8100233231bb@linaro.org> Date: Mon, 17 Jul 2023 09:58:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 2/3] Documentation/process: maintainer-soc: add clean platforms profile Content-Language: en-US To: Conor Dooley Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Nishanth Menon , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, Jonathan Corbet , Arnd Bergmann , Olof Johansson , soc@kernel.org, workflows@vger.kernel.org, linux-doc@vger.kernel.org References: <20230714084725.27847-1-krzysztof.kozlowski@linaro.org> <20230714084725.27847-2-krzysztof.kozlowski@linaro.org> <20230714-verbose-unwound-fb8b1df29d25@spud> From: Krzysztof Kozlowski In-Reply-To: <20230714-verbose-unwound-fb8b1df29d25@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 14/07/2023 14:50, Conor Dooley wrote: > Hey Krzysztof, > > On Fri, Jul 14, 2023 at 10:47:24AM +0200, Krzysztof Kozlowski wrote: >> Some SoC platforms require that commits must not bring any new >> dtbs_check warnings. Maintainers of such platforms usually have some >> automation set, so any new warning will be spotted sooner or later. >> Worst case: they run the tests themselves. Document requirements for >> such platforms, so contributors can expect their patches being dropped >> or ignored, if they bring new warnings for existing boards. > > Definitely a more scalable approach than your previous version! > >> Signed-off-by: Krzysztof Kozlowski >> --- >> .../process/maintainer-handbooks.rst | 1 + >> .../process/maintainer-soc-clean-dts.rst | 22 +++++++++++++++++++ >> MAINTAINERS | 2 +- >> 3 files changed, 24 insertions(+), 1 deletion(-) >> create mode 100644 Documentation/process/maintainer-soc-clean-dts.rst >> >> diff --git a/Documentation/process/maintainer-handbooks.rst b/Documentation/process/maintainer-handbooks.rst >> index 9992bfd7eaa3..976391cec528 100644 >> --- a/Documentation/process/maintainer-handbooks.rst >> +++ b/Documentation/process/maintainer-handbooks.rst >> @@ -17,5 +17,6 @@ Contents: >> >> maintainer-netdev >> maintainer-soc >> + maintainer-soc-clean-dts >> maintainer-tip >> maintainer-kvm-x86 >> diff --git a/Documentation/process/maintainer-soc-clean-dts.rst b/Documentation/process/maintainer-soc-clean-dts.rst >> new file mode 100644 >> index 000000000000..87feeb5543ff >> --- /dev/null >> +++ b/Documentation/process/maintainer-soc-clean-dts.rst >> @@ -0,0 +1,22 @@ >> +.. SPDX-License-Identifier: GPL-2.0 >> + >> +============================= >> +SoC Platforms with Strict DTS > > I don't think that this title makes much sense, it feels like it has > been truncated. Perhaps add "Requirements" to the end? OK, but maybe better then SoC Platforms with DTS Compliance Requirements ? > >> +============================= >> + >> +Overview >> +-------- >> + >> +SoC platforms or subarchitectures follow all the rules from > > s/follow/should follow/? Ack > >> +Documentation/process/maintainer-soc.rst. However platforms referencing this >> +document impose additional requirements listed below. >> + >> +Strict DTS DT schema compliance >> +------------------------------- > Should there be a blank line here to match the other section headings? Ack > Also, to match the title case you used elsewhere, "Schema Compliance"? Ack > >> +None of the changes to the SoC platform Devicetree sources (DTS files) can >> +bring new ``make dtbs_check W=1`` warnings. The platform maintainers have > > Nitpickery again, but perhaps the first sentence here would read better as > "No changes to the SoC platform Devicetree sources (DTS files) should > introduce new ``make dtbs_check W=1`` warnings."? Ack > >> +automation in place which should point out any new warnings. >> + >> +If a commit introducing new warning gets accepted somehow, the resulting issues >> +shall be fixed in reasonable time (e.g. within one release) or the commit >> +reverted. > > It is loosely related, but I was wondering if we should also try to push > people that change the platform's bindings to update the DTS also, so > that binding changes do not introduce W=1 complaints? Makes sense, we could add such rule to Devicetree maintainer profile. Anyway enforcing it relies on Rob's bot reporting the warnings, which seems silent recently. > For many bindings the platform entry in MAINTAINERS does not cover them, > but things like the arm64 Apple stuff mention them specifically & others > will get coverage due to regexes. > > Anyway, nitpickery aside I like this approach. > Reviewed-by: Conor Dooley > Best regards, Krzysztof