Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbcDWA14 (ORCPT ); Fri, 22 Apr 2016 20:27:56 -0400 Received: from mga14.intel.com ([192.55.52.115]:50334 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbcDWA1z (ORCPT ); Fri, 22 Apr 2016 20:27:55 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,519,1455004800"; d="scan'208";a="964660941" From: Vikas Shivappa To: tony.luck@intel.com, ravi.v.shankar@intel.com, fenghua.yu@intel.com, vikas.shivappa@intel.com, vikas.shivappa@linux.intel.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, peterz@infradead.org, h.peter.anvin@intel.com Subject: [PATCH V1 0/4] Urgent fixes for Intel CQM/MBM counting Date: Fri, 22 Apr 2016 17:27:17 -0700 Message-Id: <1461371241-4258-1-git-send-email-vikas.shivappa@linux.intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 15 Sending some urgent fixes for the MBM(memory b/w monitoring) which is upstreamed from 4.6-rc1. Patches apply on 4.6-rc1. CQM and MBM counters reported some incorrect counts for different scenarios like interval mode or for multiple perf instances. The 1/4,2/4,3/4 address these issues. The last patch changes the cqm driver to only support task events as support for cgroup event was broken - Just reporting a 'not-supported' error to perf instead of pretending to support and send incorrect counts. [PATCH 1/4] perf/x86/cqm,mbm: Store cqm,mbm count for all events when [PATCH 2/4] perf/x86/mbm: Store bytes counted for mbm during recycle [PATCH 3/4] perf/x86/mbm: Fix mbm counting when RMIDs are reused [PATCH 4/4] perf/x86/cqm: Support cqm/mbm only for perf events