From: "H. Peter Anvin" <hpa@zytor.com>
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>,
x86@kernel.org
Subject: Re: [PATCH] x86: enable DMA CMA with swiotlb
Date: Fri, 22 Nov 2013 07:02:16 -0800 [thread overview]
Message-ID: <528F71F8.4070902@zytor.com> (raw)
In-Reply-To: <CAC5umygUgSjUMFECDXAjmSPzpfUZ6=jRhZWhd5hTT2-eO6Oh6Q@mail.gmail.com>
On 11/22/2013 04:27 AM, Akinobu Mita wrote:
>
> I'm currently working for integrating DMA CMA with intel-iommu which
> I can test. Regardless of which dma ops is actually used, I would
> like to allocate large contiguous memory with dma_alloc_coherent()
> and tell the base address to the device.
>
> We can use mem= or crashkernel= to reserve host memory, but it is
> complicated and unables to work with real IOMMU.
>
If you have a real iotlb, why would you need contiguous memory?
-hpa
next prev parent reply other threads:[~2013-11-22 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-19 23:32 [PATCH] x86: enable DMA CMA with swiotlb Akinobu Mita
2013-11-20 14:00 ` Konrad Rzeszutek Wilk
2013-11-20 23:35 ` Akinobu Mita
2013-11-20 23:47 ` H. Peter Anvin
2013-11-21 15:02 ` Akinobu Mita
2013-11-21 18:11 ` H. Peter Anvin
2013-11-22 12:27 ` Akinobu Mita
2013-11-22 15:02 ` H. Peter Anvin [this message]
2013-11-22 21:19 ` Andi Kleen
2013-11-23 13:59 ` Akinobu Mita
2013-11-22 9:15 ` Marek Szyprowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=528F71F8.4070902@zytor.com \
--to=hpa@zytor.com \
--cc=akinobu.mita@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox