diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-05-20 17:22:03 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-27 14:35:41 +0200 |
commit | da656a042568ffbc30881c43a832277f275eea4a (patch) | |
tree | 71e61601cc1000350a6ed584bb5ab63168f85269 /drivers/misc/uacce/uacce.c | |
parent | iommu/arm-smmu-v3: Use pci_ats_supported() (diff) | |
download | linux-da656a042568ffbc30881c43a832277f275eea4a.tar.xz linux-da656a042568ffbc30881c43a832277f275eea4a.zip |
iommu/vt-d: Use pci_ats_supported()
The pci_ats_supported() helper checks if a device supports ATS and is
allowed to use it. By checking the ATS capability it also integrates the
pci_ats_disabled() check from pci_ats_init(). Simplify the vt-d checks.
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200520152201.3309416-5-jean-philippe@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/misc/uacce/uacce.c')
0 files changed, 0 insertions, 0 deletions