search for: vfio_path_info

Displaying 12 results from an estimated 12 matches for "vfio_path_info".

2013 Jul 16
2
RFC: vfio interface for platform devices
...multiple sub-regions per "reg" or "ranges" and > > the sub-index within the reg/ranges is needed > > > > The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. > > > > ioctl: VFIO_DEVICE_GET_DEVTREE_INFO > > > > struct vfio_path_info { > > __u32 argsz; > > __u32 flags; > > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a > > "ranges" property */ > > What about distinguishing a normal interrupt from one found in an > interrupt-map? I'm...
2013 Jul 16
2
RFC: vfio interface for platform devices
...multiple sub-regions per "reg" or "ranges" and > > the sub-index within the reg/ranges is needed > > > > The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. > > > > ioctl: VFIO_DEVICE_GET_DEVTREE_INFO > > > > struct vfio_path_info { > > __u32 argsz; > > __u32 flags; > > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a > > "ranges" property */ > > What about distinguishing a normal interrupt from one found in an > interrupt-map? I'm...
2013 Jul 16
0
RFC: vfio interface for platform devices
...g, do you think there is good reason to keep it? Will it > help any decision that user space makes? Maybe we should just > drop it. As long as we can be sure all architectures will map things correctly without any flags needing to be specified, that's fine. > > > struct vfio_path_info { > > > __u32 argsz; > > > __u32 flags; > > > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region > is a > > > "ranges" property */ > > > > What about distinguishing a normal interrupt from one foun...
2013 Jul 02
7
RFC: vfio interface for platform devices
...ot; or "ranges" property -there could be multiple sub-regions per "reg" or "ranges" and the sub-index within the reg/ranges is needed The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. ioctl: VFIO_DEVICE_GET_DEVTREE_INFO struct vfio_path_info { __u32 argsz; __u32 flags; #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a "ranges" property */ __u32 index; /* input: index of region or irq for which we are getting info */ __u32 type; /* input: 0 - g...
2013 Jul 02
7
RFC: vfio interface for platform devices
...ot; or "ranges" property -there could be multiple sub-regions per "reg" or "ranges" and the sub-index within the reg/ranges is needed The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. ioctl: VFIO_DEVICE_GET_DEVTREE_INFO struct vfio_path_info { __u32 argsz; __u32 flags; #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a "ranges" property */ __u32 index; /* input: index of region or irq for which we are getting info */ __u32 type; /* input: 0 - g...
2013 Jul 03
0
RFC: vfio interface for platform devices
...erty > -there could be multiple sub-regions per "reg" or "ranges" and > the sub-index within the reg/ranges is needed > > The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. > > ioctl: VFIO_DEVICE_GET_DEVTREE_INFO > > struct vfio_path_info { > __u32 argsz; > __u32 flags; > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a > "ranges" property */ What about distinguishing a normal interrupt from one found in an interrupt-map? In the case of both ranges and interru...
2013 Jul 16
1
RFC: vfio interface for platform devices
...son to keep it? Will it > > help any decision that user space makes? Maybe we should just > > drop it. > > As long as we can be sure all architectures will map things correctly > without any flags needing to be specified, that's fine. > > > > > struct vfio_path_info { > > > > __u32 argsz; > > > > __u32 flags; > > > > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region > > is a > > > > "ranges" property */ > > > > > > What about distinguishing...
2013 Jul 16
1
RFC: vfio interface for platform devices
...son to keep it? Will it > > help any decision that user space makes? Maybe we should just > > drop it. > > As long as we can be sure all architectures will map things correctly > without any flags needing to be specified, that's fine. > > > > > struct vfio_path_info { > > > > __u32 argsz; > > > > __u32 flags; > > > > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region > > is a > > > > "ranges" property */ > > > > > > What about distinguishing...
2013 Jul 03
0
RFC: vfio interface for platform devices
...property > -there could be multiple sub-regions per "reg" or "ranges" and > the sub-index within the reg/ranges is needed > > The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. > > ioctl: VFIO_DEVICE_GET_DEVTREE_INFO > > struct vfio_path_info { > __u32 argsz; > __u32 flags; > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a "ranges" property */ > __u32 index; /* input: index of region or irq for which we are getting info */ > __u32 type;...
2013 Jul 03
0
RFC: vfio interface for platform devices
...y > -there could be multiple sub-regions per "reg" or "ranges" and > the sub-index within the reg/ranges is needed > > The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. > > ioctl: VFIO_DEVICE_GET_DEVTREE_INFO > > struct vfio_path_info { > __u32 argsz; > __u32 flags; > #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a "ranges" property */ (1 << 0)? Having flags = 0x0 for regs and 0x1 for ranges is a bit awkward. I'd suggest a bit for each. Otherwise, wh...
2013 Jul 03
1
RFC: vfio interface for platform devices
...uld be multiple sub-regions per "reg" or "ranges" and >> the sub-index within the reg/ranges is needed >> >> The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. >> >> ioctl: VFIO_DEVICE_GET_DEVTREE_INFO >> >> struct vfio_path_info { >> __u32 argsz; >> __u32 flags; >> #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a "ranges" property */ > > (1 << 0)? > > Having flags = 0x0 for regs and 0x1 for ranges is a bit awkward. I'd > sug...
2013 Jul 03
1
RFC: vfio interface for platform devices
...uld be multiple sub-regions per "reg" or "ranges" and >> the sub-index within the reg/ranges is needed >> >> The VFIO_DEVICE_GET_DEVTREE_INFO operates on a device fd. >> >> ioctl: VFIO_DEVICE_GET_DEVTREE_INFO >> >> struct vfio_path_info { >> __u32 argsz; >> __u32 flags; >> #define VFIO_DEVTREE_INFO_RANGES (1 << 3) /* the region is a "ranges" property */ > > (1 << 0)? > > Having flags = 0x0 for regs and 0x1 for ranges is a bit awkward. I'd > sug...