Re: [PATCH v2 3/4] iommu/arm-smmu-v3: Use pci_ats_supported()

2020-05-21 Thread Will Deacon
On Wed, May 20, 2020 at 05:22:02PM +0200, Jean-Philippe Brucker wrote: > The new pci_ats_supported() function checks if a device supports ATS and > is allowed to use it. > > Signed-off-by: Jean-Philippe Brucker > --- > drivers/iommu/arm-smmu-v3.c | 20 +++- > 1 file changed, 7 in

[PATCH v2 3/4] iommu/arm-smmu-v3: Use pci_ats_supported()

2020-05-20 Thread Jean-Philippe Brucker
The new pci_ats_supported() function checks if a device supports ATS and is allowed to use it. Signed-off-by: Jean-Philippe Brucker --- drivers/iommu/arm-smmu-v3.c | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iomm