[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YsxLU66tNvi10c82@infradead.org>
Date: Mon, 11 Jul 2022 09:09:55 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Li Chen <me@...ux.beauty>
Cc: Christoph Hellwig <hch@...radead.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
linux-mm <linux-mm@...ck.org>
Subject: Re: [PATCH 0/4] add struct page and Direct I/O support to reserved
memory
On Tue, Jul 12, 2022 at 12:05:06AM +0800, Li Chen wrote:
> My use case has been stated in the cover letter, but our driver is not ready for upstream yet.
Which means we can't review the use case. I'd suggest you come back
when you submit your driver.
> With DMA allocator, we can access buffer in kernel space, not userspace, however, this patch
Take a look at dma_mmap_* on how to map DMA coherent allocations to
usersapce. This is of course easily possible.
Powered by blists - more mailing lists