Linux Perf Users
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Leo Yan" <leo.yan@arm.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH] perf/arm-cmn: Terminate the discovered node array
Date: Fri, 04 Dec 2026 15:59:52 +0000	[thread overview]
Message-ID: <sashiko-outbox-250147@kernel.org> (raw)
In-Reply-To: <20261204-b4-arm_cmn_fix_node_sentinel-v1-1-021075ebdcd7@arm.com>

> Discovery writes a child's type into the next free entry before deciding
> whether to keep it. If the last type written belongs to a skipped child,
> the entry retains a nonzero type, so node walks can run past the end of
> the array.
> 
> Reset the type to CMN_TYPE_INVALID when discarding a child without
> supported PMU events. This restores the zero type that terminates the
> array.
> 
> Fixes: da5f7d2c8019 ("perf/arm-cmn: Streamline node iteration")
> Signed-off-by: Leo Yan <leo.yan@arm.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-b4-arm_cmn_fix_node_sentinel-v1-1-021075ebdcd7@arm.com?part=1

  reply	other threads:[~2026-12-04 15:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 15:47 [PATCH] perf/arm-cmn: Terminate the discovered node array Leo Yan
2026-12-04 15:59 ` sashiko-bot [this message]
2026-12-04 16:28 ` Robin Murphy
2026-12-04 16:46   ` Leo Yan

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=sashiko-outbox-250147@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=leo.yan@arm.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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