PCI: Stop caching ATS Invalidate Queue Depth
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 20 Jul 2015 14:24:32 +0000 (09:24 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Aug 2015 20:59:58 +0000 (15:59 -0500)
commita71f938f3a9a7bc879296cd34ecae9effe5edf3f
tree87649fae821222f40fc9a15231623fc3dcdc25a9
parentff9bee895c4d11a519a6b2c49451376025a6af4e
PCI: Stop caching ATS Invalidate Queue Depth

Stop caching the Invalidate Queue Depth in struct pci_dev.
pci_ats_queue_depth() is typically called only once per device, and it
returns a fixed value per-device, so callers who need the value frequently
can cache it themselves.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
drivers/pci/ats.c
include/linux/pci.h