Re: [PATCH v5 5/5] selftests/resctrl: Enable MBM and MBA tests on AMD
From: Swapnil Sapkal
Date: Wed Nov 04 2026 - 23:17:14 EST
Hi Reinette,
On 29-10-2026 00:15, Reinette Chatre wrote:
Hi Swapnil,
On 10/22/26 6:25 AM, Swapnil Sapkal wrote:
...> diff --git a/tools/testing/selftests/resctrl/mbm_test.c b/tools/testing/selftests/resctrl/mbm_test.c
index e24c6237a22f..b2c5fd0ab8e3 100644
--- a/tools/testing/selftests/resctrl/mbm_test.c
+++ b/tools/testing/selftests/resctrl/mbm_test.c
@@ -178,7 +178,7 @@ static bool mbm_feature_check(const struct resctrl_test *test)
struct resctrl_test mbm_test = {
.name = "MBM",
.resource = "MB",
- .vendor_specific = ARCH_INTEL,
+ .vendor_specific = ARCH_INTEL | ARCH_AMD,
.feature_check = mbm_feature_check,
.run_test = mbm_run_test,
.cleanup = mbm_test_cleanup,
The issue reported by sahiko looks real to me:
https://sashiko.dev/#/patchset/20261022132517.46805-1-swapnil.sapkal%40amd.com
Yes, the reported issue is real. Currently, mba_test uses the unthrottled value of 100 for Intel, which does not hold true for AMD. AMD should likewise use the unthrottled value, and I'll update this accordingly in the next version.
Reinette--
Thanks and Regards,
Swapnil