[PATCH v2 07/29] arm_mpam: Add probe/remove for mpam msc driver and kbuild boiler plate
Ben Horgan
ben.horgan at arm.com
Wed Sep 17 04:03:43 PDT 2025
Hi James,
On 9/10/25 21:42, James Morse wrote:
> Probing MPAM is convoluted. MSCs that are integrated with a CPU may
> only be accessible from those CPUs, and they may not be online.
> Touching the hardware early is pointless as MPAM can't be used until
> the system-wide common values for num_partid and num_pmg have been
> discovered.
>
> Start with driver probe/remove and mapping the MSC.
>
> CC: Carl Worth <carl at os.amperecomputing.com>
> Signed-off-by: James Morse <james.morse at arm.com>
> ---
> diff --git a/drivers/resctrl/Makefile b/drivers/resctrl/Makefile
> new file mode 100644
> index 000000000000..92b48fa20108
> --- /dev/null
> +++ b/drivers/resctrl/Makefile
> @@ -0,0 +1,4 @@
> +obj-$(CONFIG_ARM64_MPAM_DRIVER) += mpam.o
> +mpam-y += mpam_devices.o
> +
> +cflags-$(CONFIG_ARM64_MPAM_DRIVER_DEBUG) += -DDEBUG
s/cflags/ccflags/
Thanks,
Ben
More information about the linux-arm-kernel
mailing list