[RFC PATCH v10 13/14] ACPICA: actbl2.h: MPAM: adapt to MPAM ACPI v3.1 changes

Andre Przywara andre.przywara at arm.com
Fri Sep 11 04:28:34 PDT 2026


There is a pending update to the ACPI for MPAM platform design document
(Arm DEN0065: [1]), which re-purposes the "Reserved2" field in the MSC
node as holding an MPAM-Fb offset value, to allow several MPAM-Fb
firmware managers in a system, each using their own internal MSC ID
namespace. The "Identifier" field in the same table still holds an ID
which is unique per system, but within the MPAM-Fb protocol a private ID
is used. The difference between the two is held in this new field.

Change the name of the struct member from "reserved2" to
"mpam_fb_offset", to allow using that value in the code.

[1] https://support.arm.com/documentation/den0065/3-0/

Signed-off-by: Andre Przywara <andre.przywara at arm.com>
---
Hi,

I do understand that the header file update should go via the ACPICA
repo on github first, just wanted to present the full picture here on
the kernel side.

Thanks,
Andre

 drivers/acpi/arm64/mpam.c | 2 +-
 include/acpi/actbl2.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/arm64/mpam.c b/drivers/acpi/arm64/mpam.c
index 09c7af6bca69e..8c87b4a663439 100644
--- a/drivers/acpi/arm64/mpam.c
+++ b/drivers/acpi/arm64/mpam.c
@@ -338,7 +338,7 @@ static int __init acpi_mpam_parse(void)
 		 * to enable it safely, because we cannot determine safe
 		 * system-wide partid and pmg ranges in this situation.
 		 */
-		if (tbl_msc->reserved || tbl_msc->reserved1 || tbl_msc->reserved2) {
+		if (tbl_msc->reserved || tbl_msc->reserved1) {
 			pr_err_once("Unrecognised MSC, MPAM not usable\n");
 			pr_debug("MSC.%u: reserved field set\n", tbl_msc->identifier);
 			continue;
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index baef525367b5c..f74003878f9fd 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -1971,7 +1971,7 @@ struct acpi_mpam_msc_node {
 	u32 overflow_interrupt_affinity;
 	u32 error_interrupt;
 	u32 error_interrupt_flags;
-	u32 reserved2;
+	u32 mpam_fb_offset;
 	u32 error_interrupt_affinity;
 	u32 max_nrdy_usec;
 	u64 hardware_id_linked_device;
-- 
2.43.0




More information about the linux-arm-kernel mailing list