summaryrefslogtreecommitdiff
path: root/include/uapi/linux/vfio.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2018-07-23 17:03:27 +0300
committerCornelia Huck <cohuck@redhat.com>2019-04-24 15:18:51 +0300
commitd5afd5d135c8cc43bd2568361b4c91f0bd488c3f (patch)
tree89ed16e6dba457f7fe6f4aeb3aadff90535fb975 /include/uapi/linux/vfio.h
parentb0940857379eb930a4310625c4cd89254e4478b6 (diff)
downloadlinux-d5afd5d135c8cc43bd2568361b4c91f0bd488c3f.tar.xz
vfio-ccw: add handling for async channel instructions
Add a region to the vfio-ccw device that can be used to submit asynchronous I/O instructions. ssch continues to be handled by the existing I/O region; the new region handles hsch and csch. Interrupt status continues to be reported through the same channels as for ssch. Acked-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Farhan Ali <alifm@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/uapi/linux/vfio.h')
-rw-r--r--include/uapi/linux/vfio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index 56e2413d3e00..8f10748dac79 100644
--- a/include/uapi/linux/vfio.h
+++ b/include/uapi/linux/vfio.h
@@ -354,6 +354,8 @@ struct vfio_region_gfx_edid {
};
#define VFIO_REGION_TYPE_CCW (2)
+/* ccw sub-types */
+#define VFIO_REGION_SUBTYPE_CCW_ASYNC_CMD (1)
/*
* 10de vendor sub-type