public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Colin Ngam <cngam@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces.
Date: Thu, 15 May 2003 22:14:11 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723705851@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590723705823@msgid-missing>

"David S. Miller" wrote:

>    From: Colin Ngam <cngam@sgi.com>
>    Date: Thu, 15 May 2003 08:17:58 -0500
>
>    Anyway, to make a long story short, we like to "extend" these
>    interfaces to return DMA addresses of 64 bits if and when the
>    driver has the full capabality to support DAC - via it's
>    DMA mask capability setting.
>
> All devices I am aware of do not support 64-bit addresses for their
> descriptors, only 32-bit.
>
> There is a huge difference between using a "64-bit address" and
> requiring to generate a DAC cycle, the latter of which is
> probably what you need and that is independant of what kind of
> address pci_alloc_consistent() is giving you.

David,

I am quite confuse with what you are saying.

pci_alloc_consistent(), as documented must return a 32bits DMA in the
dma mapped address in "dma_addr_t".

Right now, on our platform, the Upper 32 Bits of this address is always 0s
and the Lower 32 Bits has the IOMMU mapped DMA address.  When this
address is given to the card, SAC is generated because the Upper 32 Bits
are 0s - if the whole 64bits are given to the card.

Now, for PCI-X devices, we need to generate an IOMMU mapped DMA
address that  has the Upper 32 bits non 0s.  When the driver gives this
address to the card, it will generate a DAC for the DMA.

From what I understand from the pci_alloc_consistant() interface, we cannot
return a "dma_addr_t" that has the Upper 32bits NON 0s.  Is that TRUE?  If
it is, our platform cannot deal with this restriction .. therefore we are
requesting
for this extension.

Thanks.

colin



  parent reply	other threads:[~2003-05-15 22:14 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15 14:44 [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Colin Ngam
2003-05-15 14:44 ` James Bottomley
2003-05-15 15:05 ` Colin Ngam
2003-05-15 15:06 ` David Mosberger
2003-05-15 15:12 ` James Bottomley
2003-05-15 15:47 ` David Mosberger
2003-05-15 15:48 ` David Mosberger
2003-05-15 15:48 ` Colin Ngam
2003-05-15 15:50 ` Colin Ngam
2003-05-15 19:06 ` Grant Grundler
2003-05-15 19:14 ` David Mosberger
2003-05-15 19:16 ` Grant Grundler
2003-05-15 19:29 ` Grant Grundler
2003-05-15 20:07 ` David S. Miller
2003-05-15 20:15 ` David S. Miller
2003-05-15 20:19 ` David S. Miller
2003-05-15 20:24 ` Jesse Barnes
2003-05-15 21:17 ` Grant Grundler
2003-05-15 21:29 ` Matthew Wilcox
2003-05-15 22:14 ` Colin Ngam [this message]
2003-05-15 22:44 ` Colin Ngam
2003-05-15 22:47 ` James Bottomley
2003-05-15 23:24 ` James Bottomley
2003-05-15 23:25 ` Colin Ngam
2003-05-15 23:27 ` David S. Miller
2003-05-15 23:32 ` Colin Ngam
2003-05-15 23:39 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent David S. Miller
2003-05-15 23:40 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Colin Ngam
2003-05-15 23:40 ` David S. Miller
2003-05-15 23:41 ` David S. Miller
2003-05-15 23:42 ` David S. Miller
2003-05-15 23:45 ` Colin Ngam
2003-05-15 23:46 ` David S. Miller
2003-05-15 23:51 ` Colin Ngam
2003-05-15 23:53 ` David S. Miller
2003-05-15 23:57 ` Colin Ngam
2003-05-16  0:03 ` David S. Miller
2003-05-16  0:06 ` David S. Miller
2003-05-16  0:11 ` David S. Miller
2003-05-16  0:17 ` David S. Miller
2003-05-16  0:29 ` Jesse Barnes
2003-05-16  0:31 ` James Bottomley
2003-05-16  0:31 ` David S. Miller
2003-05-16  0:32 ` Colin Ngam
2003-05-16  0:32 ` David S. Miller
2003-05-16  0:36 ` Colin Ngam
2003-05-16  0:37 ` Jesse Barnes
2003-05-16  0:48 ` Colin Ngam
2003-05-16  0:59 ` David S. Miller
2003-05-16  1:20 ` Grant Grundler
2003-05-16  1:23 ` David S. Miller
2003-05-16  1:51 ` Grant Grundler
2003-05-16  1:59 ` Colin Ngam
2003-05-16  2:05 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent James Bottomley
2003-05-16  2:08 ` David S. Miller
2003-05-16  2:26 ` James Bottomley
2003-05-16  2:32 ` David S. Miller
2003-05-16  6:47 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Jeremy Higdon
2003-05-16  6:55 ` David S. Miller
2003-05-16  7:15 ` Jeremy Higdon
2003-05-16  7:35 ` Jeremy Higdon
2003-05-16  7:48 ` Jeremy Higdon
2003-05-16  7:53 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent David S. Miller
2003-05-16  8:00 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Jeremy Higdon
2003-05-16 17:36 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent James Bottomley
2003-05-16 17:59 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Grant Grundler
2003-05-16 18:13 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent James Bottomley
2003-05-16 18:18 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Russell King
2003-05-16 18:23 ` Grant Grundler
2003-05-16 18:29 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent James Bottomley
2003-05-16 21:02 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Jes Sorensen
2003-05-16 21:06 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent David S. Miller
2003-05-16 22:39 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Jeremy Higdon
2003-05-16 23:40 ` Jeremy Higdon
2003-05-16 23:53 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent David S. Miller
2003-05-17  4:26 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Grant Grundler
2003-05-17  4:34 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent David S. Miller
2003-05-17 16:44 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Jes Sorensen
2003-05-17 17:06 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Colin Ngam
2003-05-17 18:36 ` James Bottomley
2003-05-17 21:09 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent Interfaces Russell King
2003-05-17 22:17 ` [Linux-ia64] Re: 64 Bits DMA Addresses for Alloc Consistent David S. Miller
2003-05-18 15:53 ` James Bottomley

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=marc-linux-ia64-105590723705851@msgid-missing \
    --to=cngam@sgi.com \
    --cc=linux-ia64@vger.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