Re: [PATCH] xtensa: Fix mmap() support

From: Boris Brezillon
Date: Thu Mar 30 2017 - 06:05:57 EST


On Thu, 30 Mar 2017 02:05:28 -0700
Max Filippov <jcmvbkbc@xxxxxxxxx> wrote:

> On Thu, Mar 30, 2017 at 1:30 AM, Boris Brezillon
> <boris.brezillon@xxxxxxxxxxxxxxxxxx> wrote:
> >> Could you please instead check if the dma_common_mmap works for you
> >> with the attached patch?
> >
> > I will. BTW, shouldn't it be
> >
> > if (off >= XCHAL_KSEG_SIZE)
> >
> > instead of
> >
> > if (off > XCHAL_KSEG_SIZE)
> > ?
>
> Oops. Yes, you're right.
>

It works, you can add my

Tested-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>

when submitting the patch.

Thanks,

Boris