From: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
To: shuah@kernel.org, fenghua.yu@intel.com, reinette.chatre@intel.com
Cc: ilpo.jarvinen@linux.intel.com, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org
Subject: [PATCH v2 0/4] selftests/resctrl: Add non-contiguous CBMs in Intel CAT selftest
Date: Tue, 12 Dec 2023 15:52:08 +0100 [thread overview]
Message-ID: <cover.1702392177.git.maciej.wieczor-retman@intel.com> (raw)
Non-contiguous CBM support for Intel CAT has been merged into the kernel
with Commit 0e3cd31f6e90 ("x86/resctrl: Enable non-contiguous CBMs in
Intel CAT") but there is no selftest that would validate if this feature
works correctly.
The selftest needs to verify if writing non-contiguous CBMs to the
schemata file behaves as expected in comparison to the information about
non-contiguous CBMs support.
The patch series is based on a rework of resctrl selftests that's currently in
review [1]. The patch also implements a similiar functionality presented
in the bash script included in the cover letter of the original
non-contiguous CBMs in Intel CAT series [2].
Changelog v2:
- Rebase onto v3 of [1] series.
- Add two patches that prepare helpers for the new test.
- Move Ilpo's patch that adds test grouping to this series.
- Apply Ilpo's suggestion to the patch that adds a new test.
[1] https://lore.kernel.org/all/20231211121826.14392-1-ilpo.jarvinen@linux.intel.com/
[2] https://lore.kernel.org/all/cover.1696934091.git.maciej.wieczor-retman@intel.com/
Ilpo Järvinen (1):
selftests/resctrl: Add test groups and name L3 CAT test L3_CAT
Maciej Wieczor-Retman (3):
selftests/resctrl: Add helpers for the non-contiguous test
selftests/resctrl: Split validate_resctrl_feature_request()
selftests/resctrl: Add non-contiguous CBMs CAT test
tools/testing/selftests/resctrl/cat_test.c | 80 ++++++++++++++++-
tools/testing/selftests/resctrl/cmt_test.c | 4 +-
tools/testing/selftests/resctrl/mba_test.c | 5 +-
tools/testing/selftests/resctrl/mbm_test.c | 6 +-
tools/testing/selftests/resctrl/resctrl.h | 12 ++-
.../testing/selftests/resctrl/resctrl_tests.c | 18 ++--
tools/testing/selftests/resctrl/resctrlfs.c | 86 ++++++++++++++++---
7 files changed, 185 insertions(+), 26 deletions(-)
--
2.43.0
next reply other threads:[~2023-12-12 14:52 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 14:52 Maciej Wieczor-Retman [this message]
2023-12-12 14:52 ` [PATCH v2 1/4] selftests/resctrl: Add test groups and name L3 CAT test L3_CAT Maciej Wieczor-Retman
2024-01-08 22:31 ` Reinette Chatre
2024-01-17 10:09 ` Maciej Wieczór-Retman
2023-12-12 14:52 ` [PATCH v2 2/4] selftests/resctrl: Add helpers for the non-contiguous test Maciej Wieczor-Retman
2024-01-08 22:36 ` Reinette Chatre
2024-01-17 9:59 ` Maciej Wieczór-Retman
2023-12-12 14:52 ` [PATCH v2 3/4] selftests/resctrl: Split validate_resctrl_feature_request() Maciej Wieczor-Retman
2024-01-08 22:38 ` Reinette Chatre
2024-01-17 9:49 ` Maciej Wieczór-Retman
2024-01-17 18:48 ` Reinette Chatre
2023-12-12 14:52 ` [PATCH v2 4/4] selftests/resctrl: Add non-contiguous CBMs CAT test Maciej Wieczor-Retman
2024-01-08 22:42 ` Reinette Chatre
2024-01-09 9:13 ` Ilpo Järvinen
2024-01-09 17:17 ` Reinette Chatre
2024-01-17 8:26 ` Maciej Wieczór-Retman
2024-01-17 18:49 ` Reinette Chatre
2024-01-18 12:02 ` Maciej Wieczór-Retman
2024-01-18 17:15 ` Reinette Chatre
2024-01-19 7:37 ` Maciej Wieczór-Retman
2024-01-19 16:39 ` Reinette Chatre
2024-01-22 7:56 ` Maciej Wieczór-Retman
2024-01-22 16:32 ` Reinette Chatre
2024-01-23 7:58 ` Maciej Wieczór-Retman
2024-01-23 17:42 ` Reinette Chatre
2024-01-25 7:12 ` Maciej Wieczór-Retman
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.1702392177.git.maciej.wieczor-retman@intel.com \
--to=maciej.wieczor-retman@intel.com \
--cc=fenghua.yu@intel.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=reinette.chatre@intel.com \
--cc=shuah@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