aboutsummaryrefslogtreecommitdiff
path: root/linux-headers/linux/vfio_ccw.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-05-16 19:10:36 +0200
committerCornelia Huck <cohuck@redhat.com>2019-05-21 16:58:56 +0200
commitd9cb4336159a00bd0d9c81b93f02874ef3626057 (patch)
tree6dfe5b09d5793559c20bcfd0729560e33150ad9c /linux-headers/linux/vfio_ccw.h
parentb1b9e0dc78a8e98704c2ff255b3b18aed44e8d78 (diff)
linux headers: update against Linux 5.2-rc1
commit a188339ca5a396acc588e5851ed7e19f66b0ebd9 Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'linux-headers/linux/vfio_ccw.h')
-rw-r--r--linux-headers/linux/vfio_ccw.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-headers/linux/vfio_ccw.h b/linux-headers/linux/vfio_ccw.h
index 5bf96c3812..fcc3e69ef5 100644
--- a/linux-headers/linux/vfio_ccw.h
+++ b/linux-headers/linux/vfio_ccw.h
@@ -12,6 +12,7 @@
#include <linux/types.h>
+/* used for START SUBCHANNEL, always present */
struct ccw_io_region {
#define ORB_AREA_SIZE 12
__u8 orb_area[ORB_AREA_SIZE];
@@ -22,4 +23,15 @@ struct ccw_io_region {
__u32 ret_code;
} __attribute__((packed));
+/*
+ * used for processing commands that trigger asynchronous actions
+ * Note: this is controlled by a capability
+ */
+#define VFIO_CCW_ASYNC_CMD_HSCH (1 << 0)
+#define VFIO_CCW_ASYNC_CMD_CSCH (1 << 1)
+struct ccw_cmd_region {
+ __u32 command;
+ __u32 ret_code;
+} __attribute__((packed));
+
#endif