s390/cio: Combine direct and indirect CCW paths
authorEric Farman <farman@linux.ibm.com>
Thu, 6 Jun 2019 20:28:31 +0000 (22:28 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 17 Jun 2019 11:31:41 +0000 (13:31 +0200)
commit01aa26c672c0eb771de4aaa2a8ccf6055778887b
treeab29fce85e27a9e22a28d84a1e31b47deeb41948
parente8573b39a81b9933bb8b3fffcc7533b27d82231d
s390/cio: Combine direct and indirect CCW paths

With both the direct-addressed and indirect-addressed CCW paths
simplified to this point, the amount of shared code between them is
(hopefully) more easily visible.  Move the processing of IDA-specific
bits into the direct-addressed path, and add some useful commentary of
what the individual pieces are doing.  This allows us to remove the
entire ccwchain_fetch_idal() routine and maintain a single function
for any non-TIC CCW.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190606202831.44135-10-farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/cio/vfio_ccw_cp.c