Re: [PATCH v3 1/5] arm64/smmu: Use TLBI ASID when invalidating entire range

2023-07-21 Thread Jason Gunthorpe
On Thu, Jul 20, 2023 at 06:39:23PM +1000, Alistair Popple wrote: > The ARM SMMU has a specific command for invalidating the TLB for an > entire ASID. Currently this is used for the IO_PGTABLE API but not for > ATS when called from the MMU notifier. > > The current implementation of notifiers does

[PATCH v3 1/5] arm64/smmu: Use TLBI ASID when invalidating entire range

2023-07-20 Thread Alistair Popple
The ARM SMMU has a specific command for invalidating the TLB for an entire ASID. Currently this is used for the IO_PGTABLE API but not for ATS when called from the MMU notifier. The current implementation of notifiers does not attempt to invalidate such a large address range, instead walking each