PRU from kernel space?

I’m doing some high speed data work, and I would like to have the PRU interact with a kernel driver, is there a good way to go about this?

You may find some inspiration in the BeagleLogic project.