Hi Babu, On 10/9/24 10:39 AM, Babu Moger wrote: > The MBM counters are allocated globally and assigned to an RMID, event pair > in a resctrl group. It is tracked by mbm_cntr_free_map. Counters are > assigned to the domain based on the user input. It needs to be tracked > at domain level also. > > Add the mbm_cntr_map bitmap in struct rdt_mon_domain to keep track of > assignment at domain level. The global counter at mbm_cntr_free_map can > be released when assignment at all the domains are cleared. > > Signed-off-by: Babu Moger <babu.moger@xxxxxxx> > --- Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx> Reinette