[PATCH v6 33/40] arm64: mpam: Select ARCH_HAS_CPU_RESCTRL
Gavin Shan
gshan at redhat.com
Mon Mar 23 20:42:45 PDT 2026
On 3/14/26 12:46 AM, Ben Horgan wrote:
> From: James Morse <james.morse at arm.com>
>
> Enough MPAM support is present to enable ARCH_HAS_CPU_RESCTRL. Let it
> rip^Wlink!
>
> ARCH_HAS_CPU_RESCTRL indicates resctrl can be enabled. It is enabled by the
> arch code simply because it has 'arch' in its name.
>
> This removes ARM_CPU_RESCTRL as a mimic of X86_CPU_RESCTRL. While here,
> move the ACPI dependency to the driver's Kconfig file.
>
> Tested-by: Gavin Shan <gshan at redhat.com>
> Tested-by: Shaopeng Tan <tan.shaopeng at jp.fujitsu.com>
> Tested-by: Peter Newman <peternewman at google.com>
> Tested-by: Zeng Heng <zengheng4 at huawei.com>
> Tested-by: Punit Agrawal <punit.agrawal at oss.qualcomm.com>
> Reviewed-by: Zeng Heng <zengheng4 at huawei.com>
> Reviewed-by: Shaopeng Tan <tan.shaopeng at jp.fujitsu.com>
> Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
> Signed-off-by: James Morse <james.morse at arm.com>
> Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Ben Horgan <ben.horgan at arm.com>
> ---
> arch/arm64/Kconfig | 2 +-
> arch/arm64/include/asm/resctrl.h | 2 ++
> drivers/resctrl/Kconfig | 7 +++++++
> drivers/resctrl/Makefile | 2 +-
> 4 files changed, 11 insertions(+), 2 deletions(-)
> create mode 100644 arch/arm64/include/asm/resctrl.h
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-arm-kernel
mailing list