[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<OSZPR01MB879875DEF61C8C410A0448EC8BD6A@OSZPR01MB8798.jpnprd01.prod.outlook.com>
Date: Tue, 18 Nov 2025 05:21:46 +0000
From: "Shaopeng Tan (Fujitsu)" <tan.shaopeng@...itsu.com>
To: 'Ben Horgan' <ben.horgan@....com>, "james.morse@....com"
<james.morse@....com>
CC: "amitsinght@...vell.com" <amitsinght@...vell.com>,
"baisheng.gao@...soc.com" <baisheng.gao@...soc.com>,
"baolin.wang@...ux.alibaba.com" <baolin.wang@...ux.alibaba.com>,
"bobo.shaobowang@...wei.com" <bobo.shaobowang@...wei.com>,
"carl@...amperecomputing.com" <carl@...amperecomputing.com>,
"catalin.marinas@....com" <catalin.marinas@....com>, "dakr@...nel.org"
<dakr@...nel.org>, "dave.martin@....com" <dave.martin@....com>,
"david@...hat.com" <david@...hat.com>, "dfustini@...libre.com"
<dfustini@...libre.com>, "fenghuay@...dia.com" <fenghuay@...dia.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>, "gshan@...hat.com"
<gshan@...hat.com>, "guohanjun@...wei.com" <guohanjun@...wei.com>,
"jeremy.linton@....com" <jeremy.linton@....com>,
"jonathan.cameron@...wei.com" <jonathan.cameron@...wei.com>,
"kobak@...dia.com" <kobak@...dia.com>, "lcherian@...vell.com"
<lcherian@...vell.com>, "lenb@...nel.org" <lenb@...nel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "lpieralisi@...nel.org"
<lpieralisi@...nel.org>, "peternewman@...gle.com" <peternewman@...gle.com>,
"quic_jiles@...cinc.com" <quic_jiles@...cinc.com>, "rafael@...nel.org"
<rafael@...nel.org>, "robh@...nel.org" <robh@...nel.org>,
"rohit.mathew@....com" <rohit.mathew@....com>, "scott@...amperecomputing.com"
<scott@...amperecomputing.com>, "sdonthineni@...dia.com"
<sdonthineni@...dia.com>, "sudeep.holla@....com" <sudeep.holla@....com>,
"will@...nel.org" <will@...nel.org>, "xhao@...ux.alibaba.com"
<xhao@...ux.alibaba.com>, Dave Martin <Dave.Martin@....com>, Zeng Heng
<zengheng4@...wei.com>
Subject: RE: [PATCH v5 23/34] arm_mpam: Allow configuration to be applied and
restored during cpu online
> From: James Morse <james.morse@....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@....com>
> Signed-off-by: James Morse <james.morse@....com>
> Cc: Shaopeng Tan (Fujitsu) tan.shaopeng@...itsu.com
> Cc: Peter Newman peternewman@...gle.com
> Reviewed-by: Gavin Shan <gshan@...hat.com>
> Tested-by: Carl Worth <carl@...amperecomputing.com>
> Tested-by: Gavin Shan <gshan@...hat.com>
> Tested-by: Zeng Heng <zengheng4@...wei.com>
> Tested-by: Shaopeng Tan <tan.shaopeng@...fujitsu.com>
> Signed-off-by: Ben Horgan <ben.horgan@....com>
> ---
Reviewed-by: Shaopeng Tan <tan.shaopeng@...fujitsu.com>
Powered by blists - more mailing lists