mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Fuad Tabba <fuad.tabba@linux.dev>
Cc: Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
	Steven Price <steven.price@arm.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Will Deacon <will@kernel.org>, Fuad Tabba <tabba@google.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] irqchip/gic-v3-its: Fix the ITT pool's alignment, zeroing and growth
Date: Wed, 11 Nov 2026 09:09:34 +0000	[thread overview]
Message-ID: <86se1720q9.wl-maz@kernel.org> (raw)
In-Reply-To: <20261106092625.3977163-1-fuad.tabba@linux.dev>

On Fri, 06 Nov 2026 09:26:22 +0000,
Fuad Tabba <fuad.tabba@linux.dev> wrote:
> 
> Hi folks,
> 
> Three fixes to the ITT pool that took over sub-page ITTs from
> kzalloc_node(). It doesn't align them to 256 bytes, though MAPD now
> relies on it to. It doesn't zero the ITTs it reuses either, and it
> leaks pages when it fails to grow.
> 
> The first gives the pool a 256-byte granule. With its 1-byte granule,
> ITTs stay aligned only while every size is a multiple of 256, which
> holds for power-of-two ITE sizes but not for QEMU's 12-byte ones. On
> QEMU, two devices with 32 MSI-X vectors each are enough to put the
> second device's ITT at an address MAPD truncates into the first's.
> 
> The second zeroes an ITT reused from the pool, as MAPD requires. The
> third frees the page when gen_pool_add() fails.

How does it relate to the series you posted right after
(20261106120221.347309-1-fuad.tabba@linux.dev)? They both deal with
all sort of zeroing and allocation requirements. So why isn't this one
single consistent series?

The scatter-gun approach you keep using is really becoming
counter-productive. I really appreciate the effort you are putting in
fixing the code, but please realise that humans are reviewing this,
not an AI. So please make it at least easy to track and keep related
things together.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

  parent reply	other threads:[~2026-11-11  9:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-06  9:26 Fuad Tabba
2026-11-06  9:26 ` [PATCH 1/3] irqchip/gic-v3-its: Align sub-page ITTs to 256 bytes Fuad Tabba
2026-11-06  9:49   ` Suzuki K Poulose
2026-11-06  9:26 ` [PATCH 2/3] irqchip/gic-v3-its: Zero ITTs reused from the ITT pool Fuad Tabba
2026-11-06  9:56   ` Suzuki K Poulose
2026-11-06  9:26 ` [PATCH 3/3] irqchip/gic-v3-its: Free the page when gen_pool_add() fails Fuad Tabba
2026-11-06  9:59   ` Suzuki K Poulose
2026-11-11  9:09 ` Marc Zyngier [this message]
2026-11-11  9:23   ` [PATCH 0/3] irqchip/gic-v3-its: Fix the ITT pool's alignment, zeroing and growth Fuad Tabba

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=86se1720q9.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=fuad.tabba@linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=radu@rendec.net \
    --cc=steven.price@arm.com \
    --cc=suzuki.poulose@arm.com \
    --cc=tabba@google.com \
    --cc=tglx@kernel.org \
    --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®