RE: [PATCH 11/33] arm_mpam: Add the class and component structures for firmware described ris

Shaopeng Tan (Fujitsu)
2025-11-12T07:29:55Z

> From: James Morse <james.morse@arm.com>
>
> An MSC is a container of resources, each identified by their RIS index.
> Some RIS are described by firmware to provide their position in the system.
> Others are discovered when the driver probes the hardware.
>
> To configure a resource it needs to be found by its class, e.g. 'L2'.
> There are two kinds of grouping, a class is a set of components, which are
> visible to user-space as there are likely to be multiple instances of the L2 cache.
> (e.g. one per cluster or package)
>
> Add support for creating and destroying structures to allow a hierarchy of
> resources to be created.
>
> CC: Ben Horgan <ben.horgan@arm.com>
> Tested-by: Fenghua Yu <fenghuay@nvidia.com>
> Tested-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>
> Tested-by: Peter Newman <peternewman@google.com>
> Signed-off-by: James Morse <james.morse@arm.com>
> Signed-off-by: Ben Horgan <ben.horgan@arm.com>

Reviewed-by: Shaopeng Tan <tan.shaopeng@jp.fujitsu.com>