[PATCH 0/3] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled
From: Koichiro Den
Date: Wed Nov 04 2026 - 11:30:38 EST
Hi,
Removing one PCI function can disable the micro-TLB still used by other
functions, causing their DMA to bypass the IOMMU. This series keeps a
shared micro-TLB enabled until its last user is detached.
Tested with the Linux PCI endpoint framework exposing two functions to
an R-Car S4 Spider host, by removing an unused function that shares a
micro-TLB with the remaining function.
Best regards,
Koichiro
Koichiro Den (3):
iommu/ipmmu-vmsa: Propagate errors from iommu_fwspec_add_ids()
iommu/ipmmu-vmsa: Move device initialization to probe_device()
iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled while in use
drivers/iommu/ipmmu-vmsa.c | 162 +++++++++++++++++++++++--------------
1 file changed, 101 insertions(+), 61 deletions(-)
base-commit: 528280c12a26c9da2449c42c5ab4a5c4fe6dbb9c
--
2.54.0