OSDN Git Service

vfio-ccw: add handling for async channel instructions
authorCornelia Huck <cohuck@redhat.com>
Mon, 23 Jul 2018 14:03:27 +0000 (16:03 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 24 Apr 2019 12:18:51 +0000 (14:18 +0200)
commitd5afd5d135c8cc43bd2568361b4c91f0bd488c3f
tree89ed16e6dba457f7fe6f4aeb3aadff90535fb975
parentb0940857379eb930a4310625c4cd89254e4478b6
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>
drivers/s390/cio/Makefile
drivers/s390/cio/vfio_ccw_async.c [new file with mode: 0644]
drivers/s390/cio/vfio_ccw_drv.c
drivers/s390/cio/vfio_ccw_fsm.c
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/cio/vfio_ccw_private.h
include/uapi/linux/vfio.h
include/uapi/linux/vfio_ccw.h