diff options
author | Cornelia Huck <cohuck@redhat.com> | 2019-05-16 19:10:36 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-05-21 16:58:56 +0200 |
commit | d9cb4336159a00bd0d9c81b93f02874ef3626057 (patch) | |
tree | 6dfe5b09d5793559c20bcfd0729560e33150ad9c /linux-headers/linux/vfio_ccw.h | |
parent | b1b9e0dc78a8e98704c2ff255b3b18aed44e8d78 (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.h | 12 |
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 |