[lkml]   [2016]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH RFC] uio: allow use on nommu systems
mmap of uio devices does not seem to work without further
nommu-specific support, but interrupt handling already works, and
userspace drivers for nommu systems can simply use physical mmio
addresses from userspace directly anyway without mmap.

Signed-off-by: Rich Felker <>

I don't particularly expect this to be accepted upstream as-is, but
since we're actually trying to use the UIO subsystem on nommu (J2),
I'd like to start a discussion of what an acceptable patch would

The uio_pdrv_genirq driver was tested on J2 with this patch and
interrupt handling works as expected.

drivers/uio/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig
index 52c98ce..387b2bb 100644
--- a/drivers/uio/Kconfig
+++ b/drivers/uio/Kconfig
@@ -1,6 +1,5 @@
menuconfig UIO
tristate "Userspace I/O drivers"
- depends on MMU
Enable this to allow the userspace driver core code to be
built. This code allows userspace programs easy access to
 \ /
  Last update: 2016-07-15 03:21    [W:0.034 / U:3.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site