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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 362BBE95A8E for ; Mon, 9 Oct 2023 12:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376447AbjJIMsN (ORCPT ); Mon, 9 Oct 2023 08:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346437AbjJIMsN (ORCPT ); Mon, 9 Oct 2023 08:48:13 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18D2A93 for ; Mon, 9 Oct 2023 05:48:12 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-m68k@vger.kernel.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.