Skip to content

Improve ATS Support Check in IOMMU/VT-d

Wei Wang linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu/vt-d: Eliminate pci_physfn() in dmar_find_matched_satc_unit()drivers/iommu/intel/iommu.c+0 -12 replies
2/3iommu/vt-d: Change dmar_ats_supported() to return booleandrivers/iommu/intel/iommu.c+7 -62 replies
3/3iommu/vt-d: Fix ATS support check for integrated endpointsdrivers/iommu/intel/iommu.c+29 -134 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchYi Liu
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] Improve ATS Support Check in IOMMU/VT-d

This patchset makes a few cleanups and fixes related to the check of ATS support in iommu/vt-d. The first patch removes a duplicate call to pci_physfn() in dmar_find_matched_satc_unit(). The second patch changes dmar_ats_supported() to return boolean, aligning with the convention used by other *_supported() functions. The third one addresses a corner case where an integrated device, not recommended by the SATC structure, could be incorrectly reported as "supported=true" by dmar_ats_supported().

Wei Wang (3):
iommu/vt-d: Eliminate pci_physfn() in dmar_find_matched_satc_unit() iommu/vt-d: Change dmar_ats_supported() to return boolean iommu/vt-d: Fix ATS support check for integrated endpoints

 drivers/iommu/intel/iommu.c | 54 ++++++++++++++++++++++++-------------
 1 file changed, 35 insertions(+), 19 deletions(-)
Signature · 1 line
2.43.0