Thread (83 messages) 83 messages, 11 authors, 2025-11-19

RE: [PATCH v5 23/34] arm_mpam: Allow configuration to be applied and restored during cpu online

From: Shaopeng Tan (Fujitsu) <hidden>
Date: 2025-11-18 05:21:54
Also in: linux-acpi, lkml

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

When CPUs come online the MSC's original configuration should be restored.

Add struct mpam_config to hold the configuration. For each component, this
has a bitmap of features that have been changed from the reset values. The
mpam_config is also used on RIS reset where all bits are set to ensure all
features are reset.

Once the maximum partid is known, allocate a configuration array for each
component, and reprogram each RIS configuration from this.

CC: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Cc: Shaopeng Tan (Fujitsu) tan.shaopeng@fujitsu.com
Cc: Peter Newman peternewman@google.com
Reviewed-by: Gavin Shan <redacted>
Tested-by: Carl Worth <redacted>
Tested-by: Gavin Shan <redacted>
Tested-by: Zeng Heng <redacted>
Tested-by: Shaopeng Tan <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