Re: [PATCH v4 41/41] arm64: mpam: Add initial MPAM documentation

Ben Horgan
2026-02-18T17:02:16Z

Hi Jonathan,

On 2/5/26 17:05, Jonathan Cameron wrote:
> On Tue, 3 Feb 2026 21:43:42 +0000
> Ben Horgan <ben.horgan@arm.com> wrote:
>
>> MPAM (Memory Partitioning and Monitoring) is now exposed to user-space via
>> resctrl. Add some documentation so the user knows what features to expect.
>>
>> Signed-off-by: James Morse <james.morse@arm.com>
>> Signed-off-by: Ben Horgan <ben.horgan@arm.com>
>> ---
>> Changes by Ben:
>> Some tidying, update for current heuristics
>> ---
>> Documentation/arch/arm64/index.rst | 1 +
>> Documentation/arch/arm64/mpam.rst | 93 ++++++++++++++++++++++++++++++
>> 2 files changed, 94 insertions(+)
>> create mode 100644 Documentation/arch/arm64/mpam.rst
>>
>> diff --git a/Documentation/arch/arm64/index.rst b/Documentation/arch/arm64/index.rst
>> index 6a012c98bdcd..189fa760dade 100644
>> --- a/Documentation/arch/arm64/index.rst
>> +++ b/Documentation/arch/arm64/index.rst
>> @@ -23,6 +23,7 @@ ARM64 Architecture
>> memory
>> memory-tagging-extension
>> mops
>> + mpam
>> perf
>> pointer-authentication
>> ptdump
>> diff --git a/Documentation/arch/arm64/mpam.rst b/Documentation/arch/arm64/mpam.rst
>> new file mode 100644
>> index 000000000000..0769bccff25e
>> --- /dev/null
>> +++ b/Documentation/arch/arm64/mpam.rst
>> @@ -0,0 +1,93 @@
>> +.. SPDX-License-Identifier: GPL-2.0
>> +
>> +====
>> +MPAM
>> +====
>> +
>> +What is MPAM
>> +============
>
>
>> + MPAM (Memory Partitioning and Monitoring) is a feature in the CPUs and memory
>
> I've not seen this style of indenting much in rst. I checked a few
> files in this directory and it's not used in the ones I randomly picked.
> + it's not what the kernel-documentation.rst file suggests is standard
> formatting.

I seem to have needlessly invented a new style. I've not removed lots of
white space. It should match the rest now.

>
> Other than that the content looks fine to me.
>
> Jonathan

Thanks,

Ben