From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v2 03/11] PCI: Embed ATS info directly into struct pci_dev Date: Mon, 27 Jul 2015 14:45:34 +0200 Message-ID: <20150727124534.GC27614@suse.de> References: <20150721001243.28145.81610.stgit@bhelgaas-glaptop2.roam.corp.google.com> <20150721001413.28145.38246.stgit@bhelgaas-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150721001413.28145.38246.stgit-1RhO1Y9PlrlHTL0Zs8A6p/gx64E7kk8eUsxypvmhUTTZJqsBc5GL+g@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Bjorn Helgaas Cc: linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, David Woodhouse , Gregor Dick List-Id: iommu@lists.linux-foundation.org On Mon, Jul 20, 2015 at 07:14:13PM -0500, Bjorn Helgaas wrote: > The pci_ats struct is small and will get smaller, so I don't think it's > worth allocating it separately from the pci_dev struct. > > Embed the ATS fields directly into struct pci_dev. > > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/ats.c | 61 ++++++++++++++++------------------------------- > drivers/pci/remove.c | 1 - > include/linux/pci-ats.h | 10 +------- > include/linux/pci.h | 8 ++++-- > 4 files changed, 27 insertions(+), 53 deletions(-) Reviewed-by: Joerg Roedel