From: Ingo Molnar <mingo@elte.hu>
To: Joerg Roedel <joerg.roedel@amd.com>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
mingo@redhat.com, linux-kernel@vger.kernel.org,
tony.luck@intel.com
Subject: Re: [PATCH 0/4] add a helper function, is_buffer_dma_capable()
Date: Wed, 10 Sep 2008 11:34:30 +0200 [thread overview]
Message-ID: <20080910093430.GB5259@elte.hu> (raw)
In-Reply-To: <20080909162705.GC13536@amd.com>
* Joerg Roedel <joerg.roedel@amd.com> wrote:
> On Wed, Sep 10, 2008 at 01:06:45AM +0900, FUJITA Tomonori wrote:
> > This patchset adds a trivial helper function, is_buffer_dma_capable()
> > and cleans up some IOMMU implementations. This function is to to see
> > if a memory region is DMA-capable or not with the arguments, the
> > dma_mask (or coherent_dma_mask) of a device and the address and size
> > of a memory region. It's useful for IOMMUs that don't do virtual
> > mappings at all times.
> >
> > The patch for swiotlb is a bug fix (the rest are just
> > cleanups). Currently, swiotlb doesn't take account of the size of a
> > memory region to see if if the memory region is DMA-capable.
>
> Good idea. This patchset increases the readability of the software
> dma-api implementations.
>
> Acked-by: Joerg Roedel <joerg.roedel@amd.com>
applied to tip/x86/iommu:
2797982: swiotlb: convert swiotlb to use is_buffer_dma_capable helper function
49fbf4e: x86: convert pci-nommu to use is_buffer_dma_capable helper function
ac4ff65: x86: convert gart to use is_buffer_dma_capable helper function
636dc67: add is_buffer_dma_capable helper function
thanks!
Ingo
prev parent reply other threads:[~2008-09-10 9:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-09 16:06 [PATCH 0/4] add a helper function, is_buffer_dma_capable() FUJITA Tomonori
2008-09-09 16:06 ` [PATCH 1/4] add is_buffer_dma_capable helper function FUJITA Tomonori
2008-09-09 16:06 ` [PATCH 2/4] x86: convert gart to use " FUJITA Tomonori
2008-09-09 16:06 ` [PATCH 3/4] x86: convert pci-nommu " FUJITA Tomonori
2008-09-09 16:06 ` [PATCH 4/4] swiotlb: convert swiotlb " FUJITA Tomonori
2008-09-09 16:17 ` [PATCH 1/4] add " Luck, Tony
2008-09-09 16:21 ` Joerg Roedel
2008-09-09 16:49 ` FUJITA Tomonori
2008-09-09 16:27 ` [PATCH 0/4] add a helper function, is_buffer_dma_capable() Joerg Roedel
2008-09-10 9:34 ` Ingo Molnar [this message]
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=20080910093430.GB5259@elte.hu \
--to=mingo@elte.hu \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=joerg.roedel@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tony.luck@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.