diff options
| author | Antonios Motakis <a.motakis@virtualopensystems.com> | 2015-03-16 16:08:43 -0400 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2015-03-16 16:08:43 -0400 |
| commit | 9df85aaa43297cb12dc85155695dd1bfdf94f91d (patch) | |
| tree | b7a17a5d63ae1d3b6f6412e8251f066421050fb6 /include/uapi/linux | |
| parent | de49fc0d99e6a8af8be4f56869bdea12976d3551 (diff) | |
vfio: platform: probe to devices on the platform bus
Driver to bind to Linux platform devices, and callbacks to discover their
resources to be used by the main VFIO PLATFORM code.
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>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/vfio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index 82889c30f4f5..ea9514b6bb5c 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h | |||
| @@ -160,6 +160,7 @@ struct vfio_device_info { | |||
| 160 | __u32 flags; | 160 | __u32 flags; |
| 161 | #define VFIO_DEVICE_FLAGS_RESET (1 << 0) /* Device supports reset */ | 161 | #define VFIO_DEVICE_FLAGS_RESET (1 << 0) /* Device supports reset */ |
| 162 | #define VFIO_DEVICE_FLAGS_PCI (1 << 1) /* vfio-pci device */ | 162 | #define VFIO_DEVICE_FLAGS_PCI (1 << 1) /* vfio-pci device */ |
| 163 | #define VFIO_DEVICE_FLAGS_PLATFORM (1 << 2) /* vfio-platform device */ | ||
| 163 | __u32 num_regions; /* Max region index + 1 */ | 164 | __u32 num_regions; /* Max region index + 1 */ |
| 164 | __u32 num_irqs; /* Max IRQ index + 1 */ | 165 | __u32 num_irqs; /* Max IRQ index + 1 */ |
| 165 | }; | 166 | }; |
