All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Michael Chan <mchan@broadcom.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Anton Blanchard <anton@samba.org>,
	Paul Mackerras <paulus@samba.org>
Subject: Re: [TG3]: Add DMA address workaround
Date: Wed, 08 Mar 2006 11:28:04 +1100	[thread overview]
Message-ID: <1141777685.11221.129.camel@localhost.localdomain> (raw)
In-Reply-To: <1141769938.8146.19.camel@rh4>

On Tue, 2006-03-07 at 14:18 -0800, Michael Chan wrote:

> So how does powerpc handle 32-bit PCI devices that don't support dual
> address cycles? Such devices will set the dma_mask to 32-bit. Shouldn't
> 40-bit be handled in a similar way?

I've double checked that our current DMA code always stays below 32
bits. I was more wondering about some not-yet there stuff but it looks
like we are safe on that side too.

One thing i've been looking into doing with the iommu code is to make it
capable of respecting the DMA mask precisely (by constraining the
allocator to any arbitrary mask, not just 32 vs. 64 bits) to make it
more useful for bcm44xx and 43xx... but that's a different story.

Ben.



      reply	other threads:[~2006-03-08  0:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200603071900.k27J0YSP023014@hera.kernel.org>
2006-03-07 23:21 ` [TG3]: Add DMA address workaround Benjamin Herrenschmidt
2006-03-07 22:18   ` Michael Chan
2006-03-08  0:28     ` Benjamin Herrenschmidt [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=1141777685.11221.129.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=anton@samba.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchan@broadcom.com \
    --cc=paulus@samba.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.