All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: David VomLehn <dvomlehn@cisco.com>
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Re: [PATCH 2/2] Set of fixes for DMA when dma_addr_t != physical address
Date: Thu, 26 Nov 2009 00:10:06 +0100	[thread overview]
Message-ID: <20091125231006.GA12699@alpha.franken.de> (raw)
In-Reply-To: <20091125200027.GA13748@dvomlehn-lnx2.corp.sa.net>

On Wed, Nov 25, 2009 at 03:00:28PM -0500, David VomLehn wrote:
> Fixes for using DMA on systems where the DMA address and the physical address
> differ.

what's the problem ? Even the old Olivetti M700 has an iommu, so dma
address and physical address are always different... and it works without
changes. You just need to tweak the plat_dma_XXX() macros/functions.

And I don't see a reason for the KSEG0 checks in your other patch,
but maybe I'm missing something...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]

  reply	other threads:[~2009-11-25 23:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 20:00 [PATCH 2/2] Set of fixes for DMA when dma_addr_t != physical address David VomLehn
2009-11-25 23:10 ` Thomas Bogendoerfer [this message]
2009-12-01  3:58 ` Ralf Baechle

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=20091125231006.GA12699@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=dvomlehn@cisco.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 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.