Re: [Xen-devel] [PATCH v13 1/3] IOMMU/x86: use a struct pci_dev* instead of SBDF

2016-07-03 Thread Xu, Quan
On July 04, 2016 1:35 PM, Tian, Kevin wrote: > > From: Xu, Quan > > Sent: Wednesday, June 29, 2016 2:00 PM > > > > From: Quan Xu > > > > A struct pci_dev* instead of SBDF is stored inside struct pci_ats_dev > > and parameter to *_ats_device(). > > > > Also use ats_dev for "struct pci_ats_dev" var

Re: [Xen-devel] [PATCH v13 1/3] IOMMU/x86: use a struct pci_dev* instead of SBDF

2016-07-03 Thread Tian, Kevin
> From: Xu, Quan > Sent: Wednesday, June 29, 2016 2:00 PM > > From: Quan Xu > > A struct pci_dev* instead of SBDF is stored inside struct > pci_ats_dev and parameter to *_ats_device(). > > Also use ats_dev for "struct pci_ats_dev" variable, while > pdev (_pdev, if there is already a pdev) for "

[Xen-devel] [PATCH v13 1/3] IOMMU/x86: use a struct pci_dev* instead of SBDF

2016-06-28 Thread Xu, Quan
From: Quan Xu A struct pci_dev* instead of SBDF is stored inside struct pci_ats_dev and parameter to *_ats_device(). Also use ats_dev for "struct pci_ats_dev" variable, while pdev (_pdev, if there is already a pdev) for "struct pci_dev" in the scope of IOMMU. Signed-off-by: Quan Xu CC: Jan Be