diff options
| author | 2026-09-28 11:27:20 +0800 | |
|---|---|---|
| committer | 2026-09-28 10:17:42 +0200 | |
| commit | 83871c3ae10e3dce95408175df94ecfa0280e15f (patch) | |
| tree | eab5e2184cc0503e91f032d7fde844fb7b860b29 /scripts/Makefile.thinlto | |
| parent | iommu/vt-d: Use old domain parameter when attaching the blocking domain (diff) | |
iommu/vt-d: Fix iopf refcount leak in nested attach
intel_nested_attach_dev() takes an iopf reference for the new domain but
does not drop the possible reference from the old domain. This leaks
info->iopf_refcount, can keep the device permanently on the iopf queue,
and later triggers WARN_ON(info->iopf_refcount) when PRI is disabled.
Fix this by dropping the possible reference from the old domain after
the nested translation setup completes.
Fixes: 17fce9d2336d9 ("iommu/vt-d: Put iopf enablement in domain attach path")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
