+3
−0
Loading
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. Tested-by:Gavin Shan <gshan@redhat.com> Tested-by:
Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by:
Peter Newman <peternewman@google.com> Tested-by:
Zeng Heng <zengheng4@huawei.com> Tested-by:
Punit Agrawal <punit.agrawal@oss.qualcomm.com> Tested-by:
Jesse Chick <jessechick@os.amperecomputing.com> Reviewed-by:
Zeng Heng <zengheng4@huawei.com> Reviewed-by:
Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Reviewed-by:
Jonathan Cameron <jonathan.cameron@huawei.com> Reviewed-by:
Gavin Shan <gshan@redhat.com> Suggested-by:
James Morse <james.morse@arm.com> Signed-off-by:
Ben Horgan <ben.horgan@arm.com> Signed-off-by:
James Morse <james.morse@arm.com>