diff options
author | Isaac J. Manjarres <isaacm@codeaurora.org> | 2021-06-16 06:38:43 -0700 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-07-26 12:37:07 +0200 |
commit | cacffb7f7b45ba7649eedea4c196c6e9f1863bf3 (patch) | |
tree | 63e97e905a210aeb4dacfcd79b301c99ce4785ef /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 374c15594c4ee0dfcceb38852bd43be09070f402 (diff) |
iommu: Add an unmap_pages() op for IOMMU drivers
Add a callback for IOMMU drivers to provide a path for the
IOMMU framework to call into an IOMMU driver, which can call
into the io-pgtable code, to unmap a virtually contiguous
range of pages of the same size.
For IOMMU drivers that do not specify an unmap_pages() callback,
the existing logic of unmapping memory one page block at a time
will be used.
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
Link: https://lore.kernel.org/r/1623850736-389584-3-git-send-email-quic_c_gdjako@quicinc.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions