Re: [PATCH v2 0/2] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled while in use

From: Koichiro Den

Date: Wed Dec 02 2026 - 09:42:58 EST


On Wed, Dec 02, 2026 at 02:00:49PM +0000, Robin Murphy wrote:
> On 02/12/2026 1:24 pm, Koichiro Den wrote:
> > On Thu, Nov 05, 2026 at 11:49:08AM +0900, Koichiro Den wrote:
> > > Hi,
> > >
> > > Removing one PCI function can disable the micro-TLB still used by other
> > > functions, causing their DMA to bypass the IOMMU. This series leaves
> > > shared micro-TLBs unchanged on device release and cleans them up when
> > > their domain's context is destroyed.
> > >
> > > v2 was retested in the same manner as v1 (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.)
> >
> > Hi Joerg, Robin,
> >
> > If it looks fine, could you please queue this on renesas/ipmmu for 7.5-rc1?
>
> Ah, indeed I had looked and thought "yeah, that looks pretty neat now", but
> it probably helps if I transmit that thought beyond the inside of my head...
>
> Reviewed-by: Robin Murphy <robin.murphy@xxxxxxx>

Thanks a lot for the quick response and review.
(I feel a bit awkward as it might look like I'm chasing people up, to be honest,
esp. in these hectic(?) days for maintainers, but I'm glad I did this time :)
thank you)

Best regards,
Koichiro

>
> >
> > Best regards,
> > Koichiro Den
> >
> > >
> > > Best regards,
> > > Koichiro Den
> > > ---
> > > v1->v2 changes:
> > > - Move micro-TLB cleanup from device release to context destruction,
> > > drop per-device reference counting. (Robin)
> > > - Drop v1 patch 2, as it is no longer needed.
> > >
> > > v1: https://lore.kernel.org/r/20261104162251.1749998-1-den@xxxxxxxxxxxxx/
> > >
> > >
> > > Koichiro Den (2):
> > > iommu/ipmmu-vmsa: Propagate errors from iommu_fwspec_add_ids()
> > > iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled while in use
> > >
> > > drivers/iommu/ipmmu-vmsa.c | 42 ++++++++++++++++----------------------
> > > 1 file changed, 18 insertions(+), 24 deletions(-)
> > >
> > >
> > > base-commit: 528280c12a26c9da2449c42c5ab4a5c4fe6dbb9c
> > > --
> > > 2.54.0
> > >
>