public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC] uio: allow use on nommu systems
@ 2016-07-15  0:53 Rich Felker
  2016-07-15  1:42 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Rich Felker @ 2016-07-15  0:53 UTC (permalink / raw)
  To: Hans J. Koch, Greg Kroah-Hartman; +Cc: linux-kernel

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 <dalias@libc.org>
---

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
entail.

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
 	help
 	  Enable this to allow the userspace driver core code to be
 	  built.  This code allows userspace programs easy access to
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-15 11:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-15  0:53 [PATCH RFC] uio: allow use on nommu systems Rich Felker
2016-07-15  1:42 ` Greg Kroah-Hartman
2016-07-15  1:58   ` Rich Felker
2016-07-15 11:42     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox