Re: [PATCH v2 2/4] selftests/resctrl: Add helpers for the non-contiguous test

2024-01-17 Thread Maciej Wieczór-Retman
Hi! On 2024-01-08 at 14:36:36 -0800, Reinette Chatre wrote: >Hi Maciej, > >On 12/12/2023 6:52 AM, Maciej Wieczor-Retman wrote: >> The CAT non-contiguous selftests have to read the file responsible for >> reporting support of non-contiguous CBMs in Intel CAT. Then the test > >"in Intel CAT" -> "in

Re: [PATCH v2 2/4] selftests/resctrl: Add helpers for the non-contiguous test

2024-01-08 Thread Reinette Chatre
Hi Maciej, On 12/12/2023 6:52 AM, Maciej Wieczor-Retman wrote: > The CAT non-contiguous selftests have to read the file responsible for > reporting support of non-contiguous CBMs in Intel CAT. Then the test "in Intel CAT" -> "in kernel (resctrl)" > compares if that information matches what is re

[PATCH v2 2/4] selftests/resctrl: Add helpers for the non-contiguous test

2023-12-12 Thread Maciej Wieczor-Retman
The CAT non-contiguous selftests have to read the file responsible for reporting support of non-contiguous CBMs in Intel CAT. Then the test compares if that information matches what is reported by CPUID output. Add a generic helper function to read a chosen functionality support information. Sign