]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: ccw: handle ccw command request
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Fri, 17 Mar 2017 03:17:35 +0000 (04:17 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 31 Mar 2017 10:55:07 +0000 (12:55 +0200)
commit48ad637d3392224597e5f77419855e0f2310ebfe
treea7547d4f98ea5e31a7516806e32feeaaa41b14be
parenta575cdbe84c54bce5cf765fa2723da48411af93e
vfio: ccw: handle ccw command request

We implement the basic ccw command handling infrastructure
here:
1. Translate the ccw commands.
2. Issue the translated ccw commands to the device.
3. Once we get the execution result, update the guest SCSW
   with it.

Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170317031743.40128-9-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/s390/cio/vfio_ccw_drv.c
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/cio/vfio_ccw_private.h