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 DDA7D19F133 for ; Wed, 8 Jan 2025 15:19:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736349545; cv=none; b=cwmbL2cRdR0fQj3t4n+p1mAlwnKuyLG09ztttHcaP32HFdV+rFjsK/dPN2FNbFMde9064uXHkiC6cWbAJAcJL0MflKiCsLQX1ZwFXPMKJvRmDQ5TZb8qj0gbJ+AFjialu2t3eqC9wAKvHnibgLjp4BWoops7z5RjrEnD3zcMcSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736349545; c=relaxed/simple; bh=derMkGzrtFRQjpElzfo6CFaVBd+CAw++QRVM/MMzolk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AEIY4JPDGpP8oHpklT81DInrH/zSVoltTSuQSQ1zYtWxKF7GArr+eIm2fdZtBbJ/EtJqWDN/lBBbbbyrRT3Yru37aZe70IB+xiYwIRimV7At4U8NGP1wid0YmLMgd9DrGBxmqsTL787MitlLYLrNxz8VwN56CJKR3TLEBvGjbaw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 1729C68D05; Wed, 8 Jan 2025 16:18:59 +0100 (CET) Date: Wed, 8 Jan 2025 16:18:58 +0100 From: Christoph Hellwig To: Miguel Ojeda Cc: Christoph Hellwig , Abdiel Janulgue , daniel.almeida@collabora.com, aliceryhl@google.com, robin.murphy@arm.com, rust-for-linux@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , Valentin Obst , open list , Marek Szyprowski , airlied@redhat.com, "open list:DMA MAPPING HELPERS" , Greg KH Subject: Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction. Message-ID: <20250108151858.GB24499@lst.de> References: <20250108122825.136021-1-abdiel.janulgue@gmail.com> <20250108122825.136021-3-abdiel.janulgue@gmail.com> <20250108135951.GA18074@lst.de> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Jan 08, 2025 at 04:16:18PM +0100, Miguel Ojeda wrote: > On Wed, Jan 8, 2025 at 3:00 PM Christoph Hellwig wrote: > > > > No rust code in kernel/dma, please. > > What do you suggest? Keep the wrappers in your code instead of making life painful for others.