diff options
| author | Jason Gunthorpe <jgg@nvidia.com> | 2026-10-02 22:23:25 -0300 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-10-04 15:57:40 +0000 |
| commit | bc5c3475d63c6df518679902ea7c5396ac2a8692 (patch) | |
| tree | 163498af470819a3febdf6c3a46d5dfac2dee672 /scripts/basic/split-include.c | |
| parent | fc62cd069cf7893e834fbedcd8c4c0a6a2109728 (diff) | |
| download | linux-bc5c3475d63c6df518679902ea7c5396ac2a8692.tar.gz linux-bc5c3475d63c6df518679902ea7c5396ac2a8692.zip | |
iommu/arm-smmu-v3: Precompute the invalidation commands
Store the required cmd data in the tlbi and just copy it out when
processing each item in the invs list. The cmd form only depends on if the
instance supports range invalidation or not, otherwise it is always the
same.
This avoids redundant calculations for each invs entry.
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Pranjal Shrivastava <praan@google.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Tested-by: Pranjal Shrivastava <praan@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
