[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170330120522.4af7bcbc@bbrezillon>
Date: Thu, 30 Mar 2017 12:05:22 +0200
From: Boris Brezillon <boris.brezillon@...e-electrons.com>
To: Max Filippov <jcmvbkbc@...il.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Chris Zankel <chris@...kel.net>,
"linux-xtensa@...ux-xtensa.org" <linux-xtensa@...ux-xtensa.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] xtensa: Fix mmap() support
On Thu, 30 Mar 2017 02:05:28 -0700
Max Filippov <jcmvbkbc@...il.com> wrote:
> On Thu, Mar 30, 2017 at 1:30 AM, Boris Brezillon
> <boris.brezillon@...e-electrons.com> 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@...e-electrons.com>
Reviewed-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
when submitting the patch.
Thanks,
Boris
Powered by blists - more mailing lists