From: sashiko-bot@kernel.org
To: "Oancea Catalin" <john3@mailbox.org>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH] perf/x86/amd/core: Handle overflows of counters stopped by a throttle
Date: Tue, 24 Nov 2026 21:22:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-232039@kernel.org> (raw)
In-Reply-To: <20261124211146.61378-1-john3@mailbox.org>
> amd_pmu_v2_handle_irq() reads PerfCntrGlobalStatus once, handles the
> overflows of the counters which are set in cpuc->active_mask and warns
> about every status bit which is left over:
>
> New overflows for inactive PMCs: 2
> WARNING: arch/x86/events/amd/core.c:1031 at amd_pmu_v2_handle_irq+0x86e/0x9a0
> Call Trace:
> perf_event_nmi_handler
> nmi_handle
> default_do_nmi
> exc_nmi
>
> Throttling stops the whole event group, so perf_event_overflow() can
> stop counters which the loop has not reached yet. When both events of a
> group overflow in the same NMI and the first one is throttled:
> [ ... ]
> this patch were produced with an AI coding assistant (Claude Code,
> model Claude Mythos 5.2).
>
> Fixes: 9734e25fbf5a ("perf: Fix the throttle logic for a group")
> Signed-off-by: Oancea Catalin <john3@mailbox.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124211146.61378-1-john3@mailbox.org?part=1
prev parent reply other threads:[~2026-11-24 21:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 21:11 [PATCH] perf/x86/amd/core: Handle overflows of counters stopped by a throttle Oancea Catalin
2026-11-24 21:22 ` sashiko-bot [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=sashiko-outbox-232039@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=john3@mailbox.org \
--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