[RFC PATCH 2/5] kselftests/resctrl: enable noncont_cat for MPAM
Shaopeng Tan
tan.shaopeng at fujitsu.com
Thu Jan 22 20:40:28 PST 2026
Arm(MPAM driver) also supports non-contiguous CBM.
So enable noncont_cat for Arm.
Signed-off-by: Shaopeng Tan <tan.shaopeng at fujitsu.com>
---
tools/testing/selftests/resctrl/cat_test.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/resctrl/cat_test.c b/tools/testing/selftests/resctrl/cat_test.c
index 94cfdba5308d..e1b30ab4cef5 100644
--- a/tools/testing/selftests/resctrl/cat_test.c
+++ b/tools/testing/selftests/resctrl/cat_test.c
@@ -291,7 +291,8 @@ static int cat_run_test(const struct resctrl_test *test, const struct user_param
static bool arch_supports_noncont_cat(const struct resctrl_test *test)
{
/* AMD always supports non-contiguous CBM. */
- if (get_vendor() == ARCH_AMD)
+ /* ARM(MPAM driver) also supports non-contiguous CBM. */
+ if (get_vendor() == ARCH_AMD || get_vendor() == ARCH_ARM)
return true;
#if defined(__i386__) || defined(__x86_64__) /* arch */
--
2.47.3
More information about the linux-arm-kernel
mailing list