Thread (147 messages) 147 messages, 9 authors, 2025-11-19

RE: [PATCH 22/33] arm_mpam: Use a static key to indicate when mpam is enabled

From: Shaopeng Tan (Fujitsu) <hidden>
Date: 2025-11-14 04:37:17
Also in: linux-acpi, lkml

From: James Morse <james.morse@arm.com>

Once all the MSC have been probed, the system wide usable number of
PARTID is known and the configuration arrays can be allocated.

After this point, checking all the MSC have been probed is pointless, and the
cpuhp callbacks should restore the configuration, instead of just resetting the
MSC.

Add a static key to enable this behaviour. This will also allow MPAM to be
disabled in response to an error, and the architecture code to enable/disable
the context switch of the MPAM system registers.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Tested-by: Shaopeng Tan <redacted>
Tested-by: Peter Newman <redacted>
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
---
Reviewed-by: Shaopeng Tan <redacted>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help