Thread (2 messages) 2 messages, 2 authors, 2017-05-30

[PATCH 6/7] iommu/arm-smmu-v3: Add support for PCI ATS

From: Jean-Philippe Brucker <hidden>
Date: 2017-05-30 10:58:41
Also in: linux-acpi, linux-devicetree, linux-iommu, linux-pci

On 30/05/17 11:28, Joerg Roedel wrote:
On Wed, May 24, 2017 at 07:01:42PM +0100, Jean-Philippe Brucker wrote:
quoted
* 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?
Yes, the hardware doesn't know about ATS queue depth, it simply forwards
invalidations to the root complex. Doing a sync on the SMMU command queue
waits for all completions of outstanding ATS invalidations, but it is up
to the driver to limit ATS invalidations according to queue depth.

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