summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-10-02 22:23:25 -0300
committerWill Deacon <will@kernel.org>2026-10-04 15:57:40 +0000
commitbc5c3475d63c6df518679902ea7c5396ac2a8692 (patch)
tree163498af470819a3febdf6c3a46d5dfac2dee672 /scripts/basic/split-include.c
parentfc62cd069cf7893e834fbedcd8c4c0a6a2109728 (diff)
downloadlinux-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