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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B2461E95A91 for ; Mon, 9 Oct 2023 12:48:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 73152C433C9; Mon, 9 Oct 2023 12:48:16 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id B1FA8C433C8 for ; Mon, 9 Oct 2023 12:48:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org B1FA8C433C8 Authentication-Results: smtp.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 3A32068CFE; Mon, 9 Oct 2023 14:48:06 +0200 (CEST) Date: Mon, 9 Oct 2023 14:48:05 +0200 From: Christoph Hellwig To: Geert Uytterhoeven List-Id: Cc: Robin Murphy , Christoph Hellwig , iommu@lists.linux.dev, Marek Szyprowski , Wei Fang , Shenwei Wang , Clark Wang , NXP Linux Team , linux-m68k@lists.linux-m68k.org, netdev@vger.kernel.org, Jim Quinlan , linux-riscv , Linux-Renesas , "Lad, Prabhakar" , arm-soc Subject: Re: [PATCH 1/6] dma-direct: add depdenencies to CONFIG_DMA_GLOBAL_POOL Message-ID: <20231009124805.GA7042@lst.de> References: <20231009074121.219686-1-hch@lst.de> <20231009074121.219686-2-hch@lst.de> <20231009091625.GB22463@lst.de> <20231009094330.GA24836@lst.de> <1cd44af1-10ac-465a-8d20-e0aa268e036f@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Oct 09, 2023 at 01:10:26PM +0200, Geert Uytterhoeven wrote: > RISCV_DMA_NONCOHERENT does not select DMA_GLOBAL_POOL, > ARCH_R9A07G043 selects DMA_GLOBAL_POOL. > RISCV_DMA_NONCOHERENT does select DMA_DIRECT_REMAP if MMU. Yeah, and we'll basically need to split RISCV_DMA_NONCOHERENT into an option for each type of non-coherent support. This is why we should never have added support for any of the non-standard versions, as it's turning into a giant mess.