[RFC PATCH 1/5] kselftests/resctrl: Detect the ARM architecture

Reinette Chatre reinette.chatre at intel.com
Tue Feb 17 09:49:15 PST 2026


Hi Shaopeng,

On 1/22/26 8:40 PM, Shaopeng Tan wrote:
> The resctrl test is not enabled for MPAM (ARM Memory System Resource
> Partitioning and Monitoring)
> Add processing to detect the ARM architecture.
> 
> Signed-off-by: Shaopeng Tan <tan.shaopeng at fujitsu.com>
> ---
>  tools/testing/selftests/resctrl/resctrl.h       | 1 +
>  tools/testing/selftests/resctrl/resctrl_tests.c | 7 +++++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/tools/testing/selftests/resctrl/resctrl.h b/tools/testing/selftests/resctrl/resctrl.h
> index 3c51bdac2dfa..492d2a1c4033 100644
> --- a/tools/testing/selftests/resctrl/resctrl.h
> +++ b/tools/testing/selftests/resctrl/resctrl.h
> @@ -38,6 +38,7 @@
>   */
>  #define ARCH_INTEL     1
>  #define ARCH_AMD       2
> +#define ARCH_ARM       3

Please see recent enhancement in this area:
4f4f01cc333e ("selftests/resctrl: Define CPU vendor IDs as bits to match usage")

Reinette



More information about the linux-arm-kernel mailing list