Re: SCSI QLA not working on latest *-mm SN2

Jesse Barnes
2004-09-21T22:34:26Z

On Tuesday, September 21, 2004 5:43 pm, Jeremy Higdon wrote:
> > > CPUA: writel(value_X, common_register)
> > > sn_mmiob()
> > > spin_unlock(common_lock)
> > >
> > > CPUB: spin_lock(common_lock)
> > > writel(value_Y, common_register)
> > >
> > > would strongly order the writes.
> >
> > I think your _raw_spin_unlock() should include an sn_mmiob().
>
> That could be very painful.
> On Irix, we actually had a separate spinunlock (io_spin_unlock) that
> added the MIPS equivalent. I'm assuming we don't want to entertain
> that here :-) (Though tell me if I'm wrong)

It's worth noting that this affects some MIPS systems as well, so that's at
least two Linux arches that would benefit from a nice solution to this
problem.

Jesse