s390/cio: Generalize the TIC handler
authorEric Farman <farman@linux.ibm.com>
Thu, 6 Jun 2019 20:28:25 +0000 (22:28 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 17 Jun 2019 11:29:10 +0000 (13:29 +0200)
commit363fe5f7aee0c2001af4cc4d7dd028cfa2eee64a
tree21baa54dd2bcf4786ecfccb2cdf7f37b4f4887bb
parente64bd68946bec40d9dfe6ea5d22733119908e6f3
s390/cio: Generalize the TIC handler

Refactor ccwchain_handle_tic() into a routine that handles a channel
program address (which itself is a CCW pointer), rather than a CCW pointer
that is only a TIC CCW.  This will make it easier to reuse this code for
other CCW commands.

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