Re: [PATCH] iommu/arm-smmu-v3: Add a configurable tlbi_range_max_n_shift for TLBI

From: Jason Gunthorpe
Date: Wed Aug 16 2023 - 13:35:37 EST


On Wed, Aug 16, 2023 at 10:09:20AM -0700, Nicolin Chen wrote:
> > This seems convoluted for a uapi, you should just make it
> > 'invalidate_threshold' in bytes or something simpler.
>
> Hmm. That'd be a direct 64-bit size configuration, and very likely
> to be at upper 32-bit range, so I feel the value would be very big
> that might be hard to read.

hard to read is fine, it is sysfs

Jason