linux/drivers/vfio/platform
Antonios Motakis 6e3f264560 vfio/platform: read and write support for the device fd
VFIO returns a file descriptor which we can use to manipulate the memory
regions of the device. Usually, the user will mmap memory regions that are
addressable on page boundaries, however for memory regions where this is
not the case we cannot provide mmap functionality due to security concerns.
For this reason we also allow to use read and write functions to the file
descriptor pointing to the memory regions.

We implement this functionality only for MMIO regions of platform devices;
PIO regions are not being handled at this point.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Tested-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-03-16 14:08:47 -06:00
..
Kconfig vfio: amba: add the VFIO for AMBA devices module to Kconfig 2015-03-16 14:08:45 -06:00
Makefile vfio: amba: add the VFIO for AMBA devices module to Kconfig 2015-03-16 14:08:45 -06:00
vfio_amba.c vfio: amba: VFIO support for AMBA devices 2015-03-16 14:08:44 -06:00
vfio_platform_common.c vfio/platform: read and write support for the device fd 2015-03-16 14:08:47 -06:00
vfio_platform_private.h vfio/platform: read and write support for the device fd 2015-03-16 14:08:47 -06:00
vfio_platform.c vfio: platform: probe to devices on the platform bus 2015-03-16 14:08:43 -06:00