diff options
author | Eric Farman <farman@linux.ibm.com> | 2019-06-18 22:23:51 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-06-21 14:13:11 +0200 |
commit | 7f8e89a8f2fdb58461b01bb33ed8a5aa8119bf17 (patch) | |
tree | 71f1a034a700358c5e855f8b70ce69f4bfe6075e /tools/power | |
parent | vfio-ccw: Copy CCW data outside length calculation (diff) | |
download | linux-dev-7f8e89a8f2fdb58461b01bb33ed8a5aa8119bf17.tar.xz linux-dev-7f8e89a8f2fdb58461b01bb33ed8a5aa8119bf17.zip |
vfio-ccw: Factor out the ccw0-to-ccw1 transition
This is a really useful function, but it's buried in the
copy_ccw_from_iova() routine so that ccwchain_calc_length()
can just work with Format-1 CCWs while doing its counting.
But it means we're translating a full 2K of "CCWs" to Format-1,
when in reality there's probably far fewer in that space.
Let's factor it out, so maybe we can do something with it later.
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20190618202352.39702-5-farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions