Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3082464rdh; Mon, 27 Nov 2023 06:14:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZCHlUbmw1Uizti/JaFme8TX/5Er8hpNTbv7BY9UOrJW59rkk335qT1TnecC7BcHGiBz3c X-Received: by 2002:a17:902:e888:b0:1cf:c2b8:4772 with SMTP id w8-20020a170902e88800b001cfc2b84772mr4989064plg.18.1701094472149; Mon, 27 Nov 2023 06:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701094472; cv=none; d=google.com; s=arc-20160816; b=U1PxwhZtfNpKGMTUjCYAuySgxGhnWmkIBcyJmaVHTQ5s3rnkGbJ679l2Ohs1Pj8cqN P9dnCN2WYmmmLi0VmNfoxdw0o46bWBfWhRgZjbHwZeeZ1iwMlExT3TRXJ4iiOkDZ+BxO H0qYON9RGHBtjRaR7VTyEDRJQMLvma7PgtyGy+vzPVksg1+t75z0sM0cvmk5IS6yE3Dk 8DcUVGksPYWHbhsGZs0bqiXLl6gUdXQtTYwheqAKD6vMU7h0One5+v0X3at4aFjFL+6y 3BzKOAsBTVD//tKxZZ1Fs5ImNWXUqiHT6ar8ru8oyjV363K77PKUBuU/TkT2DyMJHlJp xiAw== 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=5dMSYQZO4+CNJjycbgmTCalJkHB491O1PXaumkA6ztc=; fh=8gjw9r+fntR6EyAHD3jmXk5fvin/5WrbZyy5+pamKG4=; b=jVFwDtLo+8Mn4BIx24/+3wA4h/2tNJGVo+fL77bRNKa5tV0FtOlWXBkgd3rJo2BQTq iqK2t3NQwG4D+LEhN7/B2QBsfqQf8o9c3IJ26txredFHNFJu2GAmsPbtDRTvy7ANuqza 6E/cTZItOeCv3wY7H5fLeT3YfhSIkGvEJwaCUkKKXZfcdr/86RtcAiBtGsTXJhJqatwT 22G0c9WXLiS896NNkGsGT+7R4cpGTiUA4T+9FlS/UW7Qw02tH2FvwPzH+rKK0yqX5vr2 u/1HKiq+hXsq4LbHzBUQ5fDii94ASuwQPoGrF8QPFjY/x2RRxgMI7J6frpXVA3l4vV53 T6dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a2aOf09I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u2-20020a170902e5c200b001cfa3845be9si8192613plf.542.2023.11.27.06.14.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 06:14:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a2aOf09I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 03174807BED7; Mon, 27 Nov 2023 06:14:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233534AbjK0OOK (ORCPT + 99 others); Mon, 27 Nov 2023 09:14:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233652AbjK0OMG (ORCPT ); Mon, 27 Nov 2023 09:12:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63B5B2D5E for ; Mon, 27 Nov 2023 06:03:37 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A12D1C4AF73; Mon, 27 Nov 2023 14:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701093816; bh=KCZKisXR1n78+RfI83KrbOl2Cm27WXfa6iz/K1QPJPo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=a2aOf09I75DdKUvvNJhSkD9GQ6WGBE1jrWs9pDpOCpwNhS0TbxHWoRRSn9ck5Mhc+ gZca7EfxNyQp1inBZAfRqD47gcVR/2j2P6kSPCkih7i49cwEZ7pOo/irs5zW0XlMiF 9t3wBImUkMRmLnPX2jf+oEXtdtP3HdA2v5iDopicDPaZiELC/QCHIid2KwS9yeW8Yk sDtIdNfLMQ2+8k4BxzPSCP/qhcQirHg9eszKNpXUSGX6VzAN3kehB6MI8Qj+xuPUcx pQuQyJsiwfL3/G2Nx7qvojox0+j3lTPPcUWpxZDJzU/NZmi7fMpyxZ2ILAb/+cKK1F d3or7UmfDwFkA== Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-50943ccbbaeso5863772e87.2; Mon, 27 Nov 2023 06:03:36 -0800 (PST) X-Gm-Message-State: AOJu0YzKhEgsCPjAFuBPAKg2p3Slb4kxARX4ofB65cuZ1KNRZXMMxL6X cxHKF5Lr8XxvaH6WIGu5pOTim5HmUO/Pp39UpA== X-Received: by 2002:a19:7514:0:b0:4fb:9168:1fce with SMTP id y20-20020a197514000000b004fb91681fcemr7182211lfe.59.1701093814870; Mon, 27 Nov 2023 06:03:34 -0800 (PST) MIME-Version: 1.0 References: <20231122-dtc-warnings-v2-0-bd4087325392@kernel.org> In-Reply-To: From: Rob Herring Date: Mon, 27 Nov 2023 08:03:22 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] kbuild: Per arch/platform dtc warning levels To: Masahiro Yamada 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 06:14:28 -0800 (PST) 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 wro= te: > > > > 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 subsys= tems, > so here is a similar comment. > > Adding a new warning flag to W=3D1 is always safe without doing any compi= le test. > > With this series, it would not be true any more because a new warning in = 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 not = given. Linus doesn't build any of this AFAICT. We are not always warning free for W=3D0 with dtbs. Rob