.. kernel-doc:: drivers/iommu/generic_pt/pt_defs.h
:doc: Generic Page Table Language
------
Usage
------
+=====
Generic PT is structured as a multi-compilation system. Since each format
provides an API using a common set of names there can be only one format active
The implementation will further wrap struct pt_common in its own top-level
struct, such as struct pt_iommu_amdv1.
-----------------------------------------------
Format functions at the struct pt_common level
----------------------------------------------
:identifiers:
.. kernel-doc:: drivers/iommu/generic_pt/pt_common.h
------------------
Iteration Helpers
-----------------
.. kernel-doc:: drivers/iommu/generic_pt/pt_iter.h
-----------------
Writing a Format
----------------
clearer failures to speed up finding the problems. Once those pass then the
entire kunit suite should be run.
----------------------------
IOMMU Invalidation Features
---------------------------
to have changed items removed from the TLB.
PT_FEAT_FLUSH_RANGE
--------------------
+~~~~~~~~~~~~~~~~~~~
PT_FEAT_FLUSH_RANGE is the easiest scheme to understand. It tries to generate a
single range invalidation for each operation, over-invalidating if there are
from the walk cache. The range can start/end at any page boundary.
PT_FEAT_FLUSH_RANGE_NO_GAPS
----------------------------
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
PT_FEAT_FLUSH_RANGE_NO_GAPS is similar to PT_FEAT_FLUSH_RANGE; however, it tries
to minimize the amount of impacted VA by issuing extra flush operations. This is
help
iommu_domain implementation for the AMD v1 page table. AMDv1 is the
"host" page table. It supports granular page sizes of almost every
- power of 2 and decodes an full 64-bit IOVA space.
+ power of 2 and decodes the full 64-bit IOVA space.
Selected automatically by an IOMMU driver that uses this format.
/**
* iova_to_phys() - Return the output address for the given IOVA
- * @iommu_table: Table to query
+ * @domain: Table to query
* @iova: IO virtual address to query
*
* Determine the output address from the given IOVA. @iova may have any