Re: [RFC patch 8/9] selftests/resctrl: Add support for HiSilicon MBM/MBA test

From: Reinette Chatre

Date: Mon Mar 23 2026 - 13:23:07 EST


Hi Yifan,

On 3/23/26 2:19 AM, wuyifan wrote:
> Hi Reinette,
>
> On 3/13/2026 5:01 AM, Reinette Chatre wrote:
>> Which baseline exposes MB_MON in resctrl?
>>
>> Reinette
> In the MPAM architecture reference manual, the memory-system component
> includes the cache and memory channel controller, among others. The memory
> channel controller can implement a memory bandwidth usage monitor.
> I noticed that arm_mpam maps other classes to l3 in the resctrl glue code,
> so I will fix this in the next version.

Were these tests written against a spec as opposed to the actual MPAM enabling
code? How could it have been tested?

Reinette