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

David S. Miller (davem@redhat.com)
Fri, 6 Jul 2001 16:46:45 -0700 (PDT)


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
-
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/