Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3786482rdh; Tue, 28 Nov 2023 04:03:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGy8Afvx1athPbNZaDrvuqQ8IWlzZe0slaF6VLyHtvjmzWXxieOB1gk6couAmUSn8KA5/xR X-Received: by 2002:a05:6a00:1daa:b0:6be:59f:5172 with SMTP id z42-20020a056a001daa00b006be059f5172mr16477961pfw.19.1701173012264; Tue, 28 Nov 2023 04:03:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701173012; cv=none; d=google.com; s=arc-20160816; b=EJ+IoD+/nE57Qjg9Mw7W29rv63FVbwY8ZMmX4aiwGSAbdKfxDs7mRNLuFhMce5BgWv U8nmM6jqDRSffEsUckvs9zwJr64HZgb6ufP5KVmHGPRWLh0pim/w1gK0sLHtQOB+pMG4 NtgGudasYvkXQX9UaTW2IM15dL0EWZCHh6x7wCUZhDFAOyIIS4WMWJ/6+JTAHoLtQBEP GdnD05CtQRmSFkmLv+TjYh3lqPfTS9PLLl7ILbPynOQ2koFkN+J3z4GJaJo7soAN5yOJ mPBsilC4FUfBpcz7zgycfWE/6KqJOjJomfqERrv+HORfmI2TrbB91TgUQKc9Wk0meFED C0kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3BiMRnFjUmC4Ef1QLu9RUDUm/1p9ZMD1TW1z808EAXI=; fh=YXJCvSc/iMYw4x3kbSA0d5BBc0vucRlkVKOpdHHhx/A=; b=rHwYNjI07CPUOCrExY41r/m1PIgbkP/BbzMaSpgHtIpxfI48oEWh55G0mrFrVUdaWx F3xYSX1+WyuI/qMAT4j54y53pjMe2pzlYmD6K/L7a+klEwfI27itmK8+W2CtQn1rqQtl Rnrje//cUBBa4dIw7qpFv4QMfKMJH+GE8jv7wSmG1KdRX/Pigpeoh7fK8y/1pwvIEvro xpK/Xe7oGgZ4QTR/246yGjexVvdSB9iC9A1io8n1UtS0iV4n3mvaLE3PvFDKOGA5lSdV oagGiLrP9g3KXWgnynRQqfN9+q71lq4m1knuzEdsLwJLKelVcRuw26Rf5gQ0Qd4Gc5M8 OQvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sv0moNEI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id w8-20020a656948000000b005bddb7249e0si13286497pgq.313.2023.11.28.04.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 04:03:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sv0moNEI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 166AB80952C8; Tue, 28 Nov 2023 04:03:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344345AbjK1MCx (ORCPT + 99 others); Tue, 28 Nov 2023 07:02:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344268AbjK1MCv (ORCPT ); Tue, 28 Nov 2023 07:02:51 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E302B0 for ; Tue, 28 Nov 2023 04:02:58 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47D59C43395; Tue, 28 Nov 2023 12:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701172978; bh=tkisRUNNY/d67zoz0XA6BZXue7+K+QjhY+cL0sK45N8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=sv0moNEISqAvIRepmeldusBufgOdTcqt5uw7EgC03dJNooOu6yLd9UagBF49Pq5oV nuxldMXUbHev2H7y9Z0bND2qTUshxyEHfw40PUMU5GRpmnlw3/lmIFw3bmo2oi4HKK 3nv7+VgALDGdeBGLMdVtFpfC/dwrXrZf5RrrvEiE3ppWMZaF7+2JP5BLcT2pu8gpqF t9PImNSajJ3jx70BxXDGfAEBM0EIfnyjL66CugRoFldWEmOXJKI+gpDPfR9xQRfyMi uwtuEm2YpH3wWALrbtqg9gCvW1smFJ0BXnCMtILNLb39eIl7Ts+y8liW6eDOuA0XUq CiDCP3bAiiDbA== Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-1fa486a0e10so1387578fac.3; Tue, 28 Nov 2023 04:02:58 -0800 (PST) X-Gm-Message-State: AOJu0YxBp5OpxrU7RhSBFyROqalFRhDW9ewwn+HlOtHqfegueV0K1g51 4r/stXtFkG5DEbpuZsv/4h0a2dQs3osWpzelLqM= X-Received: by 2002:a05:6871:5824:b0:1fa:26b7:af18 with SMTP id oj36-20020a056871582400b001fa26b7af18mr12432388oac.17.1701172977577; Tue, 28 Nov 2023 04:02:57 -0800 (PST) MIME-Version: 1.0 References: <20231122-dtc-warnings-v2-0-bd4087325392@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Tue, 28 Nov 2023 21:02:21 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] kbuild: Per arch/platform dtc warning levels To: Rob Herring Cc: Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Krzysztof Kozlowski , Alim Akhtar , Conor Dooley , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 28 Nov 2023 04:03:09 -0800 (PST) On Mon, Nov 27, 2023 at 11:03=E2=80=AFPM Rob Herring wrot= e: > > On Thu, Nov 23, 2023 at 1:39=E2=80=AFAM Masahiro Yamada wrote: > > > > On Thu, Nov 23, 2023 at 7:12=E2=80=AFAM Rob Herring w= rote: > > > > > > This series adds support to set the dtc extra warning level on a per > > > arch or per platform (directory really) basis. > > > > > > The first version of this was just a simple per directory override fo= r > > > Samsung platforms, but Conor asked to be able to do this for all of > > > riscv. > > > > > > For merging, either I can take the whole thing or the riscv and samsu= ng > > > patches can go via their normal trees. The added variable will have n= o > > > effect until merged with patch 2. > > > > > > v1: > > > - https://lore.kernel.org/all/20231116211739.3228239-1-robh@kernel.o= rg/ > > > > > > Signed-off-by: Rob Herring > > > --- > > > > > > There were some attempts in the past to enable W=3D1 in particular subs= ystems, > > so here is a similar comment. > > > > Adding a new warning flag to W=3D1 is always safe without doing any com= pile test. > > > > With this series, it would not be true any more because a new warning i= n W=3D1 > > would potentially break riscv/samsung platforms. > > The difference here is the people potentially adding warnings are also > the ones ensuring no warnings. > > > Linus requires a clean build (i.e. zero warning) when W=3D option is no= t given. > > Linus doesn't build any of this AFAICT. We are not always warning free > for W=3D0 with dtbs. Does it mean, you can enable all warnings by default? > > Rob > --=20 Best Regards Masahiro Yamada