Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp165074rdh; Wed, 22 Nov 2023 23:39:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IE6DNY5YpefQCjQYEHlpIQ2PPmF3EXn76Uuk29z2zqiOD+LGld++SKTBvejmHwJ9qiDx4we X-Received: by 2002:a05:6a00:368c:b0:6c5:e1f:184a with SMTP id dw12-20020a056a00368c00b006c50e1f184amr5457659pfb.28.1700725171092; Wed, 22 Nov 2023 23:39:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700725171; cv=none; d=google.com; s=arc-20160816; b=H7BQ+MEJV1wb/MrRFEg8xWevg8eaZW/lQC2utwZsUn0kq76cMXgU1iqDC8odpRYYbD 4Ly5DQvrLs2mzbW6uophysfurKtAr2ZOD4lqVbmbzB+iueACob7BB1AZVd3YfktfecNC QYErl00RrwOzK1LGi7HOq2KHfH6BiQIs/C7cWVw6Cvy13vy1MDGVUcfCg0ovCK+iTSvJ WQvrTNwvOIw6OjvchieEsGtcwgSbrL2bH8P0JaTMRbk0hMwwjNGn+RvcfyjKNBjRBWjn VPHJtEgn75VCdMyI36076L6iROunW7zWHHdss7PnyyBWBfd4d51Oyk19DeMfaqGxhGxs bc4g== 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=df8QhCaGzzThMdlorvJfbsr8bo/gQH835GA2/6+0YeI=; fh=YXJCvSc/iMYw4x3kbSA0d5BBc0vucRlkVKOpdHHhx/A=; b=bIQdvoLkhBLlZokAHa1gi2bGIulcWn1p5yz+R3/I+W0JX4jrjuG9Qfjnj8/KwKIgbT bIy/BSP4xsq+a43nBhaNvbE4Y6f2A0aUfDfw1xJ8HTbAaSlAiwLHP7cwCofR0NpZkZDp b4S2Ki6hjF7hli0tDW+7nE0tbH4gci+qx+ee+hxTeUO+XmaSbn1zg2ZbmS3uHPbrxqjW 2ojmXJApN/uOBSBFo3CF6Y3HuG+har1S4cZXQZZLFA8xRiBsLH+UdIcLyPiWjTNwjC17 8U5bY0eBLckBk/miKUtFc6X9MH1X4qaO+UahHlQvznYxnfRiNjVAlaD1nR5cyLVlN7Cj NyQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CQQ3yDji; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b16-20020a6567d0000000b005bd18d53c2bsi782226pgs.885.2023.11.22.23.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 23:39:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CQQ3yDji; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 1831583BFC5D; Wed, 22 Nov 2023 23:39:28 -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 S231407AbjKWHjM (ORCPT + 99 others); Thu, 23 Nov 2023 02:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbjKWHjK (ORCPT ); Thu, 23 Nov 2023 02:39:10 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2453D1AE for ; Wed, 22 Nov 2023 23:39:15 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BACE2C433CA; Thu, 23 Nov 2023 07:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700725154; bh=dnmMd/Gc51YGnbhok9mTHLUrlL/9RJjKE3NYV+vKfVY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=CQQ3yDjiaKQqXGl+F6WcMG1ruJBisZBke27GVjPRyHrQlhGpCyvtEUrGUWSpj4hCk 8ZqRP+sP3sSSqHK2zhMDkB0WGWRRPV3y+hFZogyl8aOCzDOoClk0xEMFgiBGc/oFmz 0IRp62rFN9A1VDadsEyDaD0ETrwL9TdooE7LzY4naj9tMp6UnzsBzgS7ajz/1Ghwr9 9mgK6xbwT+xtfo/UMTJ2bpznMC9sUmUxU6WY43I0Uurps2e/P9mxE/ba2a3GIAwAlA LOLhilZLVDO2sd7yLrNdgdKY/pXI3UkhyjUUqKD3hWhpFmlOPXke2dKDX1bh2/HbHv UdIzPBThbuZHA== Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-1eb39505ba4so436592fac.0; Wed, 22 Nov 2023 23:39:14 -0800 (PST) X-Gm-Message-State: AOJu0YzU2M5Z7lhvk9uyvpKe2Jm6PtQNs1UrtebJbYt1q7jMzKFIloxS MKJkt2HQ6KzlTnkOymQVSF0C5xK2KMqdHOeGWb0= X-Received: by 2002:a05:6870:6c0a:b0:1f0:d96:8d9c with SMTP id na10-20020a0568706c0a00b001f00d968d9cmr6123126oab.9.1700725154090; Wed, 22 Nov 2023 23:39:14 -0800 (PST) MIME-Version: 1.0 References: <20231122-dtc-warnings-v2-0-bd4087325392@kernel.org> In-Reply-To: <20231122-dtc-warnings-v2-0-bd4087325392@kernel.org> From: Masahiro Yamada Date: Thu, 23 Nov 2023 16:38:37 +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.3 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]); Wed, 22 Nov 2023 23:39:28 -0800 (PST) On Thu, Nov 23, 2023 at 7:12=E2=80=AFAM Rob Herring wrote= : > > 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 for > 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 samsung > patches can go via their normal trees. The added variable will have no > effect until merged with patch 2. > > v1: > - https://lore.kernel.org/all/20231116211739.3228239-1-robh@kernel.org/ > > Signed-off-by: Rob Herring > --- There were some attempts in the past to enable W=3D1 in particular subsyste= ms, so here is a similar comment. Adding a new warning flag to W=3D1 is always safe without doing any compile= test. With this series, it would not be true any more because a new warning in W= =3D1 would potentially break riscv/samsung platforms. Linus requires a clean build (i.e. zero warning) when W=3D option is not gi= ven. > Rob Herring (4): > kbuild: Move dtc graph_child_address warning to W=3D2 > kbuild: Allow arch/platform override of dtc warning level > riscv: dts: Always enable extra W=3D1 warnings > arm/arm64: dts: samsung: Always enable extra W=3D1 warnings > > arch/arm/boot/dts/samsung/Makefile | 3 +++ > arch/arm64/boot/dts/exynos/Makefile | 3 +++ > arch/riscv/boot/dts/Makefile | 3 +++ > scripts/Makefile.lib | 16 +++++++++------- > 4 files changed, 18 insertions(+), 7 deletions(-) > --- > base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86 > change-id: 20231122-dtc-warnings-968ff83a86ed > > Best regards, > -- > Rob Herring > --=20 Best Regards Masahiro Yamada