diff options
| author | Matthew Rosato <[email protected]> | 2022-06-06 16:33:10 -0400 |
|---|---|---|
| committer | Christian Borntraeger <[email protected]> | 2022-07-11 09:54:15 +0200 |
| commit | 932b646727f9df312980d175e339248cdf7812f0 (patch) | |
| tree | 4c76c26e938597df4d219bc9f9f3c5e625c962c2 /tools/perf/scripts/python | |
| parent | d2197485a1883c60d044146b1ee69aac654c55e8 (diff) | |
s390/airq: allow for airq structure that uses an input vector
When doing device passthrough where interrupts are being forwarded from
host to guest, we wish to use a pinned section of guest memory as the
vector (the same memory used by the guest as the vector). To accomplish
this, add a new parameter for airq_iv_create which allows passing an
existing vector to be used instead of allocating a new one. The caller
is responsible for ensuring the vector is pinned in memory as well as for
unpinning the memory when the vector is no longer needed.
A subsequent patch will use this new parameter for zPCI interpretation.
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Pierre Morel <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Matthew Rosato <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions