Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)
[Posted March 15, 2005 by corbet]
From: |
| Michael Raymond <mraymond-AT-sgi.com> |
To: |
| Peter Chubb <peterc-AT-gelato.unsw.edu.au> |
Subject: |
| Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11) |
Date: |
| Fri, 11 Mar 2005 07:50:32 -0600 |
Cc: |
| linux-kernel-AT-vger.kernel.org |
I have many users asking for something like this. Peter's approach is
simple and it appears to solve the problem for many situations.
With that in mind though, for a more complicated but higher performing
approach please take a look at the User Level Interrupt (ULI) project at
http://oss.sgi.com/projects/uli/. It requires some per-arch assembly but
with some recent changes we're seeing ~1.5us latency from hardware event to
user space function start. I'm hoping to add an IA32 port out soon.
Thanks,
Michael
On Fri, Mar 11, 2005 at 02:36:10PM +1100, Peter Chubb wrote:
>
> As many of you will be aware, we've been working on infrastructure for
> user-mode PCI and other drivers. The first step is to be able to
> handle interrupts from user space. Subsequent patches add
> infrastructure for setting up DMA for PCI devices.
--
Michael A. Raymond Office: (651) 683-3434
Core OS Group Real-Time System Software