All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Improve ATS Support Check in IOMMU/VT-d
@ 2025-05-09 14:00 Wei Wang
  2025-05-09 14:00 ` [PATCH v1 1/3] iommu/vt-d: Eliminate pci_physfn() in dmar_find_matched_satc_unit() Wei Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Wei Wang @ 2025-05-09 14:00 UTC (permalink / raw)
  To: dwmw2, baolu.lu, kevin.tian, yi.l.liu, jroedel, linux-kernel,
	iommu
  Cc: Wei Wang

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-05-12  3:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 14:00 [PATCH v1 0/3] Improve ATS Support Check in IOMMU/VT-d Wei Wang
2025-05-09 14:00 ` [PATCH v1 1/3] iommu/vt-d: Eliminate pci_physfn() in dmar_find_matched_satc_unit() Wei Wang
2025-05-09  9:15   ` Yi Liu
2025-05-09 11:39     ` Wang, Wei W
2025-05-09 14:00 ` [PATCH v1 2/3] iommu/vt-d: Change dmar_ats_supported() to return boolean Wei Wang
2025-05-09  9:27   ` Yi Liu
2025-05-09 11:21     ` Wang, Wei W
2025-05-09 14:00 ` [PATCH v1 3/3] iommu/vt-d: Fix ATS support check for integrated endpoints Wei Wang
2025-05-09  9:32   ` Yi Liu
2025-05-09 11:12     ` Wang, Wei W
2025-05-12  2:43   ` Baolu Lu
2025-05-12  3:45     ` Wang, Wei W

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.