mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled
@ 2026-11-04 16:22 Koichiro Den
  2026-11-04 16:22 ` [PATCH 1/3] iommu/ipmmu-vmsa: Propagate errors from iommu_fwspec_add_ids() Koichiro Den
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Koichiro Den @ 2026-11-04 16:22 UTC (permalink / raw)
  To: Joerg Roedel (AMD),
	Will Deacon, Robin Murphy, Magnus Damm, Jason Gunthorpe,
	Lu Baolu
  Cc: Geert Uytterhoeven, Marek Vasut, iommu, linux-renesas-soc, linux-kernel

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


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

end of thread, other threads:[~2026-11-05  2:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 16:22 [PATCH 0/3] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled Koichiro Den
2026-11-04 16:22 ` [PATCH 1/3] iommu/ipmmu-vmsa: Propagate errors from iommu_fwspec_add_ids() Koichiro Den
2026-11-04 16:22 ` [PATCH 2/3] iommu/ipmmu-vmsa: Move device initialization to probe_device() Koichiro Den
2026-11-04 16:22 ` [PATCH 3/3] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled while in use Koichiro Den
2026-11-04 17:42   ` Robin Murphy
2026-11-05  2:34     ` Koichiro Den

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®