Re: [PATCH] RFC: kills consistent_dma_mask

David S. Miller
2003-08-19T18:44:32Z

On 19 Aug 2003 19:33:19 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> On Maw, 2003-08-19 at 17:55, David S. Miller wrote:
> > (d) Makes implementations have to verify the mask is usable
> > on every mapping attempt.
>
> Or once per type with a bit of thought about it. I deal with
> hardware that has 2 limits on its consistent allocs and a
> different one with its streaming I/O buffers. It doesn't seem
> too atypical either

Are you talking on the platform or the PCI device side?

If on the platform side, the device wants to use the most
capable range/mask/whatever available that also fits it's
limits.

If on the PCI device side, it's also a best fit problem.

Give a specific example so I can map this out in my head.