diff options
author | Jean-Philippe Brucker <jean-philippe@linaro.org> | 2020-05-20 18:22:03 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-27 15:35:41 +0300 |
commit | da656a042568ffbc30881c43a832277f275eea4a (patch) | |
tree | 71e61601cc1000350a6ed584bb5ab63168f85269 /drivers/misc/uacce | |
parent | 0b2527a654190a987d45e2cc9e5c6946eea11fc5 (diff) | |
download | linux-da656a042568ffbc30881c43a832277f275eea4a.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions