The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Jörg Rödel" <joro@8bytes.org>
To: Mostafa Saleh <smostafa@google.com>
Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
	will@kernel.org,  robin.murphy@arm.com
Subject: Re: [PATCH v2 2/2] iommu: debug-pagealloc: Fix mappings starting at phys 0
Date: Fri, 4 Dec 2026 08:34:26 +0100	[thread overview]
Message-ID: <axJstcW5CLPDqLqv@8bytes.org> (raw)
In-Reply-To: <axFLBbMsNf2VPiJ_@google.com>

Hi Mostafa,

On Thu, Dec 03, 2026 at 10:57:09AM +0000, Mostafa Saleh wrote:
> I can add the alignment check in __iommu_debug_update_iova() but that
> won't be related to this fix as this existed before the series, it can
> be a new hardening patch.

I prefer this approach as it keeps the check close to the code relying on it. I
will apply these two patches, so please submit this hardening patch on-top of
this series.

-Joerg

      reply	other threads:[~2026-12-04  7:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 11:20 [PATCH v2 0/2] iommu: debug-pagealloc: Small fixes for corner cases Mostafa Saleh
2026-12-02 11:20 ` [PATCH v2 1/2] iommu: debug-pagealloc: Fix overflow checks Mostafa Saleh
2026-12-02 11:20 ` [PATCH v2 2/2] iommu: debug-pagealloc: Fix mappings starting at phys 0 Mostafa Saleh
2026-12-03  7:48   ` Jörg Rödel
2026-12-03 10:57     ` Mostafa Saleh
2026-12-04  7:34       ` Jörg Rödel [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=axJstcW5CLPDqLqv@8bytes.org \
    --to=joro@8bytes.org \
    --cc=iommu@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=smostafa@google.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