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
Subject: [PATCH 0/4] Add DPA->HPA translation to dram & general_media
Date: Wed, 27 Mar 2024 21:36:29 -0700 [thread overview]
Message-ID: <cover.1711598777.git.alison.schofield@intel.com> (raw)
From: Alison Schofield <alison.schofield@intel.com>
Add HPA translations to CXL events: cxl_dram and cxl_general_media
Patches 1 & 2:
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 3:
The new functionality is introduced - cxl_dram & cxl_general_media
events will lookup and log the DPA->HPA translation along with the
region name and region uuid.
Patch 4:
Apply the new lookup helpers to the existing cxl_poison event, so it
can be the same, share in the new goodness, and also tidy up its
implementation.
An update to the cxl_event unit test is posted separately.
Alison Schofield (4):
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
cxl/core: Remove cxlr dependency from cxl_poison trace events
drivers/cxl/core/core.h | 20 +++++
drivers/cxl/core/mbox.c | 22 ++++--
drivers/cxl/core/memdev.c | 52 +------------
drivers/cxl/core/region.c | 151 +++++++++++++++++++++++++++++++++++++-
drivers/cxl/core/trace.c | 91 -----------------------
drivers/cxl/core/trace.h | 76 +++++++++++++------
drivers/cxl/cxlmem.h | 3 +-
7 files changed, 239 insertions(+), 176 deletions(-)
base-commit: 4cece764965020c22cff7665b18a012006359095
--
2.37.3
next reply other threads:[~2024-03-28 4:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 4:36 alison.schofield [this message]
2024-03-28 4:36 ` [PATCH 1/4] cxl/region: Move cxl_dpa_to_region() work to the region driver alison.schofield
2024-04-03 17:24 ` Jonathan Cameron
2024-04-04 15:08 ` Alison Schofield
2024-04-16 15:59 ` Ira Weiny
2024-03-28 4:36 ` [PATCH 2/4] cxl/region: Move cxl_trace_hpa() " alison.schofield
2024-04-03 17:27 ` Jonathan Cameron
2024-04-16 16:05 ` Ira Weiny
2024-03-28 4:36 ` [PATCH 3/4] cxl/core: Add region info to cxl_general_media and cxl_dram events alison.schofield
2024-03-28 15:33 ` kernel test robot
2024-04-03 20:16 ` Jonathan Cameron
2024-04-04 15:31 ` Alison Schofield
2024-04-16 17:01 ` Ira Weiny
2024-04-17 0:39 ` Alison Schofield
2024-03-28 4:36 ` [PATCH 4/4] cxl/core: Remove cxlr dependency from cxl_poison trace events alison.schofield
2024-04-03 20:19 ` Jonathan Cameron
2024-04-16 18:14 ` Ira Weiny
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.1711598777.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=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 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.