]> asedeno.scripts.mit.edu Git - linux.git/commit
vfio-ccw: fence off transport mode
authorCornelia Huck <cohuck@redhat.com>
Thu, 22 Feb 2018 14:35:43 +0000 (15:35 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 1 Mar 2018 16:35:50 +0000 (17:35 +0100)
commit9851bc77e62499957567e7c39a5beba7d6de6296
tree97863d73226b6dc397ad2e7527b5d61e0f6ba889
parent69cfd92ea4289b16be6e77960f5d0ab2ddc540a7
vfio-ccw: fence off transport mode

vfio-ccw only supports command mode for channel programs, not transport
mode. User space is supposed to already take care of that and pass us
command-mode ORBs only, but better make sure and return an error to
the caller instead of trying to process tcws as ccws.

Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_fsm.c