Thread (52 messages) 52 messages, 5 authors, 7d ago

Re: [PATCH v2 2/8] iommu/arm-smmu-v3: Move pgsize out of arm_smmu_inv

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2026-07-14 18:41:58
Also in: linux-iommu, linux-patches

On Sat, Jul 11, 2026 at 10:38:15AM -0700, Daniel Mentz wrote:
On Tue, Jul 7, 2026 at 11:08 AM Jason Gunthorpe [off-list ref] wrote:
quoted
On Tue, Jul 07, 2026 at 11:24:38AM +0000, Mostafa Saleh wrote:
quoted
The smmu_domain is only used for the tgsz_lg2, can’t we add that
directly instead? Decoupling the invalidation form the domain would
make it easier for KVM to re-use the code.
Sure, done
I downloaded a newer version from your jgunthorpe repository, and
found that arm_smmu_tlbi and arm_smmu_domain are using the data types
unsigned int and u8 for tgsz_lg2, respectively. Can we align on a
single data type?
Yeah I updated it to use u8 in the structs, but at least iommupt has
the general style to use unsigned int for lg2 type locals that I will
still follow there.

Thanks,
Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help