From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v2 10/11] PCI: Stop caching ATS Invalidate Queue Depth Date: Mon, 27 Jul 2015 14:57:43 +0200 Message-ID: <20150727125743.GE27614@suse.de> References: <20150721001243.28145.81610.stgit@bhelgaas-glaptop2.roam.corp.google.com> <20150721001511.28145.29144.stgit@bhelgaas-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20150721001511.28145.29144.stgit@bhelgaas-glaptop2.roam.corp.google.com> Sender: linux-pci-owner@vger.kernel.org To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, David Woodhouse , iommu@lists.linux-foundation.org, Gregor Dick List-Id: iommu@lists.linux-foundation.org On Mon, Jul 20, 2015 at 07:15:11PM -0500, Bjorn Helgaas wrote: > 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 > --- > drivers/pci/ats.c | 9 ++++----- > include/linux/pci.h | 1 - > 2 files changed, 4 insertions(+), 6 deletions(-) Reviewed-by: Joerg Roedel