[PATCH v2 6/8] iommu/arm-smmu-v3: Populate the tlbi at the top of the call chain
Jason Gunthorpe
jgg at nvidia.com
Wed Jul 8 11:40:28 PDT 2026
On Tue, Jul 07, 2026 at 02:51:14PM -0700, Nicolin Chen wrote:
> > + if (!tlbi->single.use_full_inv)
> > + arm_smmu_tlbi_calc_single(tlbi);
>
> My comments might belong to an earlier patch:
>
> Could arm_smmu_tlbi_calc_single() be moved closer to the _range()?
>
> It only has a couple of small steps, so it shouldn't be too bad if
> running inside the rcu_read_lock?
It could but, it feels more appropriate to only put things in the lock
that need the lock..
Thanks,
Jason
More information about the linux-arm-kernel
mailing list