s390x/css: ccw translation infrastructure
commitbab482d7405f9fe3cac9c213d60f9ca9442c047b
authorXiao Feng Ren <renxiaof@linux.vnet.ibm.com>
Wed, 17 May 2017 00:48:11 +0000 (17 02:48 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 19 May 2017 10:29:01 +0000 (19 12:29 +0200)
tree7dc7df9f07152940bbfb2ee1034a982f44b66682
parent8ca2b376b47fff58f7ab6f16d86a66d4af3a2be2
s390x/css: ccw translation infrastructure

Implement a basic infrastructure of handling channel I/O instruction
interception for passed through subchannels:
1. Branch the code path of instruction interception handling by
   SubChannel type.
2. For a passed-through subchannel, issue the ORB to kernel to do ccw
   translation and perform an I/O operation.
3. Assign different condition code based on the I/O result, or
   trigger a program check.

Signed-off-by: Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170517004813.58227-12-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/css.c
hw/s390x/s390-ccw.c
hw/s390x/virtio-ccw.c
include/hw/s390x/css.h
target/s390x/ioinst.c