Re: [PATCH] sparc32: Page align size in arch_dma_alloc
From: Christoph Hellwig
Date: Tue Sep 14 2021 - 02:12:32 EST
On Wed, Sep 08, 2021 at 06:04:54PM +0200, Sam Ravnborg wrote:
> Hi Andreas,
>
> On Wed, Sep 08, 2021 at 09:48:22AM +0200, Andreas Larsson wrote:
> > Commit 53b7670e5735 ("sparc: factor the dma coherent mapping into
> > helper") lost the page align for the calls to dma_make_coherent and
> > srmmu_unmapiorange. The latter cannot handle a non page aligned len
> > argument.
>
> I wonder how you managed to track this down - well done.
> >
> > Signed-off-by: Andreas Larsson <andreas@xxxxxxxxxxx>
> Reviewed-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
>
> I assume David or Christoph picks it up.
I'll happily pick it up if that is ok. Dave?