Re: [PATCH] sparc32: Page align size in arch_dma_alloc

From: David Miller
Date: Tue Sep 14 2021 - 07:40:22 EST


From: Christoph Hellwig <hch@xxxxxx>
Date: Tue, 14 Sep 2021 08:12:22 +0200

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

Yep, it's ok.