Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Apr 2008 09:42:56 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        arm@freebsd.org
Subject:   Re: A patch to simplify the MD interrupt code a bit..
Message-ID:  <47F65A90.6030803@freebsd.org>
In-Reply-To: <47F5A8E0.7010803@freebsd.org>
References:  <200804031514.33243.jhb@FreeBSD.org> <47F5A87C.1000804@freebsd.org> <47F5A8E0.7010803@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sam Leffler wrote:
> Sam Leffler wrote:
>> John Baldwin wrote:
>>> This patch adds an MI intr_event_handle() routine for the non-FILTER 
>>> case so that the MD code becomes identical in both cases and all the 
>>> INTR_FILTER #ifdef's end up in kern_intr.c.  It's been tested on 
>>> amd64, i386, and sparc64 and cross-compiled on ppc, arm, and ia64.  
>>> I'd like to get it tested on arm as I slightly adjusted the MD code 
>>> to just not bother masking the interrupt unless we are going to run 
>>> an ithread which is mostly what the existing FILTER code did except 
>>> that it unmasked the interrupt when it wasn't masked in the first 
>>> place if a filter handled the interrupt.  Patch is at 
>>> http://www.freebsd.org/~jhb/patches/intr_filter.patch
>>>
>>>   
>> Seems to be ok on an AVILA board w/ latest HEAD.
>
> Ooops, hold that.  Your patch doesn't apply cleanly and I missed 
> that.  Will try again tomorrow.
>
Works fine on my Avila 2348 board.

    Sam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F65A90.6030803>