[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250509140021.4029303-1-wei.w.wang@intel.com>
Date: Fri, 9 May 2025 22:00:18 +0800
From: Wei Wang <wei.w.wang@...el.com>
To: dwmw2@...radead.org,
baolu.lu@...ux.intel.com,
kevin.tian@...el.com,
yi.l.liu@...el.com,
jroedel@...e.de,
linux-kernel@...r.kernel.org,
iommu@...ts.linux.dev
Cc: Wei Wang <wei.w.wang@...el.com>
Subject: [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(-)
--
2.43.0
Powered by blists - more mailing lists