search for: vfio_devtree_region_info_flag_path

Displaying 9 results from an estimated 9 matches for "vfio_devtree_region_info_flag_path".

2013 Jul 03
6
RFC: vfio interface for platform devices (v2)
...__u32 argsz; __u32 flags; #define VFIO_REGION_INFO_FLAG_CACHEABLE (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_REG (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) __u32 index; /* Region index */ __u32 resv; /* Reserved for alignment */ __u64 size; /* Region size (bytes) */ __u64 offset; /* Region offset from start of device fd */ }; VFIO_REGION_INFO_FLAG_CACHE...
2013 Jul 03
6
RFC: vfio interface for platform devices (v2)
...__u32 argsz; __u32 flags; #define VFIO_REGION_INFO_FLAG_CACHEABLE (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_REG (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) __u32 index; /* Region index */ __u32 resv; /* Reserved for alignment */ __u64 size; /* Region size (bytes) */ __u64 offset; /* Region offset from start of device fd */ }; VFIO_REGION_INFO_FLAG_CACHE...
2013 Jul 04
0
RFC: vfio interface for platform devices (v2)
...__u32 flags; > #define VFIO_REGION_INFO_FLAG_CACHEABLE (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_REG (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) > __u32 index; /* Region index */ > __u32 resv; /* Reserved for alignment */ > __u64 size; /* Region size (bytes) */ > __u64 offset; /* Region offset from start of device fd */ > }; >...
2013 Jul 03
0
RFC: vfio interface for platform devices (v2)
...__u32 flags; > #define VFIO_REGION_INFO_FLAG_CACHEABLE (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_REG (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) > __u32 index; /* Region index */ > __u32 resv; /* Reserved for alignment */ > __u64 size; /* Region size (bytes) */ > __u64 offset; /* Region offset from start of device fd */ > }; >...
2013 Jul 03
0
RFC: vfio interface for platform devices
...uire no space: #define VFIO_DEVTREE_REGION_INFO_FLAG_REG (1 << ?) #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) Others imply a structure added to the end: #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) struct vfio_devtree_region_info_index { u32 index; } #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) struct vfio_devtree_region_info_path { u32 len; u8 path[]; } The order of the flags indicates the order of the structures at the end. We'd need to have some rules about alignment, probably always dword aligned. I'm not sure if it would be necessary each structure to have...
2013 Jul 03
1
RFC: vfio interface for platform devices
...t; ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) > > Others imply a structure added to the end: > > #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) > > struct vfio_devtree_region_info_index > { > u32 index; > } > > #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) > > struct vfio_devtree_region_info_path > { > u32 len; > u8 path[]; > } > > The order of the flags indicates the order of the structures at the end. > We'd need to have some rules about alignment, probably always dword > ali...
2013 Jul 03
1
RFC: vfio interface for platform devices
...t; ?) > #define VFIO_DEVTREE_REGION_INFO_FLAG_RANGE (1 << ?) > > Others imply a structure added to the end: > > #define VFIO_DEVTREE_REGION_INFO_FLAG_INDEX (1 << ?) > > struct vfio_devtree_region_info_index > { > u32 index; > } > > #define VFIO_DEVTREE_REGION_INFO_FLAG_PATH (1 << ?) > > struct vfio_devtree_region_info_path > { > u32 len; > u8 path[]; > } > > The order of the flags indicates the order of the structures at the end. > We'd need to have some rules about alignment, probably always dword > ali...
2013 Jul 02
7
RFC: vfio interface for platform devices
The write-up below is the first draft of a proposal for how the kernel can expose platform devices to user space using vfio. In short, I'm proposing a new ioctl VFIO_DEVICE_GET_DEVTREE_INFO which allows user space to correlate regions and interrupts to the corresponding device tree node structure that is defined for most platform devices. Regards, Stuart Yoder
2013 Jul 02
7
RFC: vfio interface for platform devices
The write-up below is the first draft of a proposal for how the kernel can expose platform devices to user space using vfio. In short, I'm proposing a new ioctl VFIO_DEVICE_GET_DEVTREE_INFO which allows user space to correlate regions and interrupts to the corresponding device tree node structure that is defined for most platform devices. Regards, Stuart Yoder