Re: [RFC] Simple userspace interface for PCI drivers

From: Thomas Gleixner
Date: Sun Sep 03 2006 - 04:36:50 EST


On Fri, 2006-09-01 at 21:17 +0000, Pavel Machek wrote:
> Hi!
>
> > And the name is a bit ackward, anyone have a better suggestion?
>
> drivers/uio (for userspace io driver)?

not too bad.

> And yes, I think this one _should_ taint the kernel. When userspace
> starts playing with interrupts, chances of kernel crash are high.

Userspace does not play with interrupts directly. You still have a small
stub driver, which does the primary interrupt handling, else you would
have a hard time to deal with shared irqs.

> Does it work properly with pci shared interrupts?

See the SERCOS example I posted.

tglx



--
VGER BF report: U 0.500128
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/