On Mon, Oct 15, 2018 at 08:55:49PM +0000, Moger, Babu wrote:
> update_mba_bw : Feedback loop bandwidth update functionality is not
>                 needed for AMD.

Will you implement update_mba_bw() for AMD in future?

>               list_for_each_entry(crgrp, head, mon.crdtgrp_list)
>                       mbm_update(d, crgrp->mon.rmid);
>  
> -             if (is_mba_sc(NULL))
> -                     update_mba_bw(prgrp, d);
> +             if (is_mba_sc(NULL)) {
> +                     r_mba = &rdt_resources_all[RDT_RESOURCE_MBA];
> +                     if (r_mba->update_mba_bw)
> +                             r_mba->update_mba_bw(prgrp, d);
> +             }

Mount option "mba_MBps" is not implemented on AMD. Then don't
call set_mba_sc(true) in parse_rdtgroupfs_options().

Thus, you don't need to change this code here because is_mba_sc(NULL) is
false on AMD.

Thanks.

-Fenghua

Reply via email to