mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mostafa Saleh <smostafa@google.com>
To: "Jörg Rödel" <joro@8bytes.org>
Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
	will@kernel.org, robin.murphy@arm.com
Subject: Re: [PATCH 1/2] iommu: debug-pagealloc: Check map overflow in a phys_addr_t
Date: Tue, 1 Dec 2026 11:15:13 +0000	[thread overview]
Message-ID: <aw6sQWcQUKEithht@google.com> (raw)
In-Reply-To: <aw6oAp4Q1Ca7Ww4W@8bytes.org>

On Tue, Dec 01, 2026 at 11:57:45AM +0100, Jörg Rödel wrote:
> On Mon, Nov 30, 2026 at 04:46:27PM +0000, Mostafa Saleh wrote:
> >  void __iommu_debug_map(struct iommu_domain *domain, phys_addr_t phys, size_t size)
> >  {
> > -	size_t off, end;
> > +	size_t off;
> > +	phys_addr_t end;
> >  	size_t page_size = iommu_debug_page_size(domain);
> 
> The __iommu_debug_update_iova() function has the same bug.

Sorry I missed that, I will respin.

Thanks,
Mostafa

> 
> -Joerg

  reply	other threads:[~2026-12-01 11:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 16:46 [PATCH 0/2] iommu: debug-pagealloc: Small fixes for corner cases Mostafa Saleh
2026-11-30 16:46 ` [PATCH 1/2] iommu: debug-pagealloc: Check map overflow in a phys_addr_t Mostafa Saleh
2026-12-01 10:57   ` Jörg Rödel
2026-12-01 11:15     ` Mostafa Saleh [this message]
2026-12-01 12:22       ` Mostafa Saleh
2026-11-30 16:46 ` [PATCH 2/2] iommu: debug-pagealloc: Fix mappings starting at phys 0 Mostafa Saleh

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=aw6sQWcQUKEithht@google.com \
    --to=smostafa@google.com \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /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®