Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2008 12:14:16 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/amd64/include intr_machdep.h src/sys/arm/arm intr.c src/sys/i386/i386 intr_machdep.c src/sys/i386/include intr_machdep.h src/sys/ia64/ia64 interrupt.c src/sys/kern kern_intr.c ...
Message-ID:  <47DD7188.8000109@freebsd.org>
In-Reply-To: <20080316145259.A37148@grasshopper.cs.duke.edu>
References:  <200803141941.m2EJfmL2020579@repoman.freebsd.org> <20080316145259.A37148@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Gallatin wrote:
> John Baldwin [jhb@FreeBSD.org] wrote:
>
>   
>>     MI code can currently (ab)use this by doing:
>>   
>>           intr_bind(rman_get_start(irq_res), cpu);
>>   
>>     however, I plan to add a truly MI interface (probably a bus_bind_intr(9))
>>     
>
> Thank you very much for this!
>
> Do you plan to add a generic adminstrative interface to bind
> interrupts, or may I add a driver specific sysctl to bind mxge's
> interrupts in mxge?  If you plan to add a generic administrative
> interface, I think we also need to add a way for drivers to label
> their interrupts so that an administrator can differentiate between
> the different MSI-X vectors.
>   

Any idea where this should go?  Might be time to grow a tool that grok's 
the newbus hierarchy and pushes requests to devices.  I've wanted 
functionality like netbsd has recently added to control power to devices 
and this would be seem to be similar.  Not sure if we can do something 
that'd unify programs like atacontrol and camcontrol (or whether this is 
a good idea).

    Sam



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