FreeBSD on Layerscape/QorIQ LX2160X
Warner Losh
imp at bsdimp.com
Mon May 25 00:51:12 UTC 2020
On Sun, May 24, 2020 at 5:51 PM <greg at unrelenting.technology> wrote:
> May 25, 2020 1:15 AM, "Warner Losh" <imp at bsdimp.com> wrote:
>
> > On Fri, May 22, 2020 at 7:46 PM myfreeweb <greg at unrelenting.technology>
> wrote:
> >
> > It's not really polling the I/O. It's waiting for an interrupt to keep
> it going. No interrupt, no
> > update in the status -> panic. So I'm guessing there's an interrupt
> issue at play here of some
> > sort. The polling path, which needs to be redone, doesn't use the same
> timeout stuff, so it doesn't
> > check to see if there's any complete requests before failing (which is
> why it needs to be redone).
> > We could likely just throw it all away because it was there before we
> configured everything with a
> > config interrupt hook.
> > Not sure about the root cause of the interrupt issue is...a
>
> Yep, I came to that understanding later in the thread.
> It's really weird but interrupts not working seems to make most sense.
>
> On the SAS HBA, the interrupt handler did a debug print though..
> oddly enough, before intr_setup_irq's DEBUG print
>
The mpr driver, iirc, calls the ISR to clear out pending interrupts, so
maybe that's why...
Warner
More information about the freebsd-arm
mailing list