[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1396436064.3554.53.camel@linaro1.home>
Date: Wed, 02 Apr 2014 11:54:24 +0100
From: "Jon Medhurst (Tixy)" <tixy@...aro.org>
To: Catalin Marinas <catalin.marinas@....com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Liviu Dudau <Liviu.Dudau@....com>
Subject: Re: Bug(?) in patch "arm64: Implement coherent DMA API based on
swiotlb" (was Re: [GIT PULL] arm64 patches for 3.15)
On Wed, 2014-04-02 at 10:20 +0100, Catalin Marinas wrote:
> On Wed, Apr 02, 2014 at 09:52:02AM +0100, Jon Medhurst (Tixy) wrote:
> > On Tue, 2014-04-01 at 18:29 +0100, Catalin Marinas wrote:
> > > +1: tst x0, x3 // start cache line aligned?
> > > + bic x0, x0, x3
> > > + b.eq 2f
> > > + dc civac, x0 // clean & invalidate D / U line
> > > + b 3f
> > > +2: dc ivac, x0 // invalidate D / U line
> > > +3: add x0, x0, x2
> > > cmp x0, x1
> > > b.lo 1b
> >
> > The above obviously also needs changing to branch to 3b
>
> Good point.
Actually, it should be 2b :-)
--
Tixy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists