mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Murphy <robin.murphy@arm.com>
To: Koichiro Den <den@valinux.co.jp>, "Joerg Roedel (AMD)" <joro@8bytes.org>
Cc: Will Deacon <will@kernel.org>,
	Magnus Damm <damm+renesas@opensource.se>,
	Jason Gunthorpe <jgg@ziepe.ca>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Marek Vasut <marek.vasut@mailbox.org>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	iommu@lists.linux.dev, linux-renesas-soc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/2] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled while in use
Date: Wed, 2 Dec 2026 14:00:49 +0000	[thread overview]
Message-ID: <6ffb6f55-c224-4c1f-941d-48b518a19c0b@arm.com> (raw)
In-Reply-To: <aw_TgBABUBI3r-GE@z790sl>

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@arm.com>

> 
> 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@valinux.co.jp/
>>
>>
>> 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
>>


      reply	other threads:[~2026-12-02 14:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05  2:49 Koichiro Den
2026-11-05  2:49 ` [PATCH v2 1/2] iommu/ipmmu-vmsa: Propagate errors from iommu_fwspec_add_ids() Koichiro Den
2026-11-05  2:49 ` [PATCH v2 2/2] iommu/ipmmu-vmsa: Keep shared micro-TLBs enabled while in use Koichiro Den
2026-12-02 13:24 ` [PATCH v2 0/2] " Koichiro Den
2026-12-02 14:00   ` Robin Murphy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ffb6f55-c224-4c1f-941d-48b518a19c0b@arm.com \
    --to=robin.murphy@arm.com \
    --cc=baolu.lu@linux.intel.com \
    --cc=damm+renesas@opensource.se \
    --cc=den@valinux.co.jp \
    --cc=geert+renesas@glider.be \
    --cc=iommu@lists.linux.dev \
    --cc=jgg@ziepe.ca \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=marek.vasut@mailbox.org \
    --cc=will@kernel.org \
    --cc=yoshihiro.shimoda.uh@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®