diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2026-05-08 11:53:02 -0300 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-05-19 10:45:38 +0200 |
| commit | 89792629d4b260104555f9719ac84c1afc9a2012 (patch) | |
| tree | 10931977863446d5fa10fd9ad5c4a24bb1d2a3a9 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | f0e4b7f5f87578cdd2d0f1e866183adc10d33b85 (diff) | |
iommupt: Add PT_FEAT_DETAILED_GATHER
Generating the ARM SMMUv3 and RISC-V invalidation commands optimally
requires some additional details from iommupt:
- leaf_levels_bitmap is used to compute the ARM Range Invalidation
Table Top Level hint
- leaf_levels_bitmap is also used to compute the stride when
generating single invalidations to invalidate once per leaf
- table_levels_bitmap also computes the ARM TTL for future cases when
there are no leaves
Put these under a feature since only two drivers need to calculate
them.
This is also useful for the coming kunit iotlb invalidation test to
know more about what invalidation is happening.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Pranjal Shrivastava <praan@google.com>
Tested-by: Andrew Jones <andrew.jones@oss.qualcomm.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
