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

James Bottomley
2004-09-21T15:42:22Z

On Tue, 2004-09-21 at 11:13, Jesse Barnes wrote:
> On Tuesday, September 21, 2004 1:46 am, Grant Grundler wrote:
> > No it doesn't. Only if it depends on *when* the write hits the device.
> > The classic example is:
> > writel(x, CMD_RESET);
> > udelay(10);
> > readl(x+STATUS); /* parisc will crash if not ready */
>
> Ok, hopefully I've covered this in this release (patch to deviceiobook will
> come later).
>
> The short of it is that we really need pioflush. I'll resurrect my mmiob
> patches, change the name and prototype, and resubmit.

Just to get back to the actual qla2xxx problem.

Do we agree that there are two possible solutions:

1) Find a safe mmio read to trigger the flush of the posted reset write.

2) Use a pio write to trigger the reset because we know the reset is
active as soon as the write returns.

and if so, which one are we going to implement?

James