From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org (Joerg Roedel) Date: Tue, 30 May 2017 12:28:31 +0200 Subject: [PATCH 6/7] iommu/arm-smmu-v3: Add support for PCI ATS In-Reply-To: <20170524180143.19855-7-jean-philippe.brucker@arm.com> References: <20170524180143.19855-1-jean-philippe.brucker@arm.com> <20170524180143.19855-7-jean-philippe.brucker@arm.com> Message-ID: <20170530102831.GJ2818@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, May 24, 2017 at 07:01:42PM +0100, Jean-Philippe Brucker wrote: > * TLB invalidation by range is batched and committed with a single sync. > Batching ATC invalidation is inconvenient, endpoints limit the number of > inflight invalidations. We'd have to count the number of invalidations > queued and send a sync periodically. In addition, I suspect we always > need a sync between TLB and ATC invalidation for the same page. This sounds like the number of outstanding ATS invalidations is not managed by the SMMU hardware, is that right? Joerg