Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4498189rdb; Tue, 12 Dec 2023 00:44:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxxwxCKD7KbcqazdtzEeY0LbJXr1Bm3+1QTJL+DDsg/HwtWKe4n86pzorenoNitvtd+oyg X-Received: by 2002:a05:6a00:c91:b0:6ce:eee:b337 with SMTP id a17-20020a056a000c9100b006ce0eeeb337mr2901061pfv.0.1702370658201; Tue, 12 Dec 2023 00:44:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702370658; cv=none; d=google.com; s=arc-20160816; b=GPaKgyLrflNrdwAq0gfnOrMjYtRuGd86JV7zAIbBRe8dEWxGnYSHCXDNL1PnHr151K 6vpt5ZabwWFmxl4JUpvl6G3vLkQDkGkU2EdUQVI3LZ+Ymv0h4UrHAFD39TR0eWbV7uzk 4kvygcR8KEOT6JUoc9vwWi8rZfovfwG6ZEdo1XUalqtFVc2+pruTEeBOwgMJVGFQaNSV R2jpRvVXyoqRwx5a5j7S4F6d+MARJSehy8teseMkyH8UGS3lS2EFfaqXxlnW9RBusUZR Inx9i2bW8E3ipqLPI9TFmZ3ygnrj1gD/kHGx80v3L03ONAv9k1OEq8kcZIgksTcyXTuu qakg== 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=qnNbsg+VysoEIWfB+st3yeKdJmFmW8lPd72MBtocMC8=; fh=zcSFlLeMYghG0a4sTm+doB8x6RkvgX9B0+5U4iNOkuY=; b=UO0ZpWffgHzDjSlswm7ik6ubpEZATmfLjbrjdoeE0CCrGcDLxNJFAASdQy12oplGEs XDmLIbwgQDpgUg7MQki+sCL2pwNllSetcHwAYMSY20MBCOyEhtvuNbDuR6wHF4As6jW9 htbzw4MgAE3spAxk1JUqb5x/xZukLUOWls/scsSdBjqggOIQy28yPlZyVZgbV7nKq5s0 2zsLXl4twgATphgKjWoaEdkvHxDcL55oO79gJvmdjVBSlPmjIJEl7GXfgFX8R4CP8CQf 3xyFW29yoscpTgBqsH5ElBv7WmI2I2Hi8q0+HSzrKns7Y/kz4M1x4IRDIyGnWn+kP1eJ o80A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=YeZFOe5+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 12-20020a63164c000000b005be1955657esi7418452pgw.127.2023.12.12.00.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 00:44:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=YeZFOe5+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 528E6804398C; Tue, 12 Dec 2023 00:44:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232511AbjLLInn (ORCPT + 99 others); Tue, 12 Dec 2023 03:43:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231210AbjLLInj (ORCPT ); Tue, 12 Dec 2023 03:43:39 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A4E6CF; Tue, 12 Dec 2023 00:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1702370625; x=1733906625; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wgVHBzqoKPPGjfmpxOQWTXb8ZDh9UV5MdaG4pwJ/vWI=; b=YeZFOe5+gHlb8iFFB/pn7raHKb2flh/Jngf/A6tw2hzcTz/BZjhgAvaR mmTmZjGbwrTsOg4cYv94DoxZyiUub8zU36iLPd3EgP2dp6qWPub1nwq+Q t6ZEI1kEFRPzqyMxzgX04Bgmgjbwc2sZ9tEaZ4iOGFaHTaHZK8gEe3b7I fdFkkFadZM+9QYsAuRi7nfXGyUYih2FJf8oUbOt3ddwWt0NHwP0qlDWRx dRlRSrez4h8i4gH5uIHMDooD2+NuGkMZi5Hsb22kBHGitz/nq7bDyIJT9 v9fgnl2jgibwr5jvcH2vYYCQSXWi1xidU6lvUhgmHOMmVfHbfOuKEzBRh A==; X-CSE-ConnectionGUID: WiO6fCDNTCCj2lq+o3a3hw== X-CSE-MsgGUID: am4cvTE2TnicaDYOgADGLw== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,269,1695711600"; d="asc'?scan'208";a="180345961" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 12 Dec 2023 01:43:45 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 12 Dec 2023 01:43:38 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 12 Dec 2023 01:43:36 -0700 Date: Tue, 12 Dec 2023 08:43:06 +0000 From: Conor Dooley To: Geert Uytterhoeven CC: Conor Dooley , , Randy Dunlap , Magnus Damm , Lad Prabhakar , , , Emil Renner Berthing Subject: Re: [PATCH v1] soc: renesas: make ARCH_R9A07G043 depend on !DMA_DIRECT_REMAP Message-ID: <20231212-ambition-karma-4834afd4eb16@wendy> References: <20231211-primate-arbitrate-fbcd307a0b00@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e2oQTY8OE7jKY5sj" 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 12 Dec 2023 00:44:15 -0800 (PST) --e2oQTY8OE7jKY5sj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 12, 2023 at 09:19:32AM +0100, Geert Uytterhoeven wrote: > Hi Conor, >=20 > On Mon, Dec 11, 2023 at 11:06=E2=80=AFPM Conor Dooley = wrote: > > From: Conor Dooley > > > > Randy reported yet another build issue with randconfigs on rv32: > > WARNING: unmet direct dependencies detected for DMA_GLOBAL_POOL > > Depends on [n]: !ARCH_HAS_DMA_SET_UNCACHED [=3Dn] && !DMA_DIRECT_REMA= P [=3Dy] > > Selected by [y]: > > - ARCH_R9A07G043 [=3Dy] && SOC_RENESAS [=3Dy] && RISCV [=3Dy] && NONP= ORTABLE [=3Dy] && RISCV_ALTERNATIVE [=3Dy] && !RISCV_ISA_ZICBOM [=3Dn] && R= ISCV_SBI [=3Dy] > > > > This happens when DMA_DIRECT_REMAP is selected by the T-Head CMO erratum >=20 > or by the Zicbom extension support? Probably, yeah. That was just the conditions for this particular randconfig IIRC. > > option and DMA_GLOBAL_POOL is selected by the Andes CMO erratum. Block > > selecting the RZ/Five config option, and by extension DMA_GLOBAL_POOL, > > if DMA_DIRECT_REMAP has already been enabled. > > > > Fixes: 484861e09f3e ("soc: renesas: Kconfig: Select the required config= s for RZ/Five SoC") > > Reported-by: Randy Dunlap > > Tested-by: Randy Dunlap # build-tested > > Closes: https://lore.kernel.org/all/24942b4d-d16a-463f-b39a-f9dfcb89d74= 2@infradead.org/ > > Signed-off-by: Conor Dooley >=20 > Reviewed-by: Geert Uytterhoeven > i.e. will queue in renesas-devel for v6.8. >=20 > Or should this be queued as a fix for v6.7 instead? Depends on your opinion on how critical such a fix is I suppose. > > --- > > I don't know what the exact fixes tag here is as I did not bisect with > > the randconfig, so I blamed the one that added DMA_GLOBAL_POOL. >=20 > Bisection leads to commit da323d4640704001 ("dma-direct: add > dependencies to CONFIG_DMA_GLOBAL_POOL") in v6.7-rc1, but that is > merely making visible the symptoms, so I think your Fixes tag is fine. >=20 > Esmil: I think you need a similar fix for ERRATA_STARFIVE_JH7100 in > your tree. I probably need a similar fix in my tree for that, since I applied Emil's patches... --e2oQTY8OE7jKY5sj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXgdGQAKCRB4tDGHoIJi 0jbuAP91y7WApBZFEeiqbfME/Mo6p2pI+fFTDQeQretgcPSVNQEA0ZQFUcwsk10K K1XlumMMEm3Lyb4/BNoAfFhLqNBlIA8= =AJxt -----END PGP SIGNATURE----- --e2oQTY8OE7jKY5sj--