Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp226672rdd; Wed, 22 Nov 2023 14:12:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaSdBPnPQdIYlAf6wBN4upX3tFxjkb+uJ5EEfWZeFqTjGwIhePl8xPpRvlcrSxMsB5y+UP X-Received: by 2002:a17:90b:4d08:b0:27d:1f9f:a57f with SMTP id mw8-20020a17090b4d0800b0027d1f9fa57fmr4574969pjb.32.1700691176737; Wed, 22 Nov 2023 14:12:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700691176; cv=none; d=google.com; s=arc-20160816; b=wu8DL4hxXDmVWO8mMI0pcnL364WLIem52AidaSEdFnd6N++t1+wgtHBQVnuzMplt/7 S5FEDY5YlkqDLt7er/2BLy8ClK7np6FurM8Mz1Ph933Aa78PO3DDtli2IkB/DyIf5rRJ oKYQ3EOn5+g2BUts8aqhoPqui1Al2hkBOk/LRfnmLG+f077A8X1+ABwlY1VU193WaY/R QeJHoRKzFP8jPY21LH1dHBeUprywPAIu2Sdf3KBLVxr1q+JZLwJ225O3JoX/bIEiyiqj QbnaugpYeCMz/eVrDSghK2yFP4FuGZXQJXB6l1jDOnKzFLvpzgY+akYSOPwghgseE5so TyQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from; bh=sK7kv4eKhyN2VRY462hcU4dvihYdA9xvtn9OEHW15Ho=; fh=6XhT80vtV/DUGFkwUDhZq8fq9LBQQeyCFG0V/SG+9+A=; b=zNB7zPW/YnX6n293YMWXie7xPSKvisQIwfHf3OV8+cRuDif7bui68jhpkJC/E9ZExx CvhZ7xYjQjsoU5yiS6cBaCFSqBjgPehaQmC0GVKE546pozxfiUPzvW7bBJEuk8V9X2e2 oCdPXUl0ZRuAJv1A/7vK7HdHnodsebbkJc7omQbf+z77sK4NZlG8zlRik+NMmHdS2uwF NtL+7ZgJ7FfbQ8EOjLDZNk0QSjw4Q/j+OIK7ImQB6OxCRXFWwP9zq/DxsUCq9iGqq3yb aHLNsk5Tl89h8Y0UlECM87WREvbPqscHcNk00OLkz6EXouk519JRQv2iPd9HzvrOdiuI I/5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id r15-20020a17090a4dcf00b00283a2ae9f65si513343pjl.92.2023.11.22.14.12.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 14:12:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 6F3BE80DFA7E; Wed, 22 Nov 2023 14:12:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233574AbjKVWMm (ORCPT + 99 others); Wed, 22 Nov 2023 17:12:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231392AbjKVWMl (ORCPT ); Wed, 22 Nov 2023 17:12:41 -0500 Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 618C410C; Wed, 22 Nov 2023 14:12:37 -0800 (PST) Received: by mail-il1-f179.google.com with SMTP id e9e14a558f8ab-35aa6107e9fso996535ab.0; Wed, 22 Nov 2023 14:12:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700691156; x=1701295956; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sK7kv4eKhyN2VRY462hcU4dvihYdA9xvtn9OEHW15Ho=; b=LROf73TQKDRVlZt9L8bOefE2MsSRWep4zvW0aP6cKWM4lFParlzs/yTfeyu8kfMhlt le7cZ2dv3ixopMniF5JpfRvJvQXzJkLU7fhbS2ktld1JydqVpMXnvIEqjBJHM7Qem59y M4mIemUyHV4fzBAdMMjQtvQTbEN9kx3laZjYUDmXvCpWLZEaKp+F+kveNLv7YbSqTCGS dO+Lr5TKMr41q9sWnD/LRbX3Hmoz8EiuoDDoINpEpoJWITib+csl5/jfYzyOt/FnajxU 8evXegFhWnvzMamqX4v7fMEW627Y3yBJKFk9gZGloz93KCZNbwAx29kl9ECtBgfQMC9q 6rkQ== X-Gm-Message-State: AOJu0Yx6McJT3Hrtdxf/HFYEnV+bewo3YQkcuKqLvyRDGFYU8jKk2yj2 DOEcVOxue0b9MZwdWBAM2g== X-Received: by 2002:a92:c685:0:b0:358:104:679d with SMTP id o5-20020a92c685000000b003580104679dmr4053847ilg.28.1700691156570; Wed, 22 Nov 2023 14:12:36 -0800 (PST) Received: from herring.priv ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id y36-20020a029527000000b004665e39708esm88692jah.147.2023.11.22.14.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 14:12:35 -0800 (PST) Received: (nullmailer pid 2753833 invoked by uid 1000); Wed, 22 Nov 2023 22:12:33 -0000 From: Rob Herring Subject: [PATCH v2 0/4] kbuild: Per arch/platform dtc warning levels Date: Wed, 22 Nov 2023 15:12:31 -0700 Message-Id: <20231122-dtc-warnings-v2-0-bd4087325392@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAM98XmUC/x3MQQqAIBBA0avIrBNyBLGuEi1ER5uNhUYF4d2Tl m/x/wuVClOFWbxQ6OLKe+7AQYDfXE4kOXQDjqiVQpTh9PJ2JXNOVU7Gxmi1s4YC9OQoFPn5d8v a2gcKn3iHXgAAAA== To: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Krzysztof Kozlowski , Alim Akhtar , Conor Dooley Cc: 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 X-Mailer: b4 0.13-dev X-Spam-Status: No, score=-1.0 required=5.0 tests=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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 14:12:50 -0800 (PST) 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 --- Rob Herring (4): kbuild: Move dtc graph_child_address warning to W=2 kbuild: Allow arch/platform override of dtc warning level riscv: dts: Always enable extra W=1 warnings arm/arm64: dts: samsung: Always enable extra W=1 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