search for: _iorw

Displaying 5 results from an estimated 5 matches for "_iorw".

Did you mean: _ior
2015 May 18
2
[Y2038] kernel/libc uapi changes for y2038
...s hoping to get this part merged as a stepping stone in the process of finding out. The problem is that there are so many different cases we have to worry about just for time_t: a) ioctls that pass a data structure from include/uapi/ with time_t and have a properly defined (using _IOW()/_IOR()/_IORW()) command number: these are easy enough to find and fix. b) ioctls that have a data structure as before but define their ioctl commands differently (e.g. using a literal number). I don't think we can fix them before we introduce the __KERNEL_TIME_BITS macro from my patch, because...
2015 May 18
5
kernel/libc uapi changes for y2038
In the patch series I posted recently [1], I introduce new system calls to deal with modified data structures, but left the question open on how these should be best accessed from libc. The patches introduce a new __kernel_time64_t type and based on that five new data structured: struct __kernel_timespec, struct __kernel_itimerspec, struct __kernel_stat, struct __kernel_rusage, and struct
2019 Jul 03
0
[RFC v2] vhost: introduce mdev based hardware vhost backend
...> + */ > + > +enum { > + VFIO_VHOST_CONFIG_REGION_INDEX, > + VFIO_VHOST_NOTIFY_REGION_INDEX, > + VFIO_VHOST_NUM_REGIONS > +}; > + > +enum { > + VFIO_VHOST_VQ_IRQ_INDEX, > + VFIO_VHOST_NUM_IRQS > +}; > + > /** > * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IORW(VFIO_TYPE, VFIO_BASE + 12, > * struct vfio_pci_hot_reset_info) > diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h > index 40d028eed645..ad95b90c5c05 100644 > --- a/include/uapi/linux/vhost.h > +++ b/include/uapi/linux/vhost.h > @@ -116,4 +116,29 @@...
2019 Jul 03
4
[RFC v2] vhost: introduce mdev based hardware vhost backend
...s return a size of zero. + * Unimplemented IRQ types return a count of zero. + */ + +enum { + VFIO_VHOST_CONFIG_REGION_INDEX, + VFIO_VHOST_NOTIFY_REGION_INDEX, + VFIO_VHOST_NUM_REGIONS +}; + +enum { + VFIO_VHOST_VQ_IRQ_INDEX, + VFIO_VHOST_NUM_IRQS +}; + /** * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IORW(VFIO_TYPE, VFIO_BASE + 12, * struct vfio_pci_hot_reset_info) diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h index 40d028eed645..ad95b90c5c05 100644 --- a/include/uapi/linux/vhost.h +++ b/include/uapi/linux/vhost.h @@ -116,4 +116,29 @@ #define VHOST_VSOCK_SET_GUEST...
2019 Jul 03
4
[RFC v2] vhost: introduce mdev based hardware vhost backend
...s return a size of zero. + * Unimplemented IRQ types return a count of zero. + */ + +enum { + VFIO_VHOST_CONFIG_REGION_INDEX, + VFIO_VHOST_NOTIFY_REGION_INDEX, + VFIO_VHOST_NUM_REGIONS +}; + +enum { + VFIO_VHOST_VQ_IRQ_INDEX, + VFIO_VHOST_NUM_IRQS +}; + /** * VFIO_DEVICE_GET_PCI_HOT_RESET_INFO - _IORW(VFIO_TYPE, VFIO_BASE + 12, * struct vfio_pci_hot_reset_info) diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h index 40d028eed645..ad95b90c5c05 100644 --- a/include/uapi/linux/vhost.h +++ b/include/uapi/linux/vhost.h @@ -116,4 +116,29 @@ #define VHOST_VSOCK_SET_GUEST...