diff options
author | Jean-Philippe Brucker <[email protected]> | 2020-05-20 17:22:03 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-27 14:35:41 +0200 |
commit | da656a042568ffbc30881c43a832277f275eea4a (patch) | |
tree | 71e61601cc1000350a6ed584bb5ab63168f85269 /scripts/gcc-plugins | |
parent | 0b2527a654190a987d45e2cc9e5c6946eea11fc5 (diff) |
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 <[email protected]>
Acked-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions