diff options
| author | Eric Farman <farman@linux.ibm.com> | 2022-10-21 21:53:51 +0300 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2023-01-09 16:34:09 +0300 |
| commit | 61f3a16b9d5cd9361a317ee7870083c1bc171188 (patch) | |
| tree | 3567a74d8bad0398e500dd280e43a74135032a84 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 6a6dc14ac84733cf5864a7cf9f5b3e43f6a79be8 (diff) | |
| download | linux-61f3a16b9d5cd9361a317ee7870083c1bc171188.tar.xz | |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
