Re: [PATCH v12 06/25] arm,x86,fs/resctrl: Replace architecture resctrl_arch_{alloc,mon}_capable()

From: Reinette Chatre

Date: Thu Sep 24 2026 - 11:31:43 EST


Hi Tony,

On 9/16/26 4:13 PM, Tony Luck wrote:
> All the information to determine whether a system is alloc, or mon,
> capable is available to the file system. Architecture helpers are not

nit: "is alloc, or mon, capable" -> "is capable of allocation or monitoring"?

> needed.
>
> Define generic resctrl_alloc_capable() and resctrl_mon_capable() and
> replace all architecture versions.
>
> Suggested-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---

Please note that the pending RISC-V enabling [1] is not compatible with this
change but there is a change planned that will let resctrl_alloc_capable()
introduced here work on RISC-V also. We need to coordinate these two
series.

| Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette

[1] https://lore.kernel.org/lkml/20260917-dfustini-atl-sc-cbqri-dt-v8-2-7964e8d73fe8@xxxxxxxxxx/