Re: [EXT] Re: [RFC 00/12] ARM: MPAM: add support for priority partitioning control

From: Reinette Chatre
Date: Thu Jan 11 2024 - 17:01:36 EST




On 1/11/2024 1:40 PM, Tony Luck wrote:
> On Thu, Jan 11, 2024 at 12:56:34PM -0800, Peter Newman wrote:
>> Hi Amit,
>>
>> On Thu, Aug 24, 2023 at 1:52 AM Amit Singh Tomar <amitsinght@xxxxxxxxxxx> wrote:
>>
>>> 2) Second approach that we discussed internally is to have schemata for CPOR, and PPART separated by new line as mentioned/suggested by Peter, But it may require to tweak
>>> the ARM MPAM device driver a bit. It was kind of toss-up between 2nd and 3nd approach :), and we went with the 3rd one.
>>>
>>> L3:0=XXXX
>>> L3:0=PPART=X
>
> I'm not sure having multiple lines for the same resource makes anything
> clearer. I preferred one of the earlier proposals like this one:
>
> L3:0=XXXX,PPART=X,CCAP=X;1=YYYY,CCAP=Y

This assumes that all tools (public and private) that currently parse the schemata
file will be able to handle this additional information seamlessly.

Reinette