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

David S. Miller
2001-07-06T23:47:16Z

Jes Sorensen writes:
> David> And this still leaves the 64-bit dma_addr_t overhead issue.
>
> The 64 bit dma_addr_t is only an issue on 32 bit architectures with
> highmem enabled. I never suggested making dma_addr_t 64 bit on 32 bit
> architectures as a general thing.

What about for drivers of SAC-only devices, they eat the overhead
when highmem is enabled too?

This says nothing about the real reason the IA64 solution is
unacceptable, the inputs to the mapping functions which must
be "page+offset+len" triplets as there is no logical "virtual
address" to pass into the mapping routines on 32-bit systems.

Face it, the ia64 stuff is not what we can use across the board. It
simply doesn't deal with all the necessary issues. Therefore,
encouraging driver author's to use this ia64 hacked up scheme is
not such a hot idea until we have a real API implemented.

Later,
David S. Miller
davem@redhat.com