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

Andrew Vasquez
2004-09-18T01:19:22Z

On Fri, 17 Sep 2004, James Bottomley wrote:

> On Fri, 2004-09-17 at 18:55, Andrew Vasquez wrote:
> > The reads are there to ensure ordering of the writes at each stage of
> > the reset (in qla_init.c) and fw dumps (qla_dbg.c). After speaking
> > with the hardware and firmware folks, the readw() after the
> > soft-reset in qla_init.c was probably what triggered the MCA. Seems
> > we will have to settle for some sort of udelay() as what was done in
> > reset_chip().
>
> Just to confirm if we absolutely have to do this...the offending reads
> to issue the posting flush were to the register you just wrote to to get
> the chip to reset. However, any MMIO read to any region of that card
> would also trigger a posted write flush. Does the chip drop entirely
> off the PCI bus during the execution of reset, or could we perhaps issue
> an innocuous read to somewhere in PCI configuration space for the card?
>

I had asked the hardware guy a similar question -- for the soft-reset
operation, we'll _not_ be able to issue additional readw()s until '16
PCI clocks elapse.' So, it seems we'll have to settle with the
udelay() in this particular instance.

--
Andrew