Subject: Re: powerpc softintr (was Re: ibm4xx interrupts)
To: Tadashi G. Takaoka <>
From: Jachym Holecek <>
List: port-powerpc
Date: 06/28/2006 01:50:05
# Tadashi G. Takaoka 2006-06-27:
> On Tue, 27 Jun 2006 01:55:23 +0200,
> Jachym Holecek <freza AT> 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