Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-07 Thread Moger, Babu
Hi Reinette, On 6/7/2024 4:47 PM, Reinette Chatre wrote: Hi Babu, On 6/7/24 11:16 AM, Moger, Babu wrote: On 6/6/2024 6:58 PM, Reinette Chatre wrote: On 6/6/24 4:09 PM, Moger, Babu wrote: @@ -301,15 +320,8 @@ static int noncont_cat_run_test(const struct resctrl_test *test, if (ret

Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-07 Thread Reinette Chatre
Hi Babu, On 6/7/24 11:16 AM, Moger, Babu wrote: On 6/6/2024 6:58 PM, Reinette Chatre wrote: On 6/6/24 4:09 PM, Moger, Babu wrote: @@ -301,15 +320,8 @@ static int noncont_cat_run_test(const struct resctrl_test *test, if (ret) return ret; -   if (!strcmp(test->r

Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-07 Thread Moger, Babu
Hi Reinette, On 6/6/2024 6:58 PM, Reinette Chatre wrote: Hi Babu, On 6/6/24 4:09 PM, Moger, Babu wrote: Hi Reinette, On 6/6/2024 3:33 PM, Reinette Chatre wrote: Hi Babu, On 6/5/24 2:36 PM, Babu Moger wrote: The selftest noncont_cat_run_test fails on AMD with the warnings. Reason is, AMD s

Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-07 Thread Ilpo Järvinen
On Wed, 5 Jun 2024, Babu Moger wrote: > The selftest noncont_cat_run_test fails on AMD with the warnings. Reason > is, AMD supports non contiguous CBM masks but does not report it via CPUID. > > Update noncont_cat_run_test to check for the vendor when verifying CPUID. > > Fixes: ae638551ab64 ("s

Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-06 Thread Reinette Chatre
Hi Babu, On 6/6/24 4:09 PM, Moger, Babu wrote: Hi Reinette, On 6/6/2024 3:33 PM, Reinette Chatre wrote: Hi Babu, On 6/5/24 2:36 PM, Babu Moger wrote: The selftest noncont_cat_run_test fails on AMD with the warnings. Reason is, AMD supports non contiguous CBM masks but does not report it via

Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-06 Thread Moger, Babu
Hi Reinette, On 6/6/2024 3:33 PM, Reinette Chatre wrote: Hi Babu, On 6/5/24 2:36 PM, Babu Moger wrote: The selftest noncont_cat_run_test fails on AMD with the warnings. Reason is, AMD supports non contiguous CBM masks but does not report it via CPUID. Update noncont_cat_run_test to check f

Re: [PATCH] selftests/resctrl: Fix noncont_cat_run_test for AMD

2024-06-06 Thread Reinette Chatre
Hi Babu, On 6/5/24 2:36 PM, Babu Moger wrote: The selftest noncont_cat_run_test fails on AMD with the warnings. Reason is, AMD supports non contiguous CBM masks but does not report it via CPUID. Update noncont_cat_run_test to check for the vendor when verifying CPUID. Fixes: ae638551ab64 ("sel