From: alison.schofield@intel.com
To: Davidlohr Bueso <dave@stgolabs.net>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Dave Jiang <dave.jiang@intel.com>,
Alison Schofield <alison.schofield@intel.com>,
Vishal Verma <vishal.l.verma@intel.com>,
Ira Weiny <ira.weiny@intel.com>,
Dan Williams <dan.j.williams@intel.com>
Cc: linux-cxl@vger.kernel.org, Steven Rostedt <rostedt@goodmis.org>,
Shiyang Ruan <ruansy.fnst@fujitsu.com>
Subject: [PATCH v6 0/4] Add DPA->HPA translation to dram & general_media events
Date: Tue, 30 Apr 2024 10:28:02 -0700 [thread overview]
Message-ID: <cover.1714496730.git.alison.schofield@intel.com> (raw)
From: Alison Schofield <alison.schofield@intel.com>
Changes in v6:
- No code changes
- Patch 1: Remove wrong comment about rasdaemon not being available (Jonathan)
- Patch 1: Add Fixes tag (Jonathan)
- Patch 3: Remove blank line in tag block (Jonathan)
- Patch 1,4: Add Reviewed-by tags (Jonathan, Ira)
- Link to v5: https://lore.kernel.org/cover.1714435815.git.alison.schofield@intel.com/
Begin Cover Letter:
Add HPA translations to CXL events: cxl_dram and cxl_general_media
Patch 1:
The DPA mask fix up patch must precede or be part of this set.
It fixes the issue where upper 32 bits of DPA are truncated.
Patches 2 & 3:
Before adding the new support, do some housekeeping and move related
helpers to the region driver because there is no looking up region
related info without CONFIG_CXL_REGION.
Patch 4:
The new functionality is introduced - cxl_dram & cxl_general_media
events. Lookup and log the DPA->HPA translation along with the
region name and region uuid.
Alison Schofield (4):
cxl/trace: Correct DPA field masks for general_media & dram events
cxl/region: Move cxl_dpa_to_region() work to the region driver
cxl/region: Move cxl_trace_hpa() work to the region driver
cxl/core: Add region info to cxl_general_media and cxl_dram events
drivers/cxl/core/core.h | 14 ++++
drivers/cxl/core/mbox.c | 36 ++++++++--
drivers/cxl/core/memdev.c | 44 -------------
drivers/cxl/core/region.c | 135 ++++++++++++++++++++++++++++++++++++++
drivers/cxl/core/trace.c | 91 -------------------------
drivers/cxl/core/trace.h | 50 ++++++++++----
include/linux/cxl-event.h | 10 +++
7 files changed, 226 insertions(+), 154 deletions(-)
base-commit: 4cece764965020c22cff7665b18a012006359095
--
2.37.3
next reply other threads:[~2024-04-30 17:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 17:28 alison.schofield [this message]
2024-04-30 17:28 ` [PATCH v6 1/4] cxl/trace: Correct DPA field masks for general_media & dram events alison.schofield
2024-04-30 17:28 ` [PATCH v6 2/4] cxl/region: Move cxl_dpa_to_region() work to the region driver alison.schofield
2024-04-30 17:28 ` [PATCH v6 3/4] cxl/region: Move cxl_trace_hpa() " alison.schofield
2024-04-30 17:28 ` [PATCH v6 4/4] cxl/core: Add region info to cxl_general_media and cxl_dram events alison.schofield
2024-05-03 18:05 ` Dan Williams
2024-05-03 18:08 ` Dan Williams
2024-05-08 16:54 ` Alison Schofield
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=cover.1714496730.git.alison.schofield@intel.com \
--to=alison.schofield@intel.com \
--cc=dan.j.williams@intel.com \
--cc=dave.jiang@intel.com \
--cc=dave@stgolabs.net \
--cc=ira.weiny@intel.com \
--cc=jonathan.cameron@huawei.com \
--cc=linux-cxl@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=ruansy.fnst@fujitsu.com \
--cc=vishal.l.verma@intel.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).