Re: [PATCH v7 3/5] usb: host: ohci-sm501: init genalloc for local memory

Christoph Hellwig
2019-06-25T06:00:37Z

On Mon, Jun 24, 2019 at 02:59:16PM +0200, Fredrik Noring wrote:
> Hi Christoph,
>
> > Can you send me the patch formally so that I can queue it up for the
> > dma-mapping tree?
>
> That patch would be detrimental to local memory devices, as previously
> discussed, so I would like to suggest a much better approach, as shown below,
> where allocations are aligned as required but not necessarily much more than
> that.

This looks sensible to me. Can you submit it with a proper patch
description and split into a separate patch for genalloc vs the user of
the new interface?