Sending some urgent fixes for the MBM(memory b/w monitoring) which is upstreamed from 4.6-rc1. Patches apply on 4.6-rc6.
CQM and MBM counters reported some incorrect counts for different scenarios like interval mode or for multiple perf instances. A second attempt to send V2 as per Peter feedback: fixing a few indenting issues and adding some better changelogs/comments. Removed the patch to send error for some broken features - since these were broken anyways since 4.1. Removed the confusing rc_count and st_count and tried to implement close to the perf way. [PATCH 1/3] perf/x86/cqm,mbm: Store cqm,mbm count for all events when [PATCH 2/3] perf/x86/mbm: Fix mbm counting for RMID reuse [PATCH 3/3] perf/x86/mbm: Fix mbm counting during RMID recycling