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)
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

Simple merge
Simple merge