LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: andi@firstfloor.org, mingo@elte.hu, joerg.roedel@amd.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] fix GART to respect device's dma_mask about virtual mappings
Date: Mon, 22 Sep 2008 22:35:18 +0200 [thread overview]
Message-ID: <20080922203518.GZ25711@one.firstfloor.org> (raw)
In-Reply-To: <20080923041203Q.fujita.tomonori@lab.ntt.co.jp>
On Tue, Sep 23, 2008 at 04:12:33AM +0900, FUJITA Tomonori wrote:
> Sure, pci-nommu's map_sg/map_single doesn't handle it. But we handle
> this issue somewhere else (like b44 keeps own DMA buffer)?
Yes, b44 handles it on its own. It has to for 32bit which always
has a nop map_sg/single. Also some other subsystems like the block layer
do it implicitely.
> 1. not all map_sg/map_single (e.g. pci-nommu) can't handle it.
and especially i386
> 2. we already have workarounds for it somewhere else so
> map_sg/map_single don't need to handle it.
> 3. I changed GART map_sg/map_signle to handle it. I thought if it
> can handle it, for example, b44 doesn't go the workaround path. It
> would be a good thing.
> 4. But GART cannot remap to addresses < 4GB reliably, so my above
> argument doesn't always work.
> 5. Then my patch doesn't break anything but it's almost meaningless.
Correct.
-Andi
--
ak@linux.intel.com
next prev parent reply other threads:[~2008-09-22 20:30 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 10:42 FUJITA Tomonori
2008-09-12 10:42 ` [PATCH 1/3] add iommu_device_max_index IOMMU helper function FUJITA Tomonori
2008-09-12 10:42 ` [PATCH 2/3] add dma_get_mask " FUJITA Tomonori
2008-09-12 10:42 ` [PATCH 3/3] x86: make GART to respect device's dma_mask about virtual mappings FUJITA Tomonori
2008-09-12 14:52 ` Joerg Roedel
2008-09-12 15:11 ` FUJITA Tomonori
2008-09-14 14:45 ` [PATCH 0/3] fix " Ingo Molnar
2008-09-16 0:54 ` Andi Kleen
2008-09-16 13:20 ` FUJITA Tomonori
2008-09-16 13:43 ` Andi Kleen
2008-09-16 17:13 ` FUJITA Tomonori
2008-09-16 17:58 ` Andi Kleen
2008-09-16 23:53 ` FUJITA Tomonori
2008-09-17 0:24 ` Andi Kleen
2008-09-17 19:20 ` FUJITA Tomonori
2008-09-18 18:20 ` Andi Kleen
2008-09-18 22:15 ` FUJITA Tomonori
2008-09-19 0:44 ` Andi Kleen
2008-09-22 19:12 ` FUJITA Tomonori
2008-09-22 20:35 ` Andi Kleen [this message]
2008-09-23 4:02 ` FUJITA Tomonori
2008-09-17 10:43 ` Ingo Molnar
2008-09-18 18:25 ` Andi Kleen
2008-09-16 15:52 ` Joerg Roedel
2008-09-16 16:20 ` Andi Kleen
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=20080922203518.GZ25711@one.firstfloor.org \
--to=andi@firstfloor.org \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=joerg.roedel@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--subject='Re: [PATCH 0/3] fix GART to respect device'\''s dma_mask about virtual mappings' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).