+220
−11
Loading
Add the boilerplate that tells resctrl about the mpam monitors that are available. resctrl expects all (non-telemetry) monitors to be on the L3 and so advertise them there and invent an L3 resctrl resource if required. The L3 cache itself has to exist as the cache ids are used as the domain ids. Bring the resctrl monitor domains online and offline based on the cpus they contain. Support for specific monitor types is left to later. Tested-by:Punit Agrawal <punit.agrawal@oss.qualcomm.com> Reviewed-by:
Zeng Heng <zengheng4@huawei.com> Reviewed-by:
Jonathan Cameron <jonathan.cameron@huawei.com> Signed-off-by:
Ben Horgan <ben.horgan@arm.com> Reviewed-by:
Gavin Shan <gshan@redhat.com> Tested-by:
Gavin Shan <gshan@redhat.com> Tested-by:
Shaopeng Tan <tan.shaopeng@jp.fujitsu.com> Tested-by:
Jesse Chick <jessechick@os.amperecomputing.com> Signed-off-by:
James Morse <james.morse@arm.com>