vfio/platform: initial skeleton of VFIO support for platform devices
commitde49fc0d99e6a8af8be4f56869bdea12976d3551
authorAntonios Motakis <a.motakis@virtualopensystems.com>
Mon, 16 Mar 2015 20:08:42 +0000 (16 14:08 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 16 Mar 2015 20:08:42 +0000 (16 14:08 -0600)
tree9d8a3063bf89f317187c5bda3ed768e37be35ce6
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
vfio/platform: initial skeleton of VFIO support for platform devices

This patch forms the common skeleton code for platform devices support
with VFIO. This will include the core functionality of VFIO_PLATFORM,
however binding to the device and discovering the device resources will
be done with the help of a separate file where any Linux platform bus
specific code will reside.

This will allow us to implement support for also discovering AMBA devices
and their resources, but still reuse a large part of the VFIO_PLATFORM
implementation.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
[Baptiste Reynal: added includes in vfio_platform_private.h]
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>
drivers/vfio/platform/vfio_platform_common.c [new file with mode: 0644]
drivers/vfio/platform/vfio_platform_private.h [new file with mode: 0644]