Re: [PATCH v2 07/29] arm_mpam: Add probe/remove for mpam msc driver and kbuild boiler plate
From: James Morse <james.morse@arm.com>
Date: 2025-09-29 17:44:17
Also in:
linux-acpi, lkml
From: James Morse <james.morse@arm.com>
Date: 2025-09-29 17:44:17
Also in:
linux-acpi, lkml
Hi Ben, On 17/09/2025 12:03, Ben Horgan wrote:
On 9/10/25 21:42, James Morse wrote:quoted
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.
quoted
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) += -DDEBUGs/cflags/ccflags/
Fixed, thanks, James