From mboxrd@z Thu Jan 1 00:00:00 1970 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.subspace.kernel.org (Postfix) with ESMTPS id 58B3D3D90 for ; Fri, 23 Sep 2022 14:48:16 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id C083267373; Fri, 23 Sep 2022 16:48:04 +0200 (CEST) Date: Fri, 23 Sep 2022 16:48:04 +0200 From: Christoph Hellwig To: Robin Murphy Cc: Nate Drude , iommu@lists.linux.dev, Jonathan Corbet , Christoph Hellwig , Marek Szyprowski , Borislav Petkov , "Paul E. McKenney" , Andrew Morton , Neeraj Upadhyay , Randy Dunlap , Damien Le Moal , Muchun Song , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, eran.m@variscite.com Subject: Re: [PATCH] dma-contiguous: add optional cma_name for cma= kernel parameter Message-ID: <20220923144804.GA18477@lst.de> References: <20220912163805.4113238-1-nate.d@variscite.com> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 Tue, Sep 13, 2022 at 11:45:17AM +0100, Robin Murphy wrote: > If userspace expects the CMA heap driver to expose a consistent name for > CMA heaps, shouldn't it be the CMA heap driver's responsibility to expose a > consistent name for CMA heaps? Tinkering with the core CMA code doesn't > feel like the right approach. Agreed. In fact I think exposing this name in a uapi seems like a really bad idea that is asking for a lot of trouble.