Linux Perf Users
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@stgolabs.net>
To: jic23@kernel.org, will@kernel.org, mark.rutland@arm.com
Cc: harshal.t@samsung.com, icheng@nvidia.com,
	linux-cxl@vger.kernel.org, linux-perf-users@vger.kernel.org,
	Davidlohr Bueso <dave@stgolabs.net>
Subject: [PATCH v3 0/3] perf/cxlpmu: Misc updates
Date: Sun, 12 Jul 2026 23:11:09 -0700	[thread overview]
Message-ID: <20260713061112.105419-1-dave@stgolabs.net> (raw)

Hello,

Changes from v2 (https://lore.kernel.org/all/20260630235002.253297-1-dave@stgolabs.net/):
 - Split the 64-bit HDM filter write fix into its own patch 1. (Richard).
 - Allow CRB filtering for the Queue Occupancy, Queue Residency and
   Retry event groups, not just DDR Interface in patch 3 (Richard).
 - Reject CRB filtering when counting multiple events (multiple
   mask bits set), undefined behavior in patch 3.
 - Reordered the series so the events patch comes first, providing
   the event group ID definitions the filter validation needs.
 - Add the RD/WR merged queue occupancy and power down events,
   and the Throttle Events group in patch 2.

Three patches for the CXL PMU driver.

Patch 1 is a standalone fix.

Patch 2 adds the CXL 4.0 events that hardware exposes but the
driver did not. It now precedes the filter work as the latter
refers to the new event group IDs.

Patch 3 implements Channel/Rank/Bank (CRB) filtering, now permitted
for all event groups that CXL 4.0 Table 13-5 allows Filter ID 1 on.

v2 was tested on real hardware. The v3 changes have additionally
been exercised under qemu CPMU emulation (jic23 tree) + changes for
the new events/Filter=1.

Thanks!

Davidlohr Bueso (1):
  perf/cxlpmu: Fix 64-bit write to 32-bit HDM filter register

Harshal Thakkar (2):
  perf/cxlpmu: Add missing CXL 4.0 events
  perf/cxlpmu: Support Channel/Rank/Bank filter

 drivers/perf/cxl_pmu.c | 115 +++++++++++++++++++++++++++++++++++++++--
 1 file changed, 112 insertions(+), 3 deletions(-)

-- 
2.39.5


             reply	other threads:[~2026-07-13  6:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-13  6:11 Davidlohr Bueso [this message]
2026-07-13  6:11 ` [PATCH v3 1/3] perf/cxlpmu: Fix 64-bit write to 32-bit HDM filter register Davidlohr Bueso
2026-07-14  6:40   ` Richard Cheng
2026-07-13  6:11 ` [PATCH v3 2/3] perf/cxlpmu: Add missing CXL 4.0 events Davidlohr Bueso
2026-07-13  6:11 ` [PATCH v3 3/3] perf/cxlpmu: Support Channel/Rank/Bank filter Davidlohr Bueso
2026-07-14  6:35   ` Richard Cheng
2026-07-15 16:53     ` Davidlohr Bueso

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=20260713061112.105419-1-dave@stgolabs.net \
    --to=dave@stgolabs.net \
    --cc=harshal.t@samsung.com \
    --cc=icheng@nvidia.com \
    --cc=jic23@kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --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