From: Reinette Chatre <reinette.chatre@intel.com>
To: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>,
Fenghua Yu <fenghua.yu@intel.com>, Shuah Khan <shuah@kernel.org>
Cc: <ilpo.jarvinen@linux.intel.com>, <linux-kernel@vger.kernel.org>,
<linux-kselftest@vger.kernel.org>
Subject: Re: [PATCH v2 1/4] selftests/resctrl: Add test groups and name L3 CAT test L3_CAT
Date: Mon, 8 Jan 2024 14:31:50 -0800 [thread overview]
Message-ID: <65e7aab3-ac50-442e-b559-00f2345c8a29@intel.com> (raw)
In-Reply-To: <de2ea86256f0026989e6836f9e731be3667c7afe.1702392177.git.maciej.wieczor-retman@intel.com>
Hi Maciej,
On 12/12/2023 6:52 AM, Maciej Wieczor-Retman wrote:
> From: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
>
> To select test to run -t parameter can be used. However, -t cat
> currently maps to L3 CAT test which is confusing after more CAT related
> tests are added.
>
> Allow selecting tests as groups and call L3 CAT test "L3_CAT", "CAT"
> group will enable all CAT related tests.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
> Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
> ---
> Changelog v2:
> - Move this patch from Ilpo's series here (Ilpo).
>
> tools/testing/selftests/resctrl/cat_test.c | 3 ++-
> tools/testing/selftests/resctrl/resctrl.h | 2 ++
> tools/testing/selftests/resctrl/resctrl_tests.c | 16 +++++++++++-----
> 3 files changed, 15 insertions(+), 6 deletions(-)
>
> diff --git a/tools/testing/selftests/resctrl/cat_test.c b/tools/testing/selftests/resctrl/cat_test.c
> index 24af8310288a..39fc9303b8e8 100644
> --- a/tools/testing/selftests/resctrl/cat_test.c
> +++ b/tools/testing/selftests/resctrl/cat_test.c
> @@ -295,7 +295,8 @@ static int cat_run_test(const struct resctrl_test *test, const struct user_param
> }
>
> struct resctrl_test l3_cat_test = {
> - .name = "CAT",
> + .name = "L3_CAT",
> + .group = "CAT",
> .resource = "L3",
> .feature_check = test_resource_feature_check,
> .run_test = cat_run_test,
> diff --git a/tools/testing/selftests/resctrl/resctrl.h b/tools/testing/selftests/resctrl/resctrl.h
> index c54efcf1412a..739e16d08a7b 100644
> --- a/tools/testing/selftests/resctrl/resctrl.h
> +++ b/tools/testing/selftests/resctrl/resctrl.h
> @@ -65,6 +65,7 @@ struct user_params {
> /*
> * resctrl_test: resctrl test definition
> * @name: Test name
> + * @group: Test group (e.g., L2 and L3 CAT test belong to CAT group), can be NULL
Could you please remove references to L2 CAT test that is not available yet? A
detailed description of what a test group is will be helpful.
Reinette
next prev parent reply other threads:[~2024-01-08 22:32 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 14:52 [PATCH v2 0/4] selftests/resctrl: Add non-contiguous CBMs in Intel CAT selftest Maciej Wieczor-Retman
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 [this message]
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=65e7aab3-ac50-442e-b559-00f2345c8a29@intel.com \
--to=reinette.chatre@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=maciej.wieczor-retman@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