Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: powerpc softintr (was Re: ibm4xx interrupts)



# Tadashi G. Takaoka 2006-06-27:
> On Tue, 27 Jun 2006 01:55:23 +0200,
> Jachym Holecek <freza AT dspfpga.com> wrote
> >the diff below converts ibm4xx to:
> >  * generic soft interrupts
> 
> I think powerpc's softintr_schedule() has a problem when checking
> si->si_refs value.  It should be checked in splvm() guard. right?

That sounds right, I'll look more closely tomorrow.

> I have experienced KASSERT(si->si_refs > 0) failed at softintr__run()
> when havily softintr/softnet had occured. Following quick patch
> resolves the phenomenon.

What board was this on? Does it happen with/without the patch applied?
I suspect I should re-read the way IPL masks get calculated.

        -- Jachym



Home | Main Index | Thread Index | Old Index