From: sashiko-bot@kernel.org
To: "Oancea Catalin" <john3@mailbox.org>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH v2] perf/x86/amd/core: Handle overflows of counters stopped by a throttle
Date: Tue, 01 Dec 2026 16:41:24 +0000 [thread overview]
Message-ID: <sashiko-outbox-243723@kernel.org> (raw)
In-Reply-To: <20261201163432.44692-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:
> [ ... ]
> Code) was used in the analysis and in writing the reproducer and the
> patch.
>
> 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/20261201163432.44692-1-john3@mailbox.org?part=1
next prev parent reply other threads:[~2026-12-01 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 16:34 [PATCH v2] perf/x86/amd/core: Handle overflows of counters stopped by a throttle Oancea Catalin
2026-12-01 16:41 ` sashiko-bot [this message]
2026-12-02 1:52 ` Mi, Dapeng
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-243723@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 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.