aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2022-10-21 20:53:51 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 14:34:09 +0100
commit61f3a16b9d5cd9361a317ee7870083c1bc171188 (patch)
tree3567a74d8bad0398e500dd280e43a74135032a84 /tools/perf/scripts/python
parentvfio/ccw: calculate number of IDAWs regardless of format (diff)
downloadlinux-61f3a16b9d5cd9361a317ee7870083c1bc171188.tar.gz
linux-61f3a16b9d5cd9361a317ee7870083c1bc171188.zip
vfio/ccw: allocate/populate the guest idal
Today, we allocate memory for a list of IDAWs, and if the CCW being processed contains an IDAL we read that data from the guest into that space. We then copy each IDAW into the pa_iova array, or fabricate that pa_iova array with a list of addresses based on a direct-addressed CCW. Combine the reading of the guest IDAL with the creation of a pseudo-IDAL for direct-addressed CCWs, so that both CCW types have a "guest" IDAL that can be populated straight into the pa_iova array. Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions