Damian Hobson-Garcia
0a0c3b5a24
Add new uio device for dynamic memory allocation
...
This device extends the uio_pdrv_genirq driver to provide limited
dynamic memory allocation for UIO devices. This allows UIO devices
to use CMA and IOMMU allocated memory regions. This driver is based
on the uio_pdrv_genirq driver and provides the same generic interrupt
handling capabilities. Like uio_prdv_genirq,
a fixed number of memory regions, defined in the platform device's
.resources field are exported to userpace. This driver adds the ability
to export additional regions whose number and size are known at boot time,
but whose memory is not allocated until the uio device file is opened for
the first time. When the device file is closed, the allocated memory block
is freed. Physical (DMA) addresses for the dynamic regions are provided to
the userspace via /sys/class/uio/uioX/maps/mapY/addr in the same way as
static addresses are when the uio device file is open, when no processes
are holding the device file open, the address returned to userspace is
DMA_ERROR_CODE.
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp >
Signed-off-by: "Hans J. Koch" <hjk@hansjkoch.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-10-24 15:39:08 -07:00
..
2012-10-02 17:26:42 -07:00
2012-10-09 15:04:25 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-08 06:38:18 +09:00
2012-10-17 10:00:29 -03:00
2012-09-05 12:20:49 -07:00
2012-10-09 09:48:44 +01:00
2012-10-11 10:27:51 +09:00
2012-10-02 17:16:10 -07:00
2012-10-17 12:31:15 +01:00
2012-10-09 07:07:14 +09:00
2012-10-17 12:31:15 +01:00
2012-10-09 15:04:25 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-24 15:39:08 -07:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-17 12:31:15 +01:00
2012-10-13 14:15:08 -07:00
2012-10-17 12:31:15 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-09 16:22:46 +09:00
2012-03-16 10:38:24 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2010-12-06 15:58:43 -05:00
2012-08-04 01:24:44 +04:00
2012-10-13 10:46:48 +01:00
2011-08-03 11:30:42 -04:00
2012-09-20 14:31:45 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-07-26 16:49:47 -07:00
2012-05-29 16:22:20 -07:00
2010-03-03 11:25:58 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-01-13 08:03:17 -08:00
2012-10-13 10:46:48 +01:00
2012-05-02 09:30:32 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-09 16:22:51 +09:00
2012-10-10 12:02:25 +09:00
2012-10-12 10:27:27 +09:00
2011-01-05 14:15:50 +01:00
2012-10-13 10:46:48 +01:00
2010-08-10 13:47:42 -07:00
2012-10-12 06:37:36 -05:00
2008-06-04 14:56:12 +01:00
2012-10-19 14:07:47 -07:00
2012-07-17 12:39:26 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-03-28 15:58:21 -07:00
2012-04-17 00:18:36 -04:00
2011-11-23 18:49:22 +01:00
2012-03-17 21:51:34 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2007-02-09 17:39:36 -05:00
2012-05-01 08:58:06 -04:00
2011-11-29 12:46:19 -05:00
2012-10-13 10:46:48 +01:00
2012-10-16 18:49:15 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2008-01-28 23:21:18 +01:00
2011-03-22 17:44:11 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-09-10 15:49:54 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-10-31 09:20:11 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-05-26 17:12:33 -07:00
2009-12-17 10:58:17 -05:00
2011-01-07 17:50:27 +11:00
2012-10-16 13:37:17 -04:00
2012-10-13 10:46:48 +01:00
2012-10-12 00:32:03 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-06 03:04:57 +09:00
2012-10-13 10:46:48 +01:00
2006-09-30 01:47:55 +02:00
2012-10-09 16:23:01 +09:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2009-06-26 10:48:34 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-07-11 23:34:39 +02:00
2012-10-09 16:23:02 +09:00
2012-09-10 16:42:33 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-08-04 01:27:57 -07:00
2012-09-17 18:08:54 -07:00
2012-10-06 03:04:37 +09:00
2012-10-13 10:46:48 +01:00
2011-01-31 21:17:41 -08:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-12 22:17:48 +09:00
2012-10-13 10:46:48 +01:00
2012-10-17 12:31:15 +01:00
2012-10-13 10:46:48 +01:00
2007-07-31 15:39:40 -07:00
2012-10-13 10:46:48 +01:00
2012-09-25 15:42:37 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-07-21 10:34:00 -07:00
2010-03-15 15:29:39 +01:00
2012-08-13 17:01:06 +02:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-10 20:14:07 +09:00
2012-10-10 01:15:44 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-01-10 19:04:08 +01:00
2012-10-13 10:46:48 +01:00
2012-10-09 16:22:47 +09:00
2012-10-11 08:50:16 +09:00
2012-10-09 16:23:02 +09:00
2012-09-17 15:00:37 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-07-19 15:51:36 -04:00
2012-10-09 16:22:54 +09:00
2012-10-13 10:46:48 +01:00
2012-05-29 16:22:20 -07:00
2012-10-09 16:22:58 +09:00
2012-10-09 16:23:00 +09:00
2012-10-01 18:02:07 -07:00
2012-10-10 20:00:55 +10:30
2012-09-28 14:31:03 +09:30
2012-06-08 14:58:13 +09:30
2009-04-01 07:38:54 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2008-02-13 16:21:18 -08:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-02-24 01:42:07 -08:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-12-21 14:48:43 -08:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-17 15:53:01 -05:00
2012-10-17 15:53:02 -05:00
2012-10-10 22:41:05 -04:00
2012-10-17 15:53:00 -05:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2011-12-03 09:35:17 -08:00
2012-10-09 16:22:52 +09:00
2012-10-11 08:50:14 +09:00
2012-10-13 10:46:48 +01:00
2008-10-13 10:10:37 -07:00
2012-10-13 10:46:48 +01:00
2011-01-16 13:47:07 -05:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-19 14:07:47 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-09-07 21:13:28 +01:00
2012-09-22 15:42:46 -04:00
2012-10-13 10:46:48 +01:00
2008-09-02 19:21:38 -07:00
2012-10-13 10:46:48 +01:00
2010-02-08 18:19:41 -06:00
2012-10-13 10:46:48 +01:00
2010-02-10 17:47:17 -08:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-04-23 21:17:51 -04:00
2012-10-11 08:50:16 +09:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-11 20:02:04 -04:00
2010-10-22 10:20:06 -07:00
2012-10-13 10:46:48 +01:00
2012-05-04 15:13:54 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-04-30 10:48:25 -07:00
2008-05-26 16:15:32 +02:00
2011-06-14 22:48:51 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2008-10-03 11:46:14 -05:00
2012-10-13 10:46:48 +01:00
2009-04-10 15:48:52 +02:00
2012-10-13 10:46:48 +01:00
2012-10-09 16:22:55 +09:00
2012-10-13 10:46:48 +01:00
2005-04-16 15:20:36 -07:00
2012-10-12 13:35:07 -04:00
2011-03-15 00:43:46 +01:00
2012-10-13 10:46:48 +01:00
2012-09-13 16:47:34 +02:00
2012-10-13 10:46:48 +01:00
2010-05-27 09:12:51 -07:00
2012-10-13 10:46:48 +01:00
2012-08-21 16:28:31 +02:00
2011-05-23 13:59:53 +02:00
2012-10-09 16:22:32 +09:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-03-20 21:29:40 -04:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-17 11:16:13 -07:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-09 11:24:47 +01:00
2012-10-09 16:22:59 +09:00
2012-07-30 12:25:45 +02:00
2012-10-09 16:22:59 +09:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-10-13 10:46:48 +01:00
2012-08-21 13:18:24 -07:00
2012-08-04 12:15:37 +04:00
2012-10-13 10:46:48 +01:00