From: Babu Moger <[email protected]>

For now, disable MBA and MBM tests for AMD. Deciding test pass/fail
is not clear right now. We can enable when we have some clarity.

Signed-off-by: Babu Moger <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
---
 tools/testing/selftests/resctrl/resctrl_tests.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/resctrl/resctrl_tests.c 
b/tools/testing/selftests/resctrl/resctrl_tests.c
index 3b7d3736daa6..8e0522463961 100644
--- a/tools/testing/selftests/resctrl/resctrl_tests.c
+++ b/tools/testing/selftests/resctrl/resctrl_tests.c
@@ -197,7 +197,7 @@ int main(int argc, char **argv)
        sprintf(bw_report, "reads");
        sprintf(bm_type, "fill_buf");
 
-       if (mbm_test) {
+       if (genuine_intel && mbm_test) {
                printf("\nMBM BW Change Starting..\n");
                if (!has_ben)
                        sprintf(benchmark_cmd[5], "%s", "mbm");
@@ -207,7 +207,7 @@ int main(int argc, char **argv)
                mbm_test_cleanup();
        }
 
-       if (mba_test) {
+       if (genuine_intel && mba_test) {
                printf("\nMBA Schemata Change Starting..\n");
                if (!has_ben)
                        sprintf(benchmark_cmd[5], "%s", "mba");
-- 
2.7.4

Reply via email to