From: Catalin Marinas <catalin.marinas@arm.com>
To: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Jinjie Ruan <ruanjinjie@huawei.com>,
Thomas Gleixner <tglx@linutronix.de>,
Marc Zyngier <maz@kernel.org>
Subject: Re: [PATCH] irqchip/gic-v5: Fix kmemleak L2 IST table entries false positives
Date: Tue, 9 Sep 2025 17:38:25 +0100 [thread overview]
Message-ID: <aMBYAbq_dlDB9HLH@arm.com> (raw)
In-Reply-To: <aL7Znv7XgqFPq2Jb@lpieralisi>
On Mon, Sep 08, 2025 at 03:26:54PM +0200, Lorenzo Pieralisi wrote:
> On Tue, Aug 26, 2025 at 08:34:27PM +0100, Catalin Marinas wrote:
> > On Mon, Aug 11, 2025 at 03:50:01PM +0200, Lorenzo Pieralisi wrote:
> > > diff --git a/drivers/irqchip/irq-gic-v5-irs.c b/drivers/irqchip/irq-gic-v5-irs.c
> > > index ad1435a858a4..e8a576f66366 100644
> > > --- a/drivers/irqchip/irq-gic-v5-irs.c
> > > +++ b/drivers/irqchip/irq-gic-v5-irs.c
> > > @@ -5,6 +5,7 @@
> > >
> > > #define pr_fmt(fmt) "GICv5 IRS: " fmt
> > >
> > > +#include <linux/kmemleak.h>
> > > #include <linux/log2.h>
> > > #include <linux/of.h>
> > > #include <linux/of_address.h>
> > > @@ -117,6 +118,7 @@ static int __init gicv5_irs_init_ist_linear(struct gicv5_irs_chip_data *irs_data
> > > kfree(ist);
> > > return ret;
> > > }
> > > + kmemleak_ignore(ist);
> >
> > Nit: if you ever respin, please add a short comment on why this is a
> > false positive (easier to see it in the code than the git logs).
>
> It was merged as-is (have been away for a couple of weeks) but I can send a
> patch adding the comments to clarify the code as a follow-up.
No need to. One can always do a git blame ;).
--
Catalin
prev parent reply other threads:[~2025-09-09 17:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 13:50 [PATCH] irqchip/gic-v5: Fix kmemleak L2 IST table entries false positives Lorenzo Pieralisi
2025-08-11 14:54 ` Marc Zyngier
2025-08-21 6:53 ` Zenghui Yu
2025-08-21 7:11 ` Jinjie Ruan
2025-08-24 10:22 ` [tip: irq/urgent] " tip-bot2 for Lorenzo Pieralisi
2025-08-26 19:34 ` [PATCH] " Catalin Marinas
2025-09-08 13:26 ` Lorenzo Pieralisi
2025-09-09 16:38 ` Catalin Marinas [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=aMBYAbq_dlDB9HLH@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=maz@kernel.org \
--cc=ruanjinjie@huawei.com \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.