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 3902FE95A91 for ; Mon, 9 Oct 2023 12:48:28 +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-Transfer-Encoding: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-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UkqrPDISQY6WYO6qNjruTSUUlllwjlCpGFJpvSvahVU=; b=L+xGLSVJsJPdVn NTUhscPB5sizawkgRD2tvsiuOGG34wlPfoUjJnHsQm0QDAnpYZkMTW4WedaEbGPY8ZKb/YdxPm+k9 e2nMkOOt2tfp4nBEjZePcO7Z482IuJF/q9HvYmz3szlL3UKPcdEDe0uhvRYb917UIUsTw7bP5TDeC RQ26H52JGyYVXICX6GQU4zJv9jIsaDRYzcGakV5AzwRqKXykZPuYqegeDHqNOLOvVM9pcbH6dhkVy GpImOcEflt/o3hBCXOBDi+Mm1MFT7cFYJC4XBiofLC8PhqGKUBGFJvCSby+PK1i6zR8dGu6G5pP/Y KSb2/qJRMR9evKOhQaZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qppgI-00AimJ-34; Mon, 09 Oct 2023 12:48:18 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qppgE-00Ailb-2s for linux-riscv@lists.infradead.org; Mon, 09 Oct 2023 12:48:16 +0000 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 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231009_054815_071706_1E15F7E6 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv