summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/vfio.h
diff options
context:
space:
mode:
authorCornelia Huck2018-07-23 16:03:27 +0200
committerCornelia Huck2019-04-24 14:18:51 +0200
commitd5afd5d135c8cc43bd2568361b4c91f0bd488c3f (patch)
tree89ed16e6dba457f7fe6f4aeb3aadff90535fb975 /include/uapi/linux/vfio.h
parents390/cio: export hsch to modules (diff)
downloadkernel-qcow2-linux-d5afd5d135c8cc43bd2568361b4c91f0bd488c3f.tar.gz
kernel-qcow2-linux-d5afd5d135c8cc43bd2568361b4c91f0bd488c3f.tar.xz
kernel-qcow2-linux-d5afd5d135c8cc43bd2568361b4c91f0bd488c3f.zip
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