Re: [PATCH v5 0/2] selftests/resctrl: Fix resctrl selftests issues on aarch64
From: Reinette Chatre
Date: Mon Oct 12 2026 - 18:11:15 EST
+Ben
Hi Everybody,
Could the Arm/MPAM folks please consider this series?
Thank you very much.
Reinette
On 10/12/26 12:47 AM, Richard Cheng wrote:
> This series fixes issues in the resctrl selftests on aarch64,
> where they currently misreport failures.
>
> Patch 1 adds aarch64 implementations of cl_flush() and sb() in
> fill_buf.c so cache flushes are no longer silent no-ops.
>
> Patch 2 teaches detect_vendor() about aarch64 (which exposes no
> vendor_id in /proc/cpuinfo) and lets arch_supports_noncont_cat()
> return true for ARM, fixing spurious L3_NONCONT_CAT failures.
>
> Changes since v4:
> - Drop v4 patch 1/3, which was applied to linux-kselftest/next.
> - Rebase the remaining patches onto linux-kselftest/next and
> renumber v4 patches 2/3 and 3/3 as patches 1/2 and 2/2.
> No code changes to the remaining patches.
>
> Richard Cheng (2):
> selftests/resctrl: Implement cl_flush() and sb() for aarch64
> selftests/resctrl: Recognise aarch64 as a vendor for L3_NONCONT_CAT
>
> tools/testing/selftests/resctrl/cat_test.c | 9 ++++++--
> tools/testing/selftests/resctrl/fill_buf.c | 11 ++++++++++
> tools/testing/selftests/resctrl/resctrl.h | 1 +
> .../testing/selftests/resctrl/resctrl_tests.c | 21 +++++++++++++++++++
> 4 files changed, 40 insertions(+), 2 deletions(-)
>
>
> base-commit: 30af56a227e27b892d34bc44c23298b5274913e3