From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE6B4C5AD4C for ; Thu, 23 Nov 2023 09:45:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:CC:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pizqqlDjh/xzOjXeNlIL2JYQLvfI2OhLAl9iGGXtT8Q=; b=WOuaLQxhFlKZlHhZl0RcXl5riA 12r/+waUiqu/sAUg9/gknfCyuGmXrlUD5fFqMa0RqkgNt0Pjym+tlKoAqSyifkwS2JL0t0f8dWhO3 vzwF4/pqfwuaS3DMmc9siwncUw1iCl2L8vHWzx9Sni4JGS8vRVXJKvfa7Pu88pZ8AVg/Ekgklsmw3 QKF5rQiat9ycaWcrn8RV+0znC+mdVsWEy6U3rHlPdxHIKJ6/aCijktcpC+E3IhQBWGb9wt/1eeq5d zk1hLS2gu1gDasEr2xCcT6el4RprMPKaUglOWklJdExfdMmfzCAVk2Z0Ko+TgqVL8n9RCdgOT9zKg WrxOblDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r66Gf-004IaF-0Z; Thu, 23 Nov 2023 09:45:05 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r66GW-004IXd-1D; Thu, 23 Nov 2023 09:44:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1700732696; x=1732268696; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=LPFNYR6tLm2ibdzV9smgUSVHDB6vTwM5UIqyj9DLBUM=; b=gccQs3ZPwKHUc3wCAPxq0+7ZAvGTo9rG3wJ1JYI3ZFK/mZSwFzjIhlVn vDDTGgpE8hUZ8LtBxoOyywqxyCSh6moaqtRPjGoOcsktOjYDX1uIpBZXF 44zXND1fcNmiW3GQyk8oCosiQcxmaNlOmgXqMaF+gSjffRreth39oXBNH JCuJSfKTv72VCZl7QgiDrXbZbGT6mU4DcrdJ+U52y4tj5dbkhYEVx2AGL 9Pr3ZfyegDPxsbFntT8HxlTGkVChxA03v/wIK2G6NZKOvE/LzYNzmI0Ne 6DGzB0EaPa9zG+pPlytce6xNhV0LYqdfZEzrjQcLMug16bsQMKFwYKkjL Q==; X-CSE-ConnectionGUID: Zrbw1xdKSOmkRdUe4iw5XQ== X-CSE-MsgGUID: e8PbdSIKRoap7LBep/y66g== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,221,1695711600"; d="asc'?scan'208";a="12925617" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 23 Nov 2023 02:44:52 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 23 Nov 2023 02:44:25 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 23 Nov 2023 02:44:21 -0700 Date: Thu, 23 Nov 2023 09:43:53 +0000 From: Conor Dooley To: Masahiro Yamada CC: Rob Herring , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Krzysztof Kozlowski , Alim Akhtar , Conor Dooley , , , , , , Subject: Re: [PATCH v2 0/4] kbuild: Per arch/platform dtc warning levels Message-ID: <20231123-deviator-camisole-645715ad02e9@wendy> References: <20231122-dtc-warnings-v2-0-bd4087325392@kernel.org> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231123_014456_531997_0A7A493A X-CRM114-Status: GOOD ( 23.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1279029371487074080==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1279029371487074080== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2G62sYkADi9C8Ekb" Content-Disposition: inline --2G62sYkADi9C8Ekb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yo, On Thu, Nov 23, 2023 at 04:38:37PM +0900, 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 > > --- >=20 >=20 > There were some attempts in the past to enable W=3D1 in particular subsys= tems, > so here is a similar comment. >=20 > Adding a new warning flag to W=3D1 is always safe without doing any compi= le test. >=20 > With this series, it would not be true any more because a new warning in = W=3D1 > would potentially break riscv/samsung platforms. We carry a copy of the dtc in scripts/dtc, so I would expect that before an upgrade is done that would introduce new warnings we can fix them in the relevant platforms. Perhaps I am misunderstanding something there, but I'm sure Rob can clear it up if I made a mistake. > Linus requires a clean build (i.e. zero warning) when W=3D option is not = given. For RISC-V at least, there are currently no W=3D1 warnings while building the dtbs (because I put effort into fixing them all) and I would like to keep it that way, so that requirement is not a concern. Cheers, Conor. --2G62sYkADi9C8Ekb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZV8e1AAKCRB4tDGHoIJi 0sxaAQC2J2yJot6Q+z5RKQ6rY/Oa21cLwAgbgnGOkI0wsdpSGgD/X8W0HHWXxPfn qGSKWwZvElDt0/4G68GZFIxJXRd/Kwk= =Wtop -----END PGP SIGNATURE----- --2G62sYkADi9C8Ekb-- --===============1279029371487074080== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1279029371487074080==--