Re: (reposting) how to get DMA'able memory within 4GB on 64-bit m achi ne

David S. Miller (davem@redhat.com)
Thu, 28 Jun 2001 15:01:27 -0700 (PDT)


Jes Sorensen writes:
> >>>>> "Hiren" == MEHTA,HIREN (A-SanJose,ex1) <hiren_mehta@agilent.com> writes:
>
> Hiren> Then why do we have 64-bit dma_addr_t on ia64 ? -hiren
>
> Because on ia64 you will get back a 64 bit pointer if you use
> pci_set_dma_mask() to set a 64 bit mask before calling the pci
> functions in question.

Please note that this is nonstandard and undocumented behavior.

This is not a supported API at all, and the way 64-bit DMA will
eventually be done across all platforms is likely to be different.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/