That’s a great idea if you don’t care about performance.
Common misconception. I suggest this article.
Re:Userland PCI drivers
by wean_irdeh on Tuesday March 27, 2018 @05:57AM
(#16686824)
Being in userspace doesn't mean compromised performance, just like how QNX has done for decades
If it can be done outside the kernel, it shouldn't be in the kernel.