[PATCH v3 24/47] arm_mpam: resctrl: Add rmid index helpers

Jonathan Cameron jonathan.cameron at huawei.com
Tue Jan 13 06:55:40 PST 2026


On Mon, 12 Jan 2026 16:58:51 +0000
Ben Horgan <ben.horgan at arm.com> wrote:

> Because MPAM's pmg aren't identical to RDT's rmid, resctrl handles some
> data structures by index. This allows x86 to map indexes to RMID, and MPAM
> to map them to partid-and-pmg.
> 
> Add the helpers to do this.
> 
> Suggested-by: James Morse <james.morse at arm.com>
> Signed-off-by: Ben Horgan <ben.horgan at arm.com>
Much easier to read. Thanks!

Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>



More information about the linux-arm-kernel mailing list