Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp216141rdh; Thu, 23 Nov 2023 01:46:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IExo13ZjKsEs+ftsyuj0GQJH9K+nkUu5L56x4Qk1yXwHjIPkyj4f3ItPLhyALVSsMY3G3Nl X-Received: by 2002:a05:6808:1926:b0:3b8:4e27:9f49 with SMTP id bf38-20020a056808192600b003b84e279f49mr678397oib.12.1700732813093; Thu, 23 Nov 2023 01:46:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732813; cv=none; d=google.com; s=arc-20160816; b=h4JS5ACF/b2E/No3+c5js6ZQ9xZBJTlH6IpcD5yxJLoCqqylnUgqQBVo23+FJeh9Ja wluPcPgA3jgmwa7K+NY9L/4tYd0m/ClDhuN7eL9vxrFM0L2yWYw3wpDNuZu4Gj30Osch Zp5cUAQmS7K3OreYx0w9BuP1SD6BtsvWb1lEhvVi7mMDVYXPHmlYR3g69P0Eh5HMihCK /Aj1NoREhahBny5VD807DcWY+SleUxwWLhK9r11vFdJvkCyxVzX/mnjmgxnYFS6KfOyO aHwneUyCt/OvWmLqFEczF+K2nTPpefTXR8caRdpK68O+XiRVZfFPNxplR844XicfkkS0 Le7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NfnMi9pkRIHfWyPG8oCujECewCAxJlqGR4qqjDwPJPg=; fh=fP9kg4+z6qgrLJ+gp49rcPhUgTS6QQTMtmgrMXTysuU=; b=etO8ZhgifnCo1vLxziKQcqP8S+oB3vCqJnDsQvMoJBt74Qcyp6st9VBSB1s1J66G4v na1qEsE47P3kZ+7Uzm20hvN7InCs8GzBLpI4PW6m3j9yncoQNtUrjsWsmpHtWN4JgOJw CBdjI9LemItQbK1xQBvK48tOtdAFDzvfeDycfBGb9XYt6pCvaNlYBXeJe3J75vSLIiyO 6M2o3v9d/1nTT2KKJofkyQrRygn9g5MHWTT0M7Fp6pHV48F9AHVhGEqOd7dSu/jfoFoh cH+ZN7cqQYGGAj4FOnOHf1he4g6Jf1SDSXqpvwI/8B9zlYC/LCgh6VMKaCv3H3lXnCst /uyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=lHCC4eyA; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id d5-20020a656205000000b005bd3b016f84si955906pgv.24.2023.11.23.01.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:46:53 -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=@microchip.com header.s=mchp header.b=lHCC4eyA; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5D28C83775EB; Thu, 23 Nov 2023 01:46:50 -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 S234053AbjKWJqQ (ORCPT + 99 others); Thu, 23 Nov 2023 04:46:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232747AbjKWJp5 (ORCPT ); Thu, 23 Nov 2023 04:45:57 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CEE62125; Thu, 23 Nov 2023 01:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1700732693; x=1732268693; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=LPFNYR6tLm2ibdzV9smgUSVHDB6vTwM5UIqyj9DLBUM=; b=lHCC4eyA7SVnjfchVb2SV45/X11QvuL0sjhBG7s7z8wkvsljSqN/FOJo RRv/Xiejy9kckQWu7zXwhB0gZ9XfWZhl22SaIkWRbu1GZxgaizXjT98/H NtrNvdiim8yjO6b4P3KelmePLeLckTqO5F0Kb/MgthH9qegLNEFqcnpB3 i4+26rE77jxD1XoGmPldvMNYLjHpE3wI38MYWrf9aGAAgLBJOejEknxMM EHcNtk75ecpn0jfnRdGi5FXIJaIRyhXCIvnYe928Cr/V1HDZAObOQq81V VGBBC/Ah55PlYy87Yj4I86/tAo5RFMbn+HXmEM+tHZCMzERvF8RyCJvlL A==; 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2G62sYkADi9C8Ekb" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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]); Thu, 23 Nov 2023 01:46:50 -0800 (PST) --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--