diff options
author | Claudio Imbrenda <[email protected]> | 2024-11-15 14:56:11 +0100 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2024-11-21 12:44:07 +0100 |
commit | 9c7260b527f0f7c75a9c0fee297663d1acc40937 (patch) | |
tree | ea44557cf3dd3f8d2908165d74a6574d2a3f777e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 588a9836a4ef7ec3bfcffda526dfa399637e6cfc (diff) |
s390/vfio-ap: Remove gmap_convert_to_secure() from vfio_ap_ops
If the page has been exported, do not re-import it. Imports should
only be triggered by the guest. The guest will import the page
automatically when it will need it again, there is no advantage in
importing it manually.
Moreover, vfio_pin_pages() will take an extra reference on the page and
thus will cause the import to always fail. The extra reference would be
dropped only after pointlessly trying to import the page.
Fixes: f88fb1335733 ("s390/vfio-ap: make sure nib is shared")
Signed-off-by: Claudio Imbrenda <[email protected]>
Reviewed-by: Halil Pasic <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions