On Wed, Nov 13, 2013 at 10:24:00AM -, David Laight wrote:
> > Greg KH wrote:
> > On Tue, Nov 12, 2013 at 01:58:05PM -, David Laight wrote:
> > >
> > > There needs to be a wmb() barrier between the write to the cycle bit
> > > in the first TRB and the write to the doorbell register.
> > >
>
> Greg KH wrote:
> On Tue, Nov 12, 2013 at 01:58:05PM -, David Laight wrote:
> >
> > There needs to be a wmb() barrier between the write to the cycle bit
> > in the first TRB and the write to the doorbell register.
> >
> > Since it isn't needed in the other places the doobell is rung
> > (becau
On Tue, Nov 12, 2013 at 01:58:05PM -, David Laight wrote:
>
> There needs to be a wmb() barrier between the write to the cycle bit
> in the first TRB and the write to the doorbell register.
>
> Since it isn't needed in the other places the doobell is rung
> (because the ring contents haven't
There needs to be a wmb() barrier between the write to the cycle bit
in the first TRB and the write to the doorbell register.
Since it isn't needed in the other places the doobell is rung
(because the ring contents haven't been changed) add it to
giveback_first_trb() rather than somewhere later.