Bjorn Helgaas fb0cc3aa55 iommu/vt-d: Cache PCI ATS state and Invalidate Queue Depth
We check the ATS state (enabled/disabled) and fetch the PCI ATS Invalidate
Queue Depth in performance-sensitive paths.  It's easy to cache these,
which removes dependencies on PCI.

Remember the ATS enabled state.  When enabling, read the queue depth once
and cache it in the device_domain_info struct.  This is similar to what
amd_iommu.c does.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
Acked-by: Joerg Roedel <jroedel@suse.de>
2015-07-20 11:49:46 -05:00
..
2015-06-23 18:27:19 -07:00
2015-06-23 18:27:19 -07:00
2015-06-23 18:27:19 -07:00
2015-07-01 14:44:22 -07:00
2015-06-23 18:27:19 -07:00
2015-02-03 18:47:18 +01:00
2015-02-03 18:47:18 +01:00