Commit 0e34f8e
committed
iommu/vt-d: Remove device comparison in context_setup_pass_through_cb
commit 64f7929
Author: Jerry Snitselaar <jsnitsel@redhat.com>
Date: Fri Feb 28 18:27:25 2025 +0800
iommu/vt-d: Remove device comparison in context_setup_pass_through_cb
Remove the device comparison check in context_setup_pass_through_cb.
pci_for_each_dma_alias already makes a decision on whether the
callback function should be called for a device. With the check
in place it will fail to create context entries for aliases as
it walks up to the root bus.
Fixes: 2031c46 ("iommu/vt-d: Add support for static identity domain")
Closes: https://lore.kernel.org/linux-iommu/82499eb6-00b7-4f83-879a-e97b4144f576@linux.intel.com/
Cc: stable@vger.kernel.org
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20250224180316.140123-1-jsnitsel@redhat.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
(cherry picked from commit 64f7929)
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
JIRA: https://issues.redhat.com/browse/RHEL-70102
Upstream-Status: git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git1 parent 5150d3a commit 0e34f8e
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4547 | 4547 | | |
4548 | 4548 | | |
4549 | 4549 | | |
4550 | | - | |
4551 | | - | |
4552 | | - | |
4553 | 4550 | | |
4554 | 4551 | | |
4555 | 4552 | | |
| |||
0 commit comments