RE: [PATCH v3 20/29] arm_mpam: Allow configuration to be applied and restored during cpu online
From: Shaopeng Tan (Fujitsu)
Date: Wed Oct 29 2025 - 03:10:34 EST
> When CPUs come online the MSC's original configuration should be restored.
>
> Add struct mpam_config to hold the configuration. This has a bitmap of
> features that were modified. 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@xxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
> Reviewed-by: Ben Horgan <ben.horgan@xxxxxxx>
> Tested-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
Reviewed-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>