All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jiang <dave.jiang@intel.com>
To: linux-cxl@vger.kernel.org
Cc: dave@stgolabs.net, jonathan.cameron@huawei.com,
	alison.schofield@intel.com, vishal.l.verma@intel.com,
	ira.weiny@intel.com, dan.j.williams@intel.com
Subject: [PATCH v2 0/3] cxl/test: Add unit testing for extended linear cache
Date: Mon, 17 Nov 2025 07:46:08 -0700	[thread overview]
Message-ID: <20251117144611.903692-1-dave.jiang@intel.com> (raw)

v2:
- Use a global variable 'mock_auto_region_size' instead of a static define.
  Expectation is LMH will change that value for its testing.

The series adds support for mocking of extended linear cache support
in cxl_test. A module parameter is introduced to activate the mocking.
Tests will be added to CXL CLI user tools for regression testing.

This series depends on the patch [1] that provides the extended linear
cache size via sysfs.

[1]: https://lore.kernel.org/linux-cxl/20251022203052.4078527-1-dave.jiang@intel.com/

Dave Jiang (3):
  cxl/test: Standardize CXL auto region size
  cxl/test: Add cxl_test CFMWS support for extended linear cache
  cxl/test: Add support for acpi extended linear cache

 tools/testing/cxl/Kbuild      |  1 +
 tools/testing/cxl/test/cxl.c  | 56 ++++++++++++++++++++++++++++++++---
 tools/testing/cxl/test/mock.c | 20 +++++++++++++
 tools/testing/cxl/test/mock.h |  3 ++
 4 files changed, 76 insertions(+), 4 deletions(-)


base-commit: e9a6fb0bcdd7609be6969112f3fbfcce3b1d4a7c
-- 
2.51.1


             reply	other threads:[~2025-11-17 14:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17 14:46 Dave Jiang [this message]
2025-11-17 14:46 ` [PATCH v2 1/3] cxl/test: Standardize CXL auto region size Dave Jiang
2025-11-17 15:32   ` Fabio M. De Francesco
2025-11-17 14:46 ` [PATCH v2 2/3] cxl/test: Add cxl_test CFMWS support for extended linear cache Dave Jiang
2025-11-17 15:34   ` Fabio M. De Francesco
2025-11-17 14:46 ` [PATCH v2 3/3] cxl/test: Add support for acpi " Dave Jiang
2025-11-17 15:35   ` Fabio M. De Francesco
2025-11-17 18:13 ` [PATCH v2 0/3] cxl/test: Add unit testing for " Dave Jiang

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=20251117144611.903692-1-dave.jiang@intel.com \
    --to=dave.jiang@intel.com \
    --cc=alison.schofield@intel.com \
    --cc=dan.j.williams@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.